diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-06-01 16:50:43 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-06-01 16:50:43 +0100 |
commit | 2a476e7f27b08a9a2543222c44066fa4c09e02d9 (patch) | |
tree | cc0b3b19b75d7080236ee85a673a9e23e80fecb8 /ctrack/templates/pages | |
parent | 37a5818eb76ad75055807d300d1cdd6fb5821b0a (diff) |
added engagement events table to stakeholder home page
Diffstat (limited to 'ctrack/templates/pages')
-rw-r--r-- | ctrack/templates/pages/stakeholder_home.html | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/ctrack/templates/pages/stakeholder_home.html b/ctrack/templates/pages/stakeholder_home.html index 209a063..7ddd7fa 100644 --- a/ctrack/templates/pages/stakeholder_home.html +++ b/ctrack/templates/pages/stakeholder_home.html @@ -155,7 +155,26 @@ <div class="row"> <div class="col md-12"> <h2>DfT Engagement</h2> - <p>No engagement with DfT currently scheduled</p> + <table class="table table-md"> + {% if engagement_events|length > 0 %} + {% for event in engagement_events %} + <thead> + <th>Date</td> + <th>Event</td> + <th>Description</td> + <th>DfT Comments</td> + </thead> + <tr> + <td>{{event.date }}</td> + <td><a href="#">{{ event.type}}</a></td> + <td>{{ event.short_description }}</td> + <td>{{ event.comments }}</td> + </tr> + {% endfor %} + {% else %} + <p>No engagement with DfT currently scheduled</p> + {% endif %} + </table> </div> </div> |