Commit 8a1f54099b2e8e49a1c5250be1e85bf0f28527b1
1 parent
c5d5e3c7
Exists in
master
and in
4 other branches
Reuse proposal_url helper
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
index.html
... | ... | @@ -387,7 +387,7 @@ |
387 | 387 | {{#each proposals}} |
388 | 388 | <tr> |
389 | 389 | <td class="">{{calcPosition @index ../pagination.per_page ../pagination.page}}°</td> |
390 | - <td class="abstract-text"><div class="truncate"><p class="truncated"><a href="#/programas/{{../topic_id}}/propostas/{{id}}">{{stripTags abstract}}</a></p></div></td> | |
390 | + <td class="abstract-text"><div class="truncate"><p class="truncated"><a href="{{proposal_url ../topic_id id}}">{{stripTags abstract}}</a></p></div></td> | |
391 | 391 | <td class="views value">{{hits}}</td> |
392 | 392 | <td class="votes-for value">{{votes_for}}</td> |
393 | 393 | <td class="votes-against value">{{votes_against}}</td> | ... | ... |