Addition of an edition link directly on the organisations listing. Refs #22

This commit is contained in:
echarp 2015-12-27 16:29:11 +01:00
parent 79cb273d2c
commit f3fce5fc6c
3 changed files with 7 additions and 4 deletions

View File

@ -15,6 +15,7 @@
%th= sort_link @search, :updated_at, Orga.human_attribute_name(:updated_at)
%th/
%th/
%th/
%tbody
- @orgas.each do |orga|
@ -37,8 +38,10 @@
= link_to orga.url do
%em.fa.fa-external-link
%td
= link_to orga_path(orga, q: params[:q], page: params[:page]),
class: :view_link do
= link_to orga_path(orga, q: params[:q], page: params[:page]) do
%em.fa.fa-eye
%td
= link_to edit_orga_path orga do
%em.fa.fa-pencil
= paginate @orgas

View File

@ -220,7 +220,7 @@ description."
ko: Moderation
maps:
index:
title: Events map
title: Map of the Free
events: Events
orgas: Organiser
users:

View File

@ -221,7 +221,7 @@ description plus complète."
ko: Modération
maps:
index:
title: Carte des événements
title: Carte du Libre
events: Événements
orgas: Orga
users: