Always set translations
This commit is contained in:
parent
366734ca5e
commit
bfcae7fd80
1 changed files with 5 additions and 5 deletions
|
|
@ -4,14 +4,14 @@
|
||||||
|
|
||||||
- content_for :head do
|
- content_for :head do
|
||||||
=javascript_include_tag 'aspect-contacts'
|
=javascript_include_tag 'aspect-contacts'
|
||||||
- if aspect != :all && aspect.contacts.count == 0
|
|
||||||
:javascript
|
:javascript
|
||||||
$(document).ready(function(){
|
|
||||||
EditPane.setTranslations({
|
EditPane.setTranslations({
|
||||||
doneEditing: "#{t('.done_editing')}",
|
doneEditing: "#{t('.done_editing')}",
|
||||||
editAspect:"#{t('aspects.show.edit_aspect')}"
|
editAspect:"#{t('aspects.show.edit_aspect')}"
|
||||||
});
|
});
|
||||||
|
- if aspect != :all && aspect.contacts.count == 0
|
||||||
|
:javascript
|
||||||
|
$(document).ready(function(){
|
||||||
EditPane.fadeIn();
|
EditPane.fadeIn();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue