diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-01 10:49:04 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-01 10:50:52 +0100 |
commit | c3fd7a10d270d408b7661501c3c3023d602f7054 (patch) | |
tree | 298ef78be6a816890b982f54c87b8463b153e400 | |
parent | 9b9643aa058f92b696e4c6a87a2247699b7099b3 (diff) |
CAFs are listed on applicable system page
Diffstat (limited to '')
-rw-r--r-- | ctrack/caf/templates/caf/applicablesystem_detail.html | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/ctrack/caf/templates/caf/applicablesystem_detail.html b/ctrack/caf/templates/caf/applicablesystem_detail.html index 719488e..44257cd 100644 --- a/ctrack/caf/templates/caf/applicablesystem_detail.html +++ b/ctrack/caf/templates/caf/applicablesystem_detail.html @@ -13,9 +13,12 @@ </div> <div class="row"> <h5>{{ object.caf.organisation }}</h5> + <div class="col-12 pl-0 my-2 bg-light"> + <h2>{{ object.get_organisation }}</h2> + </div> </div> <div class="row"> - <h5>Function</h5> + <h5>Function/Description</h5> </div> <div class="row"> <p>{{ object.function }}</p> @@ -32,17 +35,22 @@ </div> <div class="row"> <div class="col-sm-12 pl-0 my-2"> - <p>Described in CAFs:</p> + <p>Relevant CAF[s]</p> <table class="table table-sm"> <thead> <tr> <th>CAF</th> - <th>Status</th> + <th>Comments</th> </tr> </thead> <tbody> - <tr> - </tr> + {% for caf in object.get_cafs %} + <tr> + <td><a href="{% url "caf:detail" caf.pk %}">{{ caf.version }}</a></td> + <td>{{ caf.comments }}</td> + </tr> + {% endfor %} + </tbody> </table> </div> |