aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/organisations/templates/organisations/organisation_detail.html2
-rw-r--r--ctrack/templates/base.html10
2 files changed, 7 insertions, 5 deletions
diff --git a/ctrack/organisations/templates/organisations/organisation_detail.html b/ctrack/organisations/templates/organisations/organisation_detail.html
index de66217..cc14860 100644
--- a/ctrack/organisations/templates/organisations/organisation_detail.html
+++ b/ctrack/organisations/templates/organisations/organisation_detail.html
@@ -33,7 +33,7 @@
<div class="card-text">
<div class="row">
{% for p in people %}
- <div class="col-md-6 my-2">
+ <div class="col-6 my-2">
<div class="card bg-light">
<div class="card-body">
<h5 class="card-title"><a
diff --git a/ctrack/templates/base.html b/ctrack/templates/base.html
index 8594fb4..3984f51 100644
--- a/ctrack/templates/base.html
+++ b/ctrack/templates/base.html
@@ -45,7 +45,8 @@
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
- <li class="nav-item dropdown">
+ {% if request.user.is_authenticated%}
+ <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="dropdown01" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">Organisations</a>
<div class="dropdown-menu" aria-labelledby="dropdown01">
@@ -73,10 +74,11 @@
<a class="dropdown-item" href="#">Inspection/Audit Programme</a>
</div>
</li>
+ <li class="nav-item">
+ <a class="nav-link" href="{% url 'about' %}">Help</a>
+ </li>
+ {% endif %}
- <li class="nav-item">
- <a class="nav-link" href="{% url 'about' %}">Help</a>
- </li>
{% if request.user.is_authenticated %}
<li class="nav-item">
{# URL provided by django-allauth/account/urls.py #}