Browser templates

This commit is contained in:
Romain Neutron
2012-01-11 20:59:18 +01:00
parent 94abb51fe8
commit 810e42a15d
3 changed files with 78 additions and 10 deletions

View File

@@ -66,7 +66,7 @@
{% if Basket.getPusher() %}
<p>
{% set user_name = '<a href="/prod/tooltip/user/' ~ Basket.getPusher().get_id() ~ '/" class="userTips">' ~ Basket.getPusher().get_display_name() ~ '</a>' %}
{% set user_name = '<a href="#" tooltipsrc="/prod/tooltip/user/' ~ Basket.getPusher().get_id() ~ '/" class="userTips">' ~ Basket.getPusher().get_display_name() ~ '</a>' %}
{% trans %}
Received from {{ user_name }}
{% endtrans %}
@@ -78,9 +78,9 @@
<p>
{% set list_participants = '' %}
{% for Participant in Basket.getValidation().getParticipants() %}
{% set list_participants = list_participants ~ '<a href="/user/{{ Participant.getUser().get_id() }}/">
{{ Participant.getUser().get_display_name }}
</a>' %}
{% set list_participants = list_participants ~ '<a href="/user/' ~ Participant.getUser().get_id() ~ '/">' %}
{% set list_participants = list_participants ~ Participant.getUser().get_display_name %}
{% set list_participants = list_participants ~ '</a>' %}
{% endfor %}
{% trans %}
Sent for validation to {{ list_participants }}