Skip to content

Commit 507fcdf

Browse files
authored
Merge pull request #2518 from canonical/WD-36239-dev-refresh-https-canonical-com-events-canonical-days
refactor: /events/canonical-days
2 parents ebf7532 + 767998c commit 507fcdf

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

templates/events/canonical-days.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,18 @@
6161
<thead>
6262
<tr>
6363
<th data-column="0" data-type="string">
64+
<strong>Event Name</strong>
65+
<button class="js-sortable-table__button p-icon--sort-both" aria-label="Sort by Event Name" style="border-style: none;"></button>
66+
</th>
67+
<th data-column="1" data-type="string">
6468
<strong>Location</strong>
6569
<button class="js-sortable-table__button p-icon--sort-both" aria-label="Sort by Location" style="border-style: none;"></button>
6670
</th>
67-
<th data-column="1" data-type="string">
71+
<th data-column="2" data-type="string">
6872
<strong>Region</strong>
6973
<button class="js-sortable-table__button p-icon--sort-both" aria-label="Sort by Region" style="border-style: none;"></button>
7074
</th>
71-
<th data-column="2" data-type="date">
75+
<th data-column="3" data-type="date">
7276
<strong>Date</strong>
7377
<button class="js-sortable-table__button p-icon--sort-both" aria-label="Sort by Date" style="border-style: none;"></button>
7478
</th>
@@ -81,6 +85,9 @@
8185
{% set ns.counter = ns.counter + 1 %}
8286
{% if ns.counter <= 10 or metadata | length < TRUNCATE_THRESHOLD %}
8387
<tr>
88+
<td data-heading="Event Name">
89+
<a href="{{ data.path }}">{{ data.topic_name or '—' }}</a>
90+
</td>
8491
<td data-heading="Location">
8592
<a href="{{ data.path }}">{{ data.event_location or '—' }}</a>
8693
</td>
@@ -206,4 +213,4 @@ <h3 class="p-heading--5">Digital sovereignty</h3>
206213
}}
207214

208215
<script src="/static/js/dist/events.js"></script>
209-
{% endblock content %}
216+
{% endblock content %}

0 commit comments

Comments
 (0)