Skip to content

Commit 4327366

Browse files
committed
Use short title for elections
1 parent 59fb46c commit 4327366

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/onegov/election_day/templates/archive.pt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
<th tal:define="prefix election.title_prefix(request)" class="right-aligned-small">
126126
<a href="${election.adjusted_url(request)}">
127127
<span tal:condition="prefix">${prefix}: </span>
128-
<span metal:use-macro="layout.macros['title-translation']" tal:define="item election"/>
128+
<span metal:use-macro="layout.macros['short-title-translation']" tal:define="item election"/>
129129
</a>
130130
</th>
131131
<td class="right-aligned" tal:condition="election.has_results and not communal_instance and not municipal_view and not municipality_view">
@@ -305,7 +305,7 @@
305305
<tr tal:repeat="election archive_items[municipality][type]">
306306
<th class="right-aligned-small">
307307
<a href="${election.adjusted_url(request)}">
308-
<span metal:use-macro="layout.macros['title-translation']" tal:define="item election"/>
308+
<span metal:use-macro="layout.macros['short-title-translation']" tal:define="item election"/>
309309
</a>
310310
<span class="right-aligned-small"> - ${layout.format_date(election.date, 'date')}</span>
311311
</th>

src/onegov/election_day/templates/archive_search.pt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
<th class="top-aligned" tal:define="prefix election.title_prefix(request)">
109109
<a href="${election.adjusted_url(request)}">
110110
<span tal:condition="prefix">${prefix}: </span>
111-
<span metal:use-macro="layout.macros['title-translation']" tal:define="item election"/>
111+
<span metal:use-macro="layout.macros['short-title-translation']" tal:define="item election"/>
112112
</a>
113113
</th>
114114
<td class="top-aligned" >${layout.format_date(election.date, 'date')}</td>

0 commit comments

Comments
 (0)