aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/templates
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-03-06 21:23:42 +0000
committerMatthew Lemon <matt@matthewlemon.com>2020-03-06 21:23:42 +0000
commitadeb0b35bdf0fdaa1f7c718410660d1eef0a9524 (patch)
tree632f689c07d1236fdc8abd2d7f12ddde45c342a9 /ctrack/organisations/templates
parent420eb8308847e413d63b0692aba78cee7d1405f4 (diff)
started adding links to org detail pages
Diffstat (limited to 'ctrack/organisations/templates')
-rw-r--r--ctrack/organisations/templates/organisations/organisation_detail.html45
1 files changed, 3 insertions, 42 deletions
diff --git a/ctrack/organisations/templates/organisations/organisation_detail.html b/ctrack/organisations/templates/organisations/organisation_detail.html
index 5302ef4..d28723f 100644
--- a/ctrack/organisations/templates/organisations/organisation_detail.html
+++ b/ctrack/organisations/templates/organisations/organisation_detail.html
@@ -1,50 +1,11 @@
{% extends "base.html" %}
{% block content %}
- <h2>Organisation detail</h2>
<div class="container">
<div class="row">
- {% if n_addr > 1 %}
- {% for a in addr %}
- <div class="col-md-6">
- <div class="card" style="width: 18rem;">
- <div class="card-body">
- <h5 class="card-title">{{ object.name }}</h5>
- <h6 class="card-subtitle mb-2 text-muted">{{ a.type }}</h6>
- <p class="card-text">
- {{ a.line1 }}<br>
- {{ a.line2 }}<br>
- {{ a.line3 }}<br>
- {{ a.city }}<br>
- {{ a.county }}<br>
- {{ a.country}}<br>
- </p>
- <p><strong>{{ a.other_details }}</strong><br></p>
- <a href="#" class="card-link">Edit Details</a>
- </div>
- </div>
- </div>
- {% endfor %}
- {% else %}
- <div class="col-md-12">
- <div class="card" style="width: 18rem;">
- <div class="card-body">
- <h5 class="card-title">{{ object.name }}</h5>
- <h6 class="card-subtitle mb-2 text-muted">{{ addr.type }}</h6>
- <p class="card-text">
- {{ addr.line1 }}<br>
- {{ addr.line2 }}<br>
- {{ addr.line3 }}<br>
- {{ addr.city }}<br>
- {{ addr.county }}<br>
- {{ addr.country}}<br>
- </p>
- <p><strong>{{ addr.other_details }}</strong><br></p>
- <a href="#" class="card-link">Edit Details</a>
- </div>
- </div>
- </div>
- {% endif %}
+ <h2>{{ object.name }}</h2>
</div>
+ <div class="row">
+ <p>{{ object.submode }}</p>
</div>
{% endblock %}