mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Use symfony translator
This commit is contained in:
@@ -215,7 +215,7 @@
|
||||
|
||||
{# Bandeau de présentation #}
|
||||
<div class="well well-small action-block">
|
||||
<h5>{{ 'admin::base:collection: image de presentation : ' | trans }}</h5>
|
||||
<h5>{{ 'admin::base:collection: image de presentation :' | trans }}</h5>
|
||||
{% if collection.getPresentation(bas_id) is not empty %}
|
||||
<div class="thumbnail" style="width:650px;height:200px">{{ collection.getPresentation(bas_id)| raw }}</div>
|
||||
{% if app['acl'].get(app['authentication'].getUser()).has_right_on_base(bas_id, 'manage') %}
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
<form class="form-horizontal" method='post' action='{{ path('admin_database_submit_collection', {'databox_id': app['request'].get('databox_id')}) }}'>
|
||||
<fieldset>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="cnm">{{ 'admin::base:collection: Nom de la nouvelle collection : ' | trans }}</label>
|
||||
<label class="control-label" for="cnm">{{ 'admin::base:collection: Nom de la nouvelle collection :' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input id="cnm" name="name" class="input-xlarge" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="ccusrothercoll">{{ "admin::base:collection: Vous pouvez choisir une collection de reference pour donenr des acces " | trans }}</label>
|
||||
<label class="control-label" for="ccusrothercoll">{{ "admin::base:collection: Vous pouvez choisir une collection de reference pour donenr des acces" | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="checkbox" id="ccusrothercoll" name="ccusrothercoll">
|
||||
</div>
|
||||
|
||||
@@ -898,7 +898,7 @@ function view(type)
|
||||
|
||||
break;
|
||||
case 'GRAPH':
|
||||
if( !changeInXml || confirm("{{ 'admin::sugval: Attention, passer en mode graphique implique la perte des modifications du xml si vous n\'appliquez pas les changements avant.\nContinuer quand meme'|trans | e('js') }}"))
|
||||
if( !changeInXml || confirm("{{ 'admin::sugval: Attention, passer en mode graphique implique la perte des modifications du xml si vous n\'appliquez pas les changements avant.' |trans | e('js') }}\n{{ 'Continuer quand meme' |trans | e('js') }}"))
|
||||
{
|
||||
if($('#divGraph').length > 0 )
|
||||
$('#divGraph').show();
|
||||
|
||||
Reference in New Issue
Block a user