La page de modération évolue visuellement

This commit is contained in:
echarp 2014-07-26 11:50:16 +02:00
parent f84df7f63e
commit b3a07f16cc
1 changed files with 11 additions and 5 deletions

View File

@ -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'