Les boutons pour les notes sont plus sympas

This commit is contained in:
echarp 2014-09-20 17:47:46 +02:00
parent 3616199b43
commit 8b3c580f33
4 changed files with 15 additions and 7 deletions

View File

@ -13,7 +13,7 @@
%em.fa.fa-arrow-left %em.fa.fa-arrow-left
=t '.ko' =t '.ko'
= f.button name: :yes do = f.button do
%em.fa.fa-thumbs-up %em.fa.fa-thumbs-up
=t '.ok' =t '.ok'

View File

@ -25,10 +25,18 @@
#{t 'signature', scope: [:note_mailer, :notify]} #{t 'signature', scope: [:note_mailer, :notify]}
.actions .actions
= f.submit t('.save') = link_to moderations_url do
= link_to t('.ko'), moderations_url, class: :button %em.fa.fa-arrow-left
=t '.ko'
= f.button do
%em.fa.fa-bullhorn
=t '.save'
- else - else
.actions .actions
= f.submit t('.ok') = link_to moderations_url do
= link_to t('.ko'), moderations_url, class: :button %em.fa.fa-arrow-left
=t '.ko'
= f.button do
%em.fa.fa-bullhorn
=t '.ok'

View File

@ -191,7 +191,7 @@ don't hesitate to repeat each time these informations, they are important.
form: form:
save: Submit save: Submit
ok: Save ok: Save
ko: Cancel ko: Moderation
maps: maps:
index: index:
title: Events map title: Events map

View File

@ -198,7 +198,7 @@ Exemple: `%{daylimit}`"
form: form:
save: Envoyer save: Envoyer
ok: Enregistrer ok: Enregistrer
ko: Annuler ko: Modération
maps: maps:
index: index:
title: Carte des événements title: Carte des événements