From b3a07f16ccdeb8b37913b2045d0ea0b33c215185 Mon Sep 17 00:00:00 2001 From: echarp Date: Sat, 26 Jul 2014 11:50:16 +0200 Subject: [PATCH] =?UTF-8?q?La=20page=20de=20mod=C3=A9ration=20=C3=A9volue?= =?UTF-8?q?=20visuellement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/moderations/index.html.haml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/app/views/moderations/index.html.haml b/app/views/moderations/index.html.haml index d153a2d9..303468e5 100644 --- a/app/views/moderations/index.html.haml +++ b/app/views/moderations/index.html.haml @@ -9,7 +9,10 @@ %thead %tr %th= Event.human_attribute_name :title - %th=t '.date' + %th + = Event.human_attribute_name :start_time + \- + = Event.human_attribute_name :end_time %th= Event.human_attribute_name :city %th= Event.human_attribute_name :related_region %th= Event.human_attribute_name :submission_time @@ -43,13 +46,13 @@ = link_to refuse_moderation_path event do %em.fa.fa-thumbs-down =t 'refuse' - %br/ + \- = link_to new_moderation_note_path event, envoiParMail: :oui do %em.fa.fa-bullhorn =t '.askInfos' - %br/ + \- = link_to new_moderation_note_path event do - %em.fa.fa-files-o + %em.fa.fa-paperclip =t '.createNote' - event.notes.each do |note| @@ -62,4 +65,7 @@ author: "#{note.author.firstname} #{note.author.lastname}", date: l(note.date, format: :at) rescue nil -.logout= link_to t('logout'), destroy_user_session_path, method: :delete +.logout + = link_to destroy_user_session_path, method: :delete do + %em.fa.fa-sign-out + =t 'logout'