aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/caf/templates')
-rw-r--r--ctrack/caf/templates/caf/applicable_system_create_from_org.html54
-rw-r--r--ctrack/caf/templates/caf/caf_detail.html2
2 files changed, 35 insertions, 21 deletions
diff --git a/ctrack/caf/templates/caf/applicable_system_create_from_org.html b/ctrack/caf/templates/caf/applicable_system_create_from_org.html
index 0d0fcef..8a94155 100644
--- a/ctrack/caf/templates/caf/applicable_system_create_from_org.html
+++ b/ctrack/caf/templates/caf/applicable_system_create_from_org.html
@@ -1,31 +1,45 @@
{% extends "base.html" %}
{% block title %}
- Add a new system for {{ organisation }}
+ Add a new system for {{ organisation }}
{% endblock title %}
{% load crispy_forms_tags %}
{% block content %}
- <div class="container mt-3">
- <div class="row">
- <div class="col-md-12 pl-0 my-2">
- <h4>Add a new system for {{ organisation }}</h4>
- </div>
- </div>
- <div class="row">
- <div class="col-md-7 pt-2 border bg-light">
- {% crispy form %}
- </div>
- <div class="col-sm-5">
- <div class="card" style="width: 18rem;">
- <div class="card-body">
- <h5 class="card-title">Help on Adding a new System</h5>
- <p class="card-text">Here you can add some supplementary text if you like.</p>
- <a href="#" class="btn btn-primary">Go somewhere</a>
- </div>
+ <div class="container mt-3">
+ <div class="row">
+ <div class="col-md-12 pl-0 my-2">
+ <h4>Add a new system for {{ organisation }}</h4>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-7 pt-2 border bg-light">
+ {% crispy form %}
+ </div>
+ <div class="col-sm-5">
+ <div class="row">
+ <div class="card" style="width: 18rem;">
+ <div class="card-body">
+ <h5 class="card-title">Help on Adding a new System</h5>
+ <p class="card-text">Here you can add some supplementary text if you like.</p>
+ <a href="#" class="btn btn-primary">Go somewhere</a>
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="card" style="width: 18rem;">
+ <div class="card-body">
+ <h5 class="card-title">Other systems managed by <strong>{{ organisation.name }}:</strong></h5>
+ <ul class="list-group list-group-flush">
+ <li class="list-group-item">baws</li>
+ <li class="list-group-item">baws</li>
+ <li class="list-group-item">baws</li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
</div>
- </div>
</div>
- </div>
{% endblock content %}
diff --git a/ctrack/caf/templates/caf/caf_detail.html b/ctrack/caf/templates/caf/caf_detail.html
index 97ccad4..fc2fcfd 100644
--- a/ctrack/caf/templates/caf/caf_detail.html
+++ b/ctrack/caf/templates/caf/caf_detail.html
@@ -79,7 +79,7 @@
</tr>
{% endfor %}
{% else %}
- <a class="btn btn-primary" href="{% url "caf:create_from_org" object.slug %}" role="button">Add
+ <a class="btn btn-primary" href="{% url "caf:as_create_from_org" object.slug %}" role="button">Add
new...</a>
{% endif %}
</table>