diff options
Diffstat (limited to '')
-rw-r--r-- | ctrack/caf/templates/caf/applicablesystem_detail.html | 19 | ||||
-rw-r--r-- | ctrack/caf/templates/caf/applicablesystem_list.html | 2 |
2 files changed, 20 insertions, 1 deletions
diff --git a/ctrack/caf/templates/caf/applicablesystem_detail.html b/ctrack/caf/templates/caf/applicablesystem_detail.html new file mode 100644 index 0000000..725435e --- /dev/null +++ b/ctrack/caf/templates/caf/applicablesystem_detail.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} + +{% load static %} + +{% block title %}{{ object.name }}{% endblock %} +{% block content %} + + <div class="container"> + <div class="row"> + <div class="col-sm-12"> + <h3>{{ object.name }}</h3> + <h5>Description</h5> + <p>{{ object.description }}</p> + <p>Contained within CAF: to <a href="{% url "caf:detail" object.caf.pk %}">{{ object.caf }}</a></p> + </div> + </div> + </div> + +{% endblock %} diff --git a/ctrack/caf/templates/caf/applicablesystem_list.html b/ctrack/caf/templates/caf/applicablesystem_list.html index c9b07d0..804edab 100644 --- a/ctrack/caf/templates/caf/applicablesystem_list.html +++ b/ctrack/caf/templates/caf/applicablesystem_list.html @@ -27,7 +27,7 @@ {% for sys in object_list %} <tr> <td><a href="{% url "organisations:detail" slug=sys.organisation.slug %}">{{ sys.organisation.name }}</a></td> - <td>{{ sys.name }}</td> + <td><a href="{% url "caf:ass_detail" sys.pk %}">{{ sys.name }}</a></td> <td><a href="{% url "caf:detail" pk=sys.caf.id %}">{{ sys.caf }}</a></td> <td>{{ sys.organisation.submode.descriptor }}</td> <td class="tabaligncenter">{{ sys.caf.confidence_grading.descriptor }}</td> |