diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-20 15:57:26 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-20 15:57:26 +0100 |
commit | 30d2bf6d91e625d08c38800d1b1819d90dfe7f1e (patch) | |
tree | d310a7d569c1449d419329a08f327129c23002c3 /ctrack/templates/pages/home.html | |
parent | 98f6ce0fa2ce5692f578a98922f50aa79fd46bdd (diff) |
poor implementation of lead and deputy inspectors by submode on home page
Diffstat (limited to 'ctrack/templates/pages/home.html')
-rw-r--r-- | ctrack/templates/pages/home.html | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/ctrack/templates/pages/home.html b/ctrack/templates/pages/home.html index 1a3348f..69a306f 100644 --- a/ctrack/templates/pages/home.html +++ b/ctrack/templates/pages/home.html @@ -90,14 +90,26 @@ </svg> Inspectors </h3> - <ul class="list-group"> - {% for submode in submodes %} - {{ submode }} - {% endfor %} - + <p>Inspectors are allocated to an organisation and can therefore be grouped by + the sector that organisation belongs to. This usually means there is one lead + inspector for each submode, but it is possible for an inspector to lead for an + organistion in another sector. The applies for deputy inspector roles.</p> + <h5>Lead Inspectors</h5> + <ul> + {% for k, v in submode_inspector_dict.items %} + <li><strong>{{ k }}</strong> {% for x in v %} {{ x.name }}{% endfor %}</li> + {% endfor %} + </ul> + <h5>Deputy Lead Inspectors</h5> + <ul> + {% for k, v in submode_deputy_inspector_dict.items %} + <li><strong>{{ k }}</strong> {% for x in v %} {{ x.name }}{% endfor %}</li> + {% endfor %} </ul> </div> </div> + </div> + </div> <div class="row mt-2"> <p><a class="btn btn-primary btn-lg" href="#" role="button">Get help using ctrack »</a></p> |