aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/organisations/templates/organisations/organisation_detail.html15
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>