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

Placeholder views for contacts_visible in aspects

parent a8306f9f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -15,6 +15,11 @@
%hr
= form_for aspect do |asp|
= asp.text_field :name, :value => aspect.name
= t('aspects.contacts_visible')
= aspect.check_box :contacts_visible, :default => true
%br
= t('aspects.contacts_not_visible')
-#contacts_visible should be editable here
= asp.submit t('aspects.edit.rename_aspect')
%hr
......
......@@ -12,5 +12,9 @@
%p
= aspect.label :name , t('.name')
= aspect.text_field :name, :maxlength => 20
= t('aspects.contacts_visible')
= aspect.check_box :contacts_visible, :default => true
%br
= t('aspects.contacts_not_visible')
= aspect.submit t('.create'), :class => 'button'
......@@ -138,6 +138,8 @@ en:
all_contacts: "All contacts"
cannot_remove: "Cannot remove person from last aspect. (If you want to disconnect from this person you must remove contact.)"
aspects:
contacts_visible: "Contacts in this aspect will be able to see each other."
contacts_not_visible: "Contacts in this aspect will not be able to see each other."
edit:
remove_aspect: "Delete this aspect"
confirm_remove_aspect: "Are you sure you want to delete this aspect?"
......@@ -166,6 +168,7 @@ en:
new_aspect:
name: "Name"
create: "Create"
create:
success: "Your new aspect %{name} was created"
failure: "Aspect creation failed."
......
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