mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
Update templates
This commit is contained in:
@@ -34,12 +34,12 @@
|
||||
|
||||
{% set top = 0 %}
|
||||
|
||||
{% if Basket.getPusher() %}
|
||||
{% if Basket.getPusher(app) %}
|
||||
{% set top = top + 40 %}
|
||||
<div class="PNB" style="top:40px;bottom:auto;height:40px;background-color:#404040;">
|
||||
<div class="PNB10">
|
||||
<p>
|
||||
{% set user_name = '<a tooltipsrc="/prod/tooltip/user/' ~ Basket.getPusher().get_id() ~ '/" href="/user/' ~ Basket.getPusher().get_id() ~ '/" class="UserTips">' ~ Basket.getPusher().get_display_name() ~ '</a>' %}
|
||||
{% set user_name = '<a tooltipsrc="/prod/tooltip/user/' ~ Basket.getPusher(app).get_id() ~ '/" href="/user/' ~ Basket.getPusher(app).get_id() ~ '/" class="UserTips">' ~ Basket.getPusher(app).get_display_name() ~ '</a>' %}
|
||||
{% trans %}
|
||||
Received from {{ user_name }}
|
||||
{% endtrans %}
|
||||
@@ -61,10 +61,10 @@
|
||||
{% endif %}
|
||||
|
||||
{% set list_participants = list_participants ~ '<a class="UserTips" tooltipsrc="/prod/tooltip/user/'
|
||||
~ Participant.getUser().get_id()
|
||||
~ Participant.getUser(app).get_id()
|
||||
~ '/" href="/user/'
|
||||
~ Participant.getUser().get_id() ~ '/">'
|
||||
~ Participant.getUser().get_display_name
|
||||
~ Participant.getUser(app).get_id() ~ '/">'
|
||||
~ Participant.getUser(app).get_display_name
|
||||
~ '</a>' %}
|
||||
{% endfor %}
|
||||
{% trans %}
|
||||
@@ -100,13 +100,13 @@
|
||||
<div class="PNB" style="top:{{ top }}px;">
|
||||
<div class="PNB10">
|
||||
{% for BasketElement in Basket.getElements() %}
|
||||
{% set record = BasketElement.getRecord() %}
|
||||
{% set record = BasketElement.getRecord(app) %}
|
||||
<div class="diapo" style="width:150px; height:180px;">
|
||||
<div class='title'>
|
||||
{{record.get_original_name()}}
|
||||
</div>
|
||||
<div>
|
||||
{{thumbnail.format(record.get_thumbnail,140,140, '', session, true, false)}}
|
||||
{{thumbnail.format(record.get_thumbnail,140,140, '', true, false)}}
|
||||
</div>
|
||||
<div style='position:absolute; bottom:0px; left:0px; height:20px'>
|
||||
<div class="previewTips" tooltipsrc="/prod/tooltip/preview/{{record.get_sbas_id()}}/{{record.get_record_id()}}/"></div>
|
||||
|
Reference in New Issue
Block a user