Skip to content
Extraits de code Groupes Projets
Valider bfcae7fd rédigé par Raphael's avatar Raphael
Parcourir les fichiers

Always set translations

parent 366734ca
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -4,14 +4,14 @@ ...@@ -4,14 +4,14 @@
- content_for :head do - content_for :head do
=javascript_include_tag 'aspect-contacts' =javascript_include_tag 'aspect-contacts'
:javascript
EditPane.setTranslations({
doneEditing: "#{t('.done_editing')}",
editAspect:"#{t('aspects.show.edit_aspect')}"
});
- if aspect != :all && aspect.contacts.count == 0 - if aspect != :all && aspect.contacts.count == 0
:javascript :javascript
$(document).ready(function(){ $(document).ready(function(){
EditPane.setTranslations({
doneEditing: "#{t('.done_editing')}",
editAspect:"#{t('aspects.show.edit_aspect')}"
});
EditPane.fadeIn(); EditPane.fadeIn();
}); });
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter