mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix user and tooltips urls
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
|
||||
{% if Basket.getPusher() %}
|
||||
<p>
|
||||
{% set user_name = '<a href="#" tooltipsrc="/prod/tooltip/user/' ~ Basket.getPusher().get_id() ~ '/" class="userTips">' ~ Basket.getPusher().get_display_name() ~ '</a>' %}
|
||||
{% set user_name = '<a href="/user/' ~ Basket.getPusher().get_id() ~ '/" tooltipsrc="/prod/tooltip/user/' ~ Basket.getPusher().get_id() ~ '/" class="UserTips">' ~ Basket.getPusher().get_display_name() ~ '</a>' %}
|
||||
{% trans %}
|
||||
Received from {{ user_name }}
|
||||
{% endtrans %}
|
||||
@@ -78,7 +78,14 @@
|
||||
<p>
|
||||
{% set list_participants = '' %}
|
||||
{% for Participant in Basket.getValidation().getParticipants() %}
|
||||
{% set list_participants = list_participants ~ '<a href="/user/' ~ Participant.getUser().get_id() ~ '/">' %}
|
||||
|
||||
{% if list_participants != '' %}
|
||||
{% set list_participants = list_participants ~ ', ' %}
|
||||
{% endif %}
|
||||
|
||||
{% set list_participants = list_participants ~ '<a class="UserTips" tooltipsrc="/prod/tooltip/user/'
|
||||
~ Participant.getUser().get_id()
|
||||
~ '/" href="/user/' ~ Participant.getUser().get_id() ~ '/">' %}
|
||||
{% set list_participants = list_participants ~ Participant.getUser().get_display_name %}
|
||||
{% set list_participants = list_participants ~ '</a>' %}
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user