This commit is contained in:
Nicolas Le Goff
2014-10-16 13:05:12 +02:00
parent e694677efd
commit 392ff21d51
11 changed files with 469 additions and 341 deletions

View File

@@ -109,7 +109,7 @@
<b>{{ name }}</b> : {{ value is iterable ? value|join('; ') : value }}
</div>
{% endfor %}
{% if technical_data|default(true) and app['authentication'].getUser() is not none and app['settings'].getUserSetting(app['authentication'].getUser(), 'technical_display') == 'group' %}
{% if technical_data|default(true) and app['authentication'].user is not none and app['settings'].getUserSetting(app['authentication'].user, 'technical_display') == 'group' %}
<hr/>
{% include 'common/technical_datas.html.twig' %}
{% endif %}

View File

@@ -1,16 +1,16 @@
{% if record.isStory() %}
{{ 'Story_id' | trans }} : {{ record.recordId() }}<br/>
{% if record.isStory %}
{{ 'Story_id' | trans }} : {{ record.recordId }}<br/>
{% else %}
{{ 'Record_id' | trans }} : {{ record.recordId() }}<br/>
{{ 'Record_id' | trans }} : {{ record.recordId }}<br/>
{% endif %}
{% if not record.isStory() %}
{% if not record.isStory %}
{% block td_original_name %}
{{ 'Nom Original' | trans }} : {{ record.getOriginalName() }}
{{ 'Nom Original' | trans }} : {{ record.getOriginalName }}
{% endblock %}
{% block td_mime %}
{{ record.getMimeType() }}
{{ record.getMimeType }}
{% endblock %}
{% block td_weight %}