mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix twig tags
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<td>
|
||||
<form class="action_works_standalone action_works_single_element action_works_many_element" method="GET" action="{{ path('bridge_account_action', { 'account_id' : account.get_id(), 'action' : 'createcontainer', 'element_type' : action_type }) }}">
|
||||
<a class="form_multiple_submitter single_menu btn btn-inverse">
|
||||
{% trans 'Creer' %}
|
||||
{{ 'Creer' | trans }}
|
||||
</a>
|
||||
</form>
|
||||
</td>
|
||||
@@ -9,7 +9,7 @@
|
||||
<div class="multi_menu">
|
||||
<div class="btn-group">
|
||||
<button class="trigger btn btn-inverse dropdown-toggle" data-toggle="dropdown">
|
||||
{% trans 'Actions' %}
|
||||
{{ 'Actions' | trans }}
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
@@ -18,7 +18,7 @@
|
||||
<input type="hidden" name="elements_list" value="" />
|
||||
<input type="hidden" name="destination" value="" />
|
||||
<a class="form_multiple_submitter">
|
||||
{% trans 'boutton::supprimer' %}
|
||||
{{ 'boutton::supprimer' | trans }}
|
||||
</a>
|
||||
</form>
|
||||
</li>
|
||||
|
@@ -1 +1 @@
|
||||
<a class="action_type_modify bridge_action" href="{{ path('bridge_account_action', { 'account_id' : account.get_id(), 'action' : 'modify', 'element_type' : element.get_type(), 'elements_list' : [ element.get_id ] }) }}">{% trans 'boutton::modifier' %}</a>
|
||||
<a class="action_type_modify bridge_action" href="{{ path('bridge_account_action', { 'account_id' : account.get_id(), 'action' : 'modify', 'element_type' : element.get_type(), 'elements_list' : [ element.get_id ] }) }}">{{ 'boutton::modifier' | trans }}</a>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<div class="multi_menu">
|
||||
<div class="btn-group">
|
||||
<button class="trigger btn btn-inverse dropdown-toggle" data-toggle="dropdown">
|
||||
{% trans 'Ajouter a' %}
|
||||
{{ 'Ajouter a' | trans }}
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
@@ -11,7 +11,7 @@
|
||||
<input type="hidden" name="elements_list" value="" />
|
||||
<input type="hidden" name="destination" value="{{ constant('Bridge_Api_Dailymotion::CONTAINER_TYPE_PLAYLIST') }}" />
|
||||
<a class="form_multiple_submitter">
|
||||
{% trans 'Playlist' %}
|
||||
{{ 'Playlist' | trans }}
|
||||
</a>
|
||||
</form>
|
||||
</li>
|
||||
@@ -23,7 +23,7 @@
|
||||
<div class="multi_menu">
|
||||
<div class="btn-group">
|
||||
<button class="trigger btn btn-inverse dropdown-toggle" data-toggle="dropdown">
|
||||
{% trans 'Actions' %}
|
||||
{{ 'Actions' | trans }}
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
@@ -32,7 +32,7 @@
|
||||
<input type="hidden" name="elements_list" value="" />
|
||||
<input type="hidden" name="destination" value="" />
|
||||
<a class="form_multiple_submitter">
|
||||
{% trans 'boutton::supprimer' %}
|
||||
{{ 'boutton::supprimer' | trans }}
|
||||
</a>
|
||||
</form>
|
||||
</li>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
|
||||
{% block menu %}
|
||||
{% trans %}
|
||||
@@ -12,7 +12,7 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td class='column_left'>
|
||||
<label for='name'> *{% trans 'Name' %}
|
||||
<label for='name'> *{{ 'Name' | trans }}
|
||||
<br/>
|
||||
<span class='form_error'> </span>
|
||||
</label>
|
||||
@@ -23,8 +23,8 @@
|
||||
</tr>
|
||||
<td></td>
|
||||
<td class='column_right'>
|
||||
<button class="form_submitter btn btn-inverse">{% trans 'boutton::valider' %}</button>
|
||||
<button class="back_link btn btn-inverse">{% trans 'boutton::retour' %}</button>
|
||||
<button class="form_submitter btn btn-inverse">{{ 'boutton::valider' | trans }}</button>
|
||||
<button class="back_link btn btn-inverse">{{ 'boutton::retour' | trans }}</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
|
||||
{% set n_element = elements|length %}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<input type="hidden" name="elements_list[]" value="{{id}}"/>
|
||||
{% endfor %}
|
||||
<input type="hidden" name="destination" value="{{ destination }}" />
|
||||
<button class="form_submitter btn btn-inverse">{% trans 'boutton::valider' %}</button>
|
||||
<button class="back_link btn btn-inverse">{% trans 'boutton::retour' %}</button>
|
||||
<button class="form_submitter btn btn-inverse">{{ 'boutton::valider' | trans }}</button>
|
||||
<button class="back_link btn btn-inverse">{{ 'boutton::retour' | trans }}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
{% import "prod/actions/Bridge/macro_error_form.html.twig" as error_form %}
|
||||
|
||||
{% block menu %}
|
||||
@@ -12,12 +12,12 @@
|
||||
{% set elements_received_length = route.get_count_element_received() %}
|
||||
|
||||
{% if elements_received_length == 0 %}
|
||||
{% trans 'Vous n\'avez selectionne aucun element' %}
|
||||
{{ 'Vous n\'avez selectionne aucun element' | trans }}
|
||||
{% elseif elements_length == 0 %}
|
||||
{% trans 'Les elements ne peuvent etre uploades (problemes de type ou de droit)' %}
|
||||
{% trans 'Le bridge Dailymotion ne prend en charge que les videos' %}
|
||||
{{ 'Les elements ne peuvent etre uploades (problemes de type ou de droit)' | trans }}
|
||||
{{ 'Le bridge Dailymotion ne prend en charge que les videos' | trans }}
|
||||
{% elseif elements_length > 1 %}
|
||||
{% trans 'Vous ne pouvez uploader des elements sur Dailymotion qu\'un par un' %}
|
||||
{{ 'Vous ne pouvez uploader des elements sur Dailymotion qu\'un par un' | trans }}
|
||||
{% else %}
|
||||
{% for record in route.get_elements() %}
|
||||
{% set caption = record.get_caption() %}
|
||||
@@ -28,9 +28,9 @@
|
||||
<tr>
|
||||
<td>
|
||||
{% set name = "title_" ~ record.get_serialize_key() %}
|
||||
<label for='{{name}}'>{% trans 'Titre' %}</label>
|
||||
<label for='{{name}}'>{{ 'Titre' | trans }}</label>
|
||||
<div style="font-size:9px; font-weight:200">
|
||||
{% trans "255 caracteres maximum" %}
|
||||
{{ "255 caracteres maximum" | trans }}
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
@@ -42,9 +42,9 @@
|
||||
<tr>
|
||||
<td>
|
||||
{% set name = "description_" ~ record.get_serialize_key() %}
|
||||
<label for='{{name}}'>{% trans 'Description' %}</label>
|
||||
<label for='{{name}}'>{{ 'Description' | trans }}</label>
|
||||
<div style="font-size:9px; font-weight:200">
|
||||
{% trans "1000 caracteres maximum" %}
|
||||
{{ "1000 caracteres maximum" | trans }}
|
||||
</div>
|
||||
</td>
|
||||
<td class='column_right'>
|
||||
@@ -56,13 +56,13 @@
|
||||
<tr>
|
||||
<td>
|
||||
{% set name = "tags_" ~ record.get_serialize_key() %}
|
||||
<label for='{{name}}'>{% trans 'Tags' %}</label>
|
||||
<label for='{{name}}'>{{ 'Tags' | trans }}</label>
|
||||
<br/>
|
||||
<div style="font-size:9px; font-weight:200">
|
||||
- {% trans "250 caracteres maximum" %}<br />
|
||||
- {% trans "10 tags maximum"%}<br />
|
||||
- {% trans "Séparez les tags par un espace: Paris vacances restaurant"%}<br />
|
||||
- {% trans 'Groupez 2 ou plusieurs mots avec des guillemets: "Michael Jackson"' %}
|
||||
- {{ "250 caracteres maximum" | trans }}<br />
|
||||
- {{ "10 tags maximum" | trans }}<br />
|
||||
- {{ "Séparez les tags par un espace: Paris vacances restaurant" | trans }}<br />
|
||||
- {{ 'Groupez 2 ou plusieurs mots avec des guillemets: "Michael Jackson"' | trans }}
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
@@ -74,21 +74,21 @@
|
||||
<tr>
|
||||
<td>
|
||||
{% set name = "privacy_" ~ record.get_serialize_key() %}
|
||||
<label for='{{name}}'>{% trans 'Confidentialite' %}</label>
|
||||
<label for='{{name}}'>{{ 'Confidentialite' | trans }}</label>
|
||||
</td>
|
||||
<td>
|
||||
<div style='float:left'>
|
||||
<label for="input_private">{% trans 'prive' %}</label>
|
||||
<label for="input_private">{{ 'prive' | trans }}</label>
|
||||
<input id="input_private" type="radio" name="{{name}}" value="private" checked='checked' />
|
||||
</div>
|
||||
<div style='float:left'>
|
||||
<label for="input_public">{% trans 'public' %}</label>
|
||||
<label for="input_public">{{ 'public' | trans }}</label>
|
||||
<input id="input_public" type="radio" name="{{name}}" value="public "/>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<button class="form_submitter">{% trans 'Upload' %}</button>
|
||||
<button class="form_submitter">{{ 'Upload' | trans }}</button>
|
||||
</form>
|
||||
{% endfor %}
|
||||
<p>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
|
||||
{% set n_element = elements|length %}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<input type="hidden" name="elements_list[]" value="{{id}}"/>
|
||||
{% endfor %}
|
||||
<input type="hidden" name="destination" value="{{ destination }}" />
|
||||
<button class="form_submitter btn btn-inverse">{% trans 'boutton::valider' %}</button>
|
||||
<button class="back_link btn btn-inverse">{% trans 'boutton::retour' %}</button>
|
||||
<button class="form_submitter btn btn-inverse">{{ 'boutton::valider' | trans }}</button>
|
||||
<button class="back_link btn btn-inverse">{{ 'boutton::retour' | trans }}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
{% import "prod/actions/Bridge/macro_error_form.html.twig" as error_form %}
|
||||
|
||||
{% block menu %}
|
||||
@@ -10,7 +10,7 @@
|
||||
{% trans %}Edition de 1 element{% endtrans %} :
|
||||
</td>
|
||||
<td style="text-align:right;">
|
||||
<a class="back_link" style="cursor: pointer;">{% trans 'boutton::annuler' %}</a>
|
||||
<a class="back_link" style="cursor: pointer;">{{ 'boutton::annuler' | trans }}</a>
|
||||
</td>
|
||||
<td style="width:10px;">
|
||||
</td>
|
||||
@@ -21,21 +21,21 @@
|
||||
{% block response %}
|
||||
<form class="form_add_container bridge_form" action="{{ path('bridge_account_do_action', { 'account_id' : account.get_id(), 'action' : action, 'element_type' : element_type }) }}" method="post">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="modif_title">{% trans 'Titre' %}</label>
|
||||
<label class="control-label" for="modif_title">{{ 'Titre' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input name="modif_title" type="text" value="{{element.get_title}}" />
|
||||
{{ error_form.display_errors('title', constraint_errors) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="modif_description">{% trans 'Description' %}</label>
|
||||
<label class="control-label" for="modif_description">{{ 'Description' | trans }}</label>
|
||||
<div class="controls">
|
||||
<textarea name="modif_description" rows="3" >{{element.get_description}}</textarea>
|
||||
{{ error_form.display_errors('description', constraint_errors) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="modif_category">{% trans 'Categorie' %}</label>
|
||||
<label class="control-label" for="modif_category">{{ 'Categorie' | trans }}</label>
|
||||
<div class="controls">
|
||||
{% set categories = account.get_api().get_connector.get_category_list() %}
|
||||
<select name="modif_category">
|
||||
@@ -46,29 +46,29 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="modif_tags">{% trans 'Tags' %}</label>
|
||||
<label class="control-label" for="modif_tags">{{ 'Tags' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input name="modif_tags" type="text" value="{{element.get_tags()}}" />
|
||||
{{ error_form.display_errors('tags', constraint_errors) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'Confidentialite' %}</label>
|
||||
<label class="control-label">{{ 'Confidentialite' | trans }}</label>
|
||||
<div class="controls">
|
||||
<label class="radio inline bridge_fleft">
|
||||
<input type="radio" name="modif_privacy" value="1" {{element.is_private ? "checked='checked'" : ""}} />
|
||||
{% trans 'privé' %}
|
||||
{{ 'privé' | trans }}
|
||||
</label>
|
||||
<label class="radio inline bridge_fleft">
|
||||
<input type="radio" name="modif_privacy" value="0" {{element.is_private ? "" : "checked='checked'"}}/>
|
||||
{% trans 'public' %}
|
||||
{{ 'public' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-actions">
|
||||
<input type="hidden" name="elements_list[]" value="{{element.get_id}}" />
|
||||
<button class="form_submitter btn btn-inverse">{% trans 'boutton::valider' %}</button>
|
||||
<button class="back_link btn btn-inverse">{% trans 'boutton::annuler' %}</button>
|
||||
<button class="form_submitter btn btn-inverse">{{ 'boutton::valider' | trans }}</button>
|
||||
<button class="back_link btn btn-inverse">{{ 'boutton::annuler' | trans }}</button>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
|
||||
{% set n_element = elements|length %}
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<input type="hidden" name="destination" value="{{ destination }}" />
|
||||
<button class="form_submitter btn btn-inverse">{% trans 'boutton::valider' %}</button>
|
||||
<button class="back_link btn btn-inverse">{% trans 'boutton::retour' %}</button>
|
||||
<button class="form_submitter btn btn-inverse">{{ 'boutton::valider' | trans }}</button>
|
||||
<button class="back_link btn btn-inverse">{{ 'boutton::retour' | trans }}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<td>
|
||||
<form class="action_works_standalone action_works_single_element action_works_many_element" method="GET" action="{{ path('bridge_account_action', { 'account_id' : account.get_id(), 'action' : 'createcontainer', 'element_type' : action_type }) }}">
|
||||
<a class="form_multiple_submitter single_menu btn btn-inverse">
|
||||
{% trans 'Creer' %}
|
||||
{{ 'Creer' | trans }}
|
||||
</a>
|
||||
</form>
|
||||
</td>
|
||||
@@ -9,7 +9,7 @@
|
||||
<div class="multi_menu">
|
||||
<div class="btn-group">
|
||||
<button class="trigger btn btn-inverse dropdown-toggle" data-toggle="dropdown">
|
||||
{% trans 'Actions' %}
|
||||
{{ 'Actions' | trans }}
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
@@ -18,7 +18,7 @@
|
||||
<input type="hidden" name="elements_list" value="" />
|
||||
<input type="hidden" name="destination" value="" />
|
||||
<a class="form_multiple_submitter">
|
||||
{% trans 'boutton::supprimer' %}
|
||||
{{ 'boutton::supprimer' | trans }}
|
||||
</a>
|
||||
</form>
|
||||
</li>
|
||||
|
@@ -1 +1 @@
|
||||
<a class="action_type_modify bridge_action" href="{{ path('bridge_account_action', { 'account_id' : account.get_id(), 'action' : 'modify', 'element_type' : element.get_type(), 'elements_list' : [ element.get_id ] }) }}">{% trans 'boutton::modifier' %}</a>
|
||||
<a class="action_type_modify bridge_action" href="{{ path('bridge_account_action', { 'account_id' : account.get_id(), 'action' : 'modify', 'element_type' : element.get_type(), 'elements_list' : [ element.get_id ] }) }}">{{ 'boutton::modifier' | trans }}</a>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<div class="multi_menu">
|
||||
<div class="btn-group">
|
||||
<button class="trigger btn btn-inverse dropdown-toggle" data-toggle="dropdown">
|
||||
{% trans 'Ajouter a' %}
|
||||
{{ 'Ajouter a' | trans }}
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
@@ -11,7 +11,7 @@
|
||||
<input type="hidden" name="elements_list" value="" />
|
||||
<input type="hidden" name="destination" value="{{ constant('Bridge_Api_Flickr::CONTAINER_TYPE_PHOTOSET') }}" />
|
||||
<a class="form_multiple_submitter">
|
||||
{% trans 'Photosets' %}
|
||||
{{ 'Photosets' | trans }}
|
||||
</a>
|
||||
</form>
|
||||
</li>
|
||||
@@ -23,7 +23,7 @@
|
||||
<div class="multi_menu">
|
||||
<div class="btn-group">
|
||||
<button class="trigger btn btn-inverse dropdown-toggle" data-toggle="dropdown">
|
||||
{% trans 'Actions' %}
|
||||
{{ 'Actions' | trans }}
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
@@ -32,7 +32,7 @@
|
||||
<input type="hidden" name="elements_list" value="" />
|
||||
<input type="hidden" name="destination" value="" />
|
||||
<a class="form_multiple_submitter">
|
||||
{% trans 'boutton::supprimer' %}
|
||||
{{ 'boutton::supprimer' | trans }}
|
||||
</a>
|
||||
</form>
|
||||
</li>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
|
||||
{% set n_element = elements|length %}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<input type="hidden" name="elements_list[]" value="{{id}}"/>
|
||||
{% endfor %}
|
||||
<input type="hidden" name="destination" value="{{ destination }}" />
|
||||
<button class="form_submitter btn btn-inverse">{% trans 'boutton::valider' %}</button>
|
||||
<button class="back_link btn btn-inverse">{% trans 'boutton::retour' %}</button>
|
||||
<button class="form_submitter btn btn-inverse">{{ 'boutton::valider' | trans }}</button>
|
||||
<button class="back_link btn btn-inverse">{{ 'boutton::retour' | trans }}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
{% import "prod/actions/Bridge/macro_error_form.html.twig" as error_form %}
|
||||
|
||||
{% block menu %}
|
||||
@@ -10,7 +10,7 @@
|
||||
{% trans %}Edition de 1 element{% endtrans %} :
|
||||
</td>
|
||||
<td style="text-align:right;">
|
||||
<a class="back_link" style="cursor: pointer;">{% trans 'boutton::annuler' %}</a>
|
||||
<a class="back_link" style="cursor: pointer;">{{ 'boutton::annuler' | trans }}</a>
|
||||
</td>
|
||||
<td style="width:10px;">
|
||||
</td>
|
||||
@@ -21,14 +21,14 @@
|
||||
{% block response %}
|
||||
<form class="form_add_container bridge_form form-horizontal" action="{{ path('bridge_account_do_action', { 'account_id' : account.get_id(), 'action' : action, 'element_type' : element_type }) }}" method="post">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="modif_title">{% trans 'Titre' %}</label>
|
||||
<label class="control-label" for="modif_title">{{ 'Titre' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input name="modif_title" type="text" value="{{element.get_title}}" />
|
||||
{{ error_form.display_errors('title', constraint_errors) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="modif_description">{% trans 'Description' %}</label>
|
||||
<label class="control-label" for="modif_description">{{ 'Description' | trans }}</label>
|
||||
<div class="controls">
|
||||
<textarea name="modif_description" rows="3" >{{element.get_description|default("")}}</textarea>
|
||||
{{ error_form.display_errors('description', constraint_errors) }}
|
||||
@@ -36,8 +36,8 @@
|
||||
</div>
|
||||
<div class="form-actions">
|
||||
<input type="hidden" name="elements_list[]" value="{{element.get_id}}" />
|
||||
<button class="form_submitter btn btn-inverse">{% trans 'boutton::valider' %}</button>
|
||||
<button class="back_link btn btn-inverse">{% trans 'boutton::annuler' %}</button>
|
||||
<button class="form_submitter btn btn-inverse">{{ 'boutton::valider' | trans }}</button>
|
||||
<button class="back_link btn btn-inverse">{{ 'boutton::annuler' | trans }}</button>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
|
||||
{% set n_element = elements|length %}
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<input type="hidden" name="destination" value="{{ destination }}" />
|
||||
<button class="form_submitter btn btn-inverse">{% trans 'boutton::valider' %}</button>
|
||||
<button class="back_link btn btn-inverse">{% trans 'boutton::retour' %}</button>
|
||||
<button class="form_submitter btn btn-inverse">{{ 'boutton::valider' | trans }}</button>
|
||||
<button class="back_link btn btn-inverse">{{ 'boutton::retour' | trans }}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
|
||||
{% block menu %}
|
||||
{% trans %}
|
||||
@@ -12,7 +12,7 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td class='column_left'>
|
||||
<label for='title'> *{% trans 'Titre' %}
|
||||
<label for='title'> *{{ 'Titre' | trans }}
|
||||
<br/>
|
||||
<span class='form_error'> </span>
|
||||
</label>
|
||||
@@ -23,7 +23,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='column_left'>
|
||||
<label for='description'> {% trans 'Description' %}
|
||||
<label for='description'> {{ 'Description' | trans }}
|
||||
<br/>
|
||||
<span class='form_error'> </span>
|
||||
</label>
|
||||
@@ -36,7 +36,7 @@
|
||||
{% set result = account.get_api().list_elements('photo',0,0)%}
|
||||
<tr>
|
||||
<td class='column_left'>
|
||||
<label for='f_container_primary_photo'> *{% trans 'Photo principale' %}
|
||||
<label for='f_container_primary_photo'> *{{ 'Photo principale' | trans }}
|
||||
<br/>
|
||||
<span class='form_error'> </span>
|
||||
</label>
|
||||
@@ -52,8 +52,8 @@
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class='column_right'>
|
||||
<button class="form_submitter btn btn-inverse">{% trans 'boutton::valider' %}</button>
|
||||
<button class="back_link btn btn-inverse">{% trans 'boutton::retour' %}</button>
|
||||
<button class="form_submitter btn btn-inverse">{{ 'boutton::valider' | trans }}</button>
|
||||
<button class="back_link btn btn-inverse">{{ 'boutton::retour' | trans }}</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
|
||||
{% set n_element = elements|length %}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<input type="hidden" name="elements_list[]" value="{{id}}"/>
|
||||
{% endfor %}
|
||||
<input type="hidden" name="destination" value="{{ destination }}" />
|
||||
<button class="form_submitter btn btn-inverse">{% trans 'boutton::valider' %}</button>
|
||||
<button class="back_link btn btn-inverse">{% trans 'boutton::retour' %}</button>
|
||||
<button class="form_submitter btn btn-inverse">{{ 'boutton::valider' | trans }}</button>
|
||||
<button class="back_link btn btn-inverse">{{ 'boutton::retour' | trans }}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
{% import "common/thumbnail.html.twig" as thumb %}
|
||||
{% import "prod/actions/Bridge/macro_error_form.html.twig" as error_form %}
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
{% set elements_received_length = route.get_count_element_received() %}
|
||||
|
||||
{% if elements_received_length == 0 %}
|
||||
{% trans 'Vous n\'avez selectionne aucun element' %}
|
||||
{{ 'Vous n\'avez selectionne aucun element' | trans }}
|
||||
{% elseif elements_length == 0 %}
|
||||
{% trans 'Les elements ne peuvent etre uploades (problemes de type ou de droit)' %}
|
||||
{% trans 'Le bridge FlickR ne prend en charge que les photos' %}
|
||||
{{ 'Les elements ne peuvent etre uploades (problemes de type ou de droit)' | trans }}
|
||||
{{ 'Le bridge FlickR ne prend en charge que les photos' | trans }}
|
||||
{% else %}
|
||||
{% if elements_length != elements_received_length %}
|
||||
{% set n_elements = elements_received_length - elements_length %}
|
||||
@@ -42,7 +42,7 @@
|
||||
</td>
|
||||
<td style="width:100px;">
|
||||
{% set name = "title_" ~ record.get_serialize_key() %}
|
||||
<label for='{{name}}'>{% trans 'Titre' %}</label>
|
||||
<label for='{{name}}'>{{ 'Titre' | trans }}</label>
|
||||
</td>
|
||||
<td style="width:180px;">
|
||||
<input class="required_field" style="width:150px;" type='text' name='{{name}}' value="{{ caption.get_dc_field('Title') is not none ? caption.get_dc_field('Title').get_serialized_values()|default(record.get_title()) : record.get_title() }}"/>
|
||||
@@ -55,7 +55,7 @@
|
||||
<tr>
|
||||
<td>
|
||||
{% set name = "description_" ~ record.get_serialize_key() %}
|
||||
<label for='{{ name }}'>{% trans 'Description' %}
|
||||
<label for='{{ name }}'>{{ 'Description' | trans }}
|
||||
<br>
|
||||
<span class='form_error'> </span>
|
||||
</label>
|
||||
@@ -71,7 +71,7 @@
|
||||
<tr>
|
||||
<td>
|
||||
{% set name = "tags_" ~ record.get_serialize_key() %}
|
||||
<label for='{{ name }}'>{% trans 'Tags' %}</label>
|
||||
<label for='{{ name }}'>{{ 'Tags' | trans }}</label>
|
||||
</td>
|
||||
<td>
|
||||
<input class='required_field' type='text' style="width:150px;" name='{{ name }}' value="{{ caption.get_dc_field('Subject') is not none ? caption.get_dc_field('Subject').get_serialized_values(' ') : '' }}"/>
|
||||
@@ -79,14 +79,14 @@
|
||||
{{ error_form.display_errors(name, constraint_errors) }}
|
||||
</td>
|
||||
<td>
|
||||
{% trans "2000 caracteres maximum, separe par des espaces" %}
|
||||
{{ "2000 caracteres maximum, separe par des espaces" | trans }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<button class="form_submitter">{% trans 'Upload' %}</button>
|
||||
<button class="form_submitter">{{ 'Upload' | trans }}</button>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<td>
|
||||
<form class="action_works_standalone action_works_single_element action_works_many_element" method="GET" action="{{ path('bridge_account_action', { 'account_id' : account.get_id(), 'action' : 'createcontainer', 'element_type' : action_type }) }}">
|
||||
<a class="form_multiple_submitter single_menu btn btn-inverse">
|
||||
{% trans 'Creer' %}
|
||||
{{ 'Creer' | trans }}
|
||||
</a>
|
||||
</form>
|
||||
</td>
|
||||
@@ -9,7 +9,7 @@
|
||||
<div class="multi_menu">
|
||||
<div class="btn-group">
|
||||
<button class="trigger btn btn-inverse dropdown-toggle" data-toggle="dropdown">
|
||||
{% trans 'Actions' %}
|
||||
{{ 'Actions' | trans }}
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
@@ -18,7 +18,7 @@
|
||||
<input type="hidden" name="elements_list" value="" />
|
||||
<input type="hidden" name="destination" value="" />
|
||||
<a class="form_multiple_submitter">
|
||||
{% trans 'boutton::supprimer' %}
|
||||
{{ 'boutton::supprimer' | trans }}
|
||||
</a>
|
||||
</form>
|
||||
</li>
|
||||
|
@@ -1 +1 @@
|
||||
<a class="action_type_modify bridge_action" href="{{ path('bridge_account_action', { 'account_id' : account.get_id(), 'action' : 'modify', 'element_type' : element.get_type(), 'elements_list' : [ element.get_id ] }) }}">{% trans 'boutton::modifier' %}</a>
|
||||
<a class="action_type_modify bridge_action" href="{{ path('bridge_account_action', { 'account_id' : account.get_id(), 'action' : 'modify', 'element_type' : element.get_type(), 'elements_list' : [ element.get_id ] }) }}">{{ 'boutton::modifier' | trans }}</a>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<div class="multi_menu">
|
||||
<div class="btn-group">
|
||||
<button class="trigger btn btn-inverse dropdown-toggle" data-toggle="dropdown">
|
||||
{% trans 'Ajouter a' %}
|
||||
{{ 'Ajouter a' | trans }}
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
@@ -11,7 +11,7 @@
|
||||
<input type="hidden" name="elements_list" value="" />
|
||||
<input type="hidden" name="destination" value="{{ constant('Bridge_Api_Youtube::CONTAINER_TYPE_PLAYLIST') }}" />
|
||||
<a class="form_multiple_submitter">
|
||||
{% trans 'Playlist' %}
|
||||
{{ 'Playlist' | trans }}
|
||||
</a>
|
||||
</form>
|
||||
</li>
|
||||
@@ -23,7 +23,7 @@
|
||||
<div class="multi_menu">
|
||||
<div class="btn-group">
|
||||
<button class="trigger btn btn-inverse dropdown-toggle" data-toggle="dropdown">
|
||||
{% trans 'Actions' %}
|
||||
{{ 'Actions' | trans }}
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
@@ -32,7 +32,7 @@
|
||||
<input type="hidden" name="elements_list" value="" />
|
||||
<input type="hidden" name="destination" value="" />
|
||||
<a class="form_multiple_submitter">
|
||||
{% trans 'boutton::supprimer' %}
|
||||
{{ 'boutton::supprimer' | trans }}
|
||||
</a>
|
||||
</form>
|
||||
</li>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
|
||||
{% block menu %}
|
||||
{% trans %}
|
||||
@@ -12,7 +12,7 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td class='column_left'>
|
||||
<label for='f_container_title'> *{% trans 'Titre' %}
|
||||
<label for='f_container_title'> *{{ 'Titre' | trans }}
|
||||
<br/>
|
||||
<span class='form_error'> </span>
|
||||
</label>
|
||||
@@ -23,7 +23,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='column_left'>
|
||||
<label for='f_container_description'> {% trans 'Description' %}
|
||||
<label for='f_container_description'> {{ 'Description' | trans }}
|
||||
<br/>
|
||||
<span class='form_error'> </span>
|
||||
</label>
|
||||
@@ -35,8 +35,8 @@
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class='column_right'>
|
||||
<button class="form_submitter btn btn-inverse">{% trans 'boutton::valider' %}</button>
|
||||
<button class="back_link btn btn-inverse">{% trans 'boutton::retour' %}</button>
|
||||
<button class="form_submitter btn btn-inverse">{{ 'boutton::valider' | trans }}</button>
|
||||
<button class="back_link btn btn-inverse">{{ 'boutton::retour' | trans }}</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
|
||||
{% set n_element = elements|length %}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<input type="hidden" name="elements_list[]" value="{{id}}"/>
|
||||
{% endfor %}
|
||||
<input type="hidden" name="destination" value="{{ destination }}" />
|
||||
<button class="form_submitter btn btn-inverse">{% trans 'boutton::valider' %}</button>
|
||||
<button class="back_link btn btn-inverse">{% trans 'boutton::retour' %}</button>
|
||||
<button class="form_submitter btn btn-inverse">{{ 'boutton::valider' | trans }}</button>
|
||||
<button class="back_link btn btn-inverse">{{ 'boutton::retour' | trans }}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
{% import "prod/actions/Bridge/macro_error_form.html.twig" as error_form %}
|
||||
|
||||
{% block menu %}
|
||||
@@ -12,12 +12,12 @@
|
||||
{% set elements_received_length = route.get_count_element_received() %}
|
||||
|
||||
{% if elements_received_length == 0 %}
|
||||
{% trans 'Vous n\'avez selectionne aucun element' %}
|
||||
{{ 'Vous n\'avez selectionne aucun element' | trans }}
|
||||
{% elseif elements_length == 0 %}
|
||||
{% trans 'Les elements ne peuvent etre uploades (problemes de type ou de droit)' %}
|
||||
{% trans 'Le bridge Youtube ne prend en charge que les videos' %}
|
||||
{{ 'Les elements ne peuvent etre uploades (problemes de type ou de droit)' | trans }}
|
||||
{{ 'Le bridge Youtube ne prend en charge que les videos' | trans }}
|
||||
{% elseif elements_length > 1 %}
|
||||
{% trans 'Vous ne pouvez uploader des elements sur Youtube qu\'un par un' %}
|
||||
{{ 'Vous ne pouvez uploader des elements sur Youtube qu\'un par un' | trans }}
|
||||
{% else %}
|
||||
{% for record in route.get_elements() %}
|
||||
{% set caption = record.get_caption() %}
|
||||
@@ -28,9 +28,9 @@
|
||||
<tr>
|
||||
<td>
|
||||
{% set name = "title_" ~ record.get_serialize_key() %}
|
||||
<label for='{{name}}'>{% trans 'Titre' %}</label>
|
||||
<label for='{{name}}'>{{ 'Titre' | trans }}</label>
|
||||
<div style="font-size:9px; font-weight:200">
|
||||
{% trans "100 caracteres maximum" %}
|
||||
{{ "100 caracteres maximum" | trans }}
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
@@ -43,9 +43,9 @@
|
||||
<tr>
|
||||
<td>
|
||||
{% set name = "description_" ~ record.get_serialize_key() %}
|
||||
<label for='{{ name }}'>{% trans 'Description' %}</label>
|
||||
<label for='{{ name }}'>{{ 'Description' | trans }}</label>
|
||||
<div style="font-size:9px; font-weight:200">
|
||||
{% trans "2000 caracteres maximum" %}
|
||||
{{ "2000 caracteres maximum" | trans }}
|
||||
</div>
|
||||
</td>
|
||||
<td class='column_right'>
|
||||
@@ -57,7 +57,7 @@
|
||||
<tr>
|
||||
<td>
|
||||
{% set name = "category_" ~ record.get_serialize_key() %}
|
||||
<label for='{{ name }}'>{% trans 'Categorie' %}</label>
|
||||
<label for='{{ name }}'>{{ 'Categorie' | trans }}</label>
|
||||
</td>
|
||||
<td class='column_right'>
|
||||
<select name='{{ name }}'>
|
||||
@@ -70,11 +70,11 @@
|
||||
<tr>
|
||||
<td>
|
||||
{% set name = "tags_" ~ record.get_serialize_key() %}
|
||||
<label for='{{ name }}'>{% trans 'Tags' %}</label>
|
||||
<label for='{{ name }}'>{{ 'Tags' | trans }}</label>
|
||||
<br/>
|
||||
<div style="font-size:9px; font-weight:200">
|
||||
{% trans "500 caracteres maximum" %} <br/>
|
||||
{% trans "separe par un espace" %}
|
||||
{{ "500 caracteres maximum" | trans }} <br/>
|
||||
{{ "separe par un espace" | trans }}
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
@@ -86,21 +86,21 @@
|
||||
<tr>
|
||||
<td>
|
||||
{% set name = "privacy_" ~ record.get_serialize_key() %}
|
||||
<label for='{{ name }}'>{% trans 'Confidentialite' %}</label>
|
||||
<label for='{{ name }}'>{{ 'Confidentialite' | trans }}</label>
|
||||
</td>
|
||||
<td>
|
||||
<div style='float:left'>
|
||||
<label for="input_private">{% trans 'prive' %}</label>
|
||||
<label for="input_private">{{ 'prive' | trans }}</label>
|
||||
<input id="input_private" type="radio" name="{{ name }}" value="private" checked='checked' />
|
||||
</div>
|
||||
<div style='float:left'>
|
||||
<label for="input_public">{% trans 'public' %}</label>
|
||||
<label for="input_public">{{ 'public' | trans }}</label>
|
||||
<input id="input_public" type="radio" name="{{ name }}" value="public "/>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<button class="form_submitter">{% trans 'Upload' %}</button>
|
||||
<button class="form_submitter">{{ 'Upload' | trans }}</button>
|
||||
</form>
|
||||
{% endfor %}
|
||||
<p>
|
||||
@@ -123,6 +123,6 @@
|
||||
</script>
|
||||
{% endif %}
|
||||
<p>
|
||||
<button class="back_link btn btn-inverse">< {% trans 'Retour' %}</button>
|
||||
<button class="back_link btn btn-inverse">< {{ 'Retour' | trans }}</button>
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
|
||||
{% set n_element = elements|length %}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<input type="hidden" name="elements_list[]" value="{{id}}"/>
|
||||
{% endfor %}
|
||||
<input type="hidden" name="destination" value="{{ destination }}" />
|
||||
<button class="form_submitter btn btn-inverse">{% trans 'boutton::valider' %}</button>
|
||||
<button class="back_link btn btn-inverse">{% trans 'boutton::retour' %}</button>
|
||||
<button class="form_submitter btn btn-inverse">{{ 'boutton::valider' | trans }}</button>
|
||||
<button class="back_link btn btn-inverse">{{ 'boutton::retour' | trans }}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
{% import "prod/actions/Bridge/macro_error_form.html.twig" as error_form %}
|
||||
|
||||
{% block menu %}
|
||||
@@ -10,7 +10,7 @@
|
||||
{% trans %}Edition de 1 element{% endtrans %} :
|
||||
</td>
|
||||
<td style="text-align:right;">
|
||||
<a class="back_link" style="cursor: pointer;">{% trans 'boutton::annuler' %}</a>
|
||||
<a class="back_link" style="cursor: pointer;">{{ 'boutton::annuler' | trans }}</a>
|
||||
</td>
|
||||
<td style="width:10px;">
|
||||
</td>
|
||||
@@ -21,28 +21,28 @@
|
||||
{% block response %}
|
||||
<form class="form_add_container bridge_form form-horizontal" action="{{ path('bridge_account_do_action', { 'account_id' : account.get_id(), 'action' : action, 'element_type' : element_type }) }}" method="post">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="modif_title">{% trans 'Titre' %}</label>
|
||||
<label class="control-label" for="modif_title">{{ 'Titre' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input name="modif_title" type="text" value="{{ element.get_title }}" />
|
||||
<p>{{ error_form.display_errors('title', constraint_errors) }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="modif_description">{% trans 'Description' %}</label>
|
||||
<label class="control-label" for="modif_description">{{ 'Description' | trans }}</label>
|
||||
<div class="controls">
|
||||
<textarea name="modif_description" rows="3" >{{ element.get_description|default("") }}</textarea>
|
||||
<p>{{ error_form.display_errors('description', constraint_errors) }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="modif_tags">{% trans 'Tags' %}</label>
|
||||
<label class="control-label" for="modif_tags">{{ 'Tags' | trans }}</label>
|
||||
<div class="controls">
|
||||
<textarea name="modif_tags" rows="3" >{{ element.get_tags()|default("") }}</textarea>
|
||||
<p>{{ error_form.display_errors('tags', constraint_errors) }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="modif_category">{% trans 'Categorie' %}</label>
|
||||
<label class="control-label" for="modif_category">{{ 'Categorie' | trans }}</label>
|
||||
<div class="controls">
|
||||
{% set categorie = account.get_api().get_connector.get_category_list() %}
|
||||
<select name="modif_category">
|
||||
@@ -53,22 +53,22 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'Confidentialite' %}</label>
|
||||
<label class="control-label">{{ 'Confidentialite' | trans }}</label>
|
||||
<div class="controls">
|
||||
<label class="radio inline bridge_fleft">
|
||||
<input type="radio" name="modif_privacy" value="private" {{ element.is_private ? "checked='checked'" : "" }} />
|
||||
{% trans 'privé' %}
|
||||
{{ 'privé' | trans }}
|
||||
</label>
|
||||
<label class="radio inline bridge_fleft">
|
||||
<input type="radio" name="modif_privacy" value="public" {{ element.is_private ? "" : "checked='checked'" }} />
|
||||
{% trans 'public' %}
|
||||
{{ 'public' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-actions">
|
||||
<input type="hidden" name="elements_list[]" value="{{ element.get_id }}" />
|
||||
<button class="form_submitter btn btn-inverse">{% trans 'boutton::valider' %}</button>
|
||||
<button class="back_link btn btn-inverse">{% trans 'boutton::annuler' %}</button>
|
||||
<button class="form_submitter btn btn-inverse">{{ 'boutton::valider' | trans }}</button>
|
||||
<button class="back_link btn btn-inverse">{{ 'boutton::annuler' | trans }}</button>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
|
||||
{% set n_element = elements|length %}
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<input type="hidden" name="destination" value="{{ destination }}" />
|
||||
<button class="form_submitter btn btn-inverse">{% trans 'boutton::valider' %}</button>
|
||||
<button class="back_link btn btn-inverse">{% trans 'boutton::retour' %}</button>
|
||||
<button class="form_submitter btn btn-inverse">{{ 'boutton::valider' | trans }}</button>
|
||||
<button class="back_link btn btn-inverse">{{ 'boutton::retour' | trans }}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
@@ -15,17 +15,17 @@
|
||||
<body>
|
||||
{% if error_message %}
|
||||
<div>
|
||||
{% trans 'Erreur lors de votre authentification' %}
|
||||
{{ 'Erreur lors de votre authentification' | trans }}
|
||||
</div>
|
||||
<div class = 'error_auth'>
|
||||
{{ error_message }}
|
||||
</div>
|
||||
{% else %}
|
||||
<div>
|
||||
{% trans 'Vous etes authentifie avec succes' %}
|
||||
{{ 'Vous etes authentifie avec succes' | trans }}
|
||||
</div>
|
||||
<div>
|
||||
{% trans 'Si cette fenetre ne se ferme pas automatiquement, fermez la, et raffraichissez votre compte' %}
|
||||
{{ 'Si cette fenetre ne se ferme pas automatiquement, fermez la, et raffraichissez votre compte' | trans }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</body>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<div class="PNB10 container-bridge">
|
||||
<div class="PNB">
|
||||
<p style="text-align:center;margin:40px 20px 20px;">
|
||||
{% trans 'Vous etes actuellement deconnecte de votre compte, vous devez vous connecter pour continuer' %}
|
||||
{{ 'Vous etes actuellement deconnecte de votre compte, vous devez vous connecter pour continuer' | trans }}
|
||||
</p>
|
||||
<table style="width:300px;margin:10px auto;">
|
||||
<tbody>
|
||||
@@ -9,7 +9,7 @@
|
||||
<td>
|
||||
<form>
|
||||
<button class="login_button new_bridge_button btn btn-inverse">
|
||||
{% trans 'login:: connexion' %}
|
||||
{{ 'login:: connexion' | trans }}
|
||||
</button>
|
||||
<input type="hidden" name="url" value="{{account.get_api().generate_login_url(app['url_generator'], account.get_api().get_connector().get_name()) }}" />
|
||||
</form>
|
||||
@@ -19,11 +19,11 @@
|
||||
{% for key, value in r_parameters %}
|
||||
<input type="hidden" name="{{key}}" value="{{value}}" />
|
||||
{% endfor %}
|
||||
<button class="form_submitter single_menu btn btn-inverse" >{% trans 'boutton::refresh' %}</button>
|
||||
<button class="form_submitter single_menu btn btn-inverse" >{{ 'boutton::refresh' | trans }}</button>
|
||||
</form>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="delete-account btn btn-danger" value="{{ account.get_id() }}">{% trans 'boutton::supprimer' %}</button>
|
||||
<button type="button" class="delete-account btn btn-danger" value="{{ account.get_id() }}">{{ 'boutton::supprimer' | trans }}</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@@ -56,7 +56,7 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
<span>{% trans 'Imagette indisponible' %}</span>
|
||||
<span>{{ 'Imagette indisponible' | trans }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="informations">
|
||||
@@ -77,7 +77,7 @@
|
||||
{% if element.get_description is not empty %}
|
||||
{{element.get_description}}
|
||||
{% else %}
|
||||
{% trans 'Aucune description.' %}
|
||||
{{ 'Aucune description.' | trans }}
|
||||
{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
@@ -95,9 +95,9 @@
|
||||
{% if not element.is_private is none %}
|
||||
<div>
|
||||
{% if element.is_private %}
|
||||
{% trans 'Confidentialite : privee' %}
|
||||
{{ 'Confidentialite : privee' | trans }}
|
||||
{% else %}
|
||||
{% trans 'Confidentialite : publique' %}
|
||||
{{ 'Confidentialite : publique' | trans }}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig"%}
|
||||
{% extends "prod/actions/Bridge/wrapper.html.twig" %}
|
||||
|
||||
{% set n_element = elements|length %}
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
|
||||
{% block response %}
|
||||
<div style="text-align:center;margin:10px 0;">
|
||||
{% trans 'Oups ! something went wrong !' %}
|
||||
{{ 'Oups ! something went wrong !' | trans }}
|
||||
</div>
|
||||
<div style="text-align:center;margin:10px 0;">
|
||||
<form method="{{r_method}}" action="{{r_action}}">
|
||||
{% for key, value in r_parameters %}
|
||||
<input type="hidden" name="{{key}}" value="{{value}}" />
|
||||
{% endfor %}
|
||||
<button class="form_submitter" >{% trans 'boutton::retry' %}</button>
|
||||
<button class="form_submitter" >{{ 'boutton::retry' | trans }}</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
<form name="upload_form" method="GET" action="{{ path('prod_bridge_upload') }}">
|
||||
<div class="PNB10 record_actions" style="top:auto; height:30px; text-align:right;">
|
||||
<button class="single_menu act_upload btn btn-inverse">{% trans 'Upload' %}</button>
|
||||
<button class="single_menu act_upload btn btn-inverse">{{ 'Upload' | trans }}</button>
|
||||
</div>
|
||||
<input name="lst" type="hidden" value=""/>
|
||||
<input name="account_id" type="hidden" value=""/>
|
||||
@@ -38,14 +38,14 @@
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li>
|
||||
<a href="#tabs-new-account"> + {% trans 'nouveau' %}</a>
|
||||
<a href="#tabs-new-account"> + {{ 'nouveau' | trans }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div id='tabs-new-account' class="PNB" >
|
||||
<div class="PNB">
|
||||
<div class="PNB10 container">
|
||||
<div class="PNB10">
|
||||
<div>{% trans 'Vers quel API voulez vous vous connecter ?' %}</div>
|
||||
<div>{{ 'Vers quel API voulez vous vous connecter ?' | trans }}</div>
|
||||
{% if available_apis|length > 0 %}
|
||||
{% for api in available_apis %}
|
||||
{% if api.get_connector().is_configured() %}
|
||||
@@ -69,7 +69,7 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
{% trans 'Aucun bridge disponible. Veuillez contacter un administrateur.' %}
|
||||
{{ 'Aucun bridge disponible. Veuillez contacter un administrateur.' | trans }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<div class="PNB10 container-bridge">
|
||||
<div class="PNB">
|
||||
<p style="text-align:center;margin:40px 20px 20px;">
|
||||
{% trans 'Le connecteur API requis n\'est pas configure correctement, veuillez contacter un administrateur' %}
|
||||
{{ 'Le connecteur API requis n\'est pas configure correctement, veuillez contacter un administrateur' | trans }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{% macro paginator(npages, page, url) %}
|
||||
{% trans 'Page' %}
|
||||
{{ 'Page' | trans }}
|
||||
{% if npages > 1 %}
|
||||
{% set d2top = (npages - page) %}
|
||||
{% set d2bottom = (page -1 ) %}
|
||||
|
@@ -81,11 +81,11 @@
|
||||
{% if element.get_status is constant('Bridge_Element::STATUS_DONE') %}
|
||||
OK
|
||||
{% elseif element.get_status is constant('Bridge_Element::STATUS_PENDING') %}
|
||||
{% trans 'En attente' %}
|
||||
{{ 'En attente' | trans }}
|
||||
{% elseif element.get_status is constant('Bridge_Element::STATUS_PROCESSING') %}
|
||||
{% trans 'En cours d\'envoi' %}
|
||||
{{ 'En cours d\'envoi' | trans }}
|
||||
{% elseif element.get_status is constant('Bridge_Element::STATUS_PROCESSING_SERVER') %}
|
||||
{% trans 'En cours d\'encodage' %}
|
||||
{{ 'En cours d\'encodage' | trans }}
|
||||
{% else %}
|
||||
{{ account.get_api().get_error_message_from_status(element.get_connector_status()) }}
|
||||
{% endif %}
|
||||
|
@@ -21,14 +21,14 @@
|
||||
{% if not loop.last %} - {% endif %}
|
||||
{% endfor %}
|
||||
<a class="{% if adapter_action == 'load-records' %} selected {% endif %} bridge_action bridge_title" href="{{ path('prod_bridge_account_loadrecords', { 'account_id' : account.get_id() }) }}">
|
||||
{% trans 'Fichiers envoyes' %}
|
||||
{{ 'Fichiers envoyes' | trans }}
|
||||
</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td style="text-align:right;">
|
||||
{% if account is not none %}
|
||||
<a class="bridge_action bridge_logout" href="{{ path('prod_bridge_account_logout', { 'account_id' : account.get_id() }) }}">
|
||||
{% trans 'phraseanet:: deconnection' %}
|
||||
{{ 'phraseanet:: deconnection' | trans }}
|
||||
</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
@@ -63,7 +63,7 @@
|
||||
{% if account is not none %}
|
||||
{% if account.get_api().get_connector().get_terms_url() %}
|
||||
<a href="{{ account.get_api().get_connector().get_terms_url() }}" target="_blank">
|
||||
{% trans 'Terms of service' %}
|
||||
{{ 'Terms of service' | trans }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user