diff options
author | MR Lemon <matt@matthewlemon> | 2020-04-26 19:38:57 +0100 |
---|---|---|
committer | MR Lemon <matt@matthewlemon> | 2020-04-26 19:38:57 +0100 |
commit | af8752d2b5fd975053fcb61ef4a7fddf7a7d11ba (patch) | |
tree | df547721b24dbb5ba8af405103a4a323ae09eee0 /ctrack/organisations | |
parent | 0ab4b0dd8cc4932e79f4e12046e400b3313077a1 (diff) |
made system info on detail pages consistent
Diffstat (limited to 'ctrack/organisations')
-rw-r--r-- | ctrack/organisations/templates/organisations/organisation_detail.html | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/ctrack/organisations/templates/organisations/organisation_detail.html b/ctrack/organisations/templates/organisations/organisation_detail.html index 4d16c29..daec5a9 100644 --- a/ctrack/organisations/templates/organisations/organisation_detail.html +++ b/ctrack/organisations/templates/organisations/organisation_detail.html @@ -69,21 +69,19 @@ <div class="col-md-12 my-2"> <div class="card bg-light"> <div class="card-body"> - <div class="card-title">NIS Systems</div> - <div class="card-text"> - <div class="table-responsive"> + <div class="card-title">NIS Systems <a + href="{% url "caf:as_create_from_caf" object.pk %}" class="btn btn-primary btn-sm float-right">Add + new...</a></div> + <div class="table table-responsive"> <table class="table"> {% if applicable_systems|length > 0 %} {% for ass in applicable_systems %} <tr> - <td><strong>{{ ass.name }}</strong></td> + <td><a href="{% url "caf:ass_detail" ass.id %}">{{ ass.name }}</a></td> <td>{{ ass.description }}<br> <a href="{% url "caf:detail" ass.caf.pk %}" class="small"> {{ ass.caf }} - </a> <span class="text-muted">|</span> <a href="{% url "caf:ass_detail" ass.pk %}" - class="small">System - Detail</a> - <span class="text-muted">|</span> <a href="#" class="small">Edit System</a> + </a> <span class="text-muted"> | <a href="#" class="small">Edit System</a></span> </td> </tr> {% endfor %} @@ -93,7 +91,6 @@ {% endif %} </table> </div> - </div> </div> </div> </div> |