The organisations listed along events is now limited to active organisations. Refs #43
This commit is contained in:
parent
89c5329c29
commit
4ee87241df
@ -15,16 +15,14 @@
|
||||
%em.fa.fa-users
|
||||
= t '.orga-list'
|
||||
%ul.fa-ul
|
||||
- @event.region.orgas.each do |orga|
|
||||
- @event.region.orgas.select(&:active).each do |orga|
|
||||
%li
|
||||
= link_to orga do
|
||||
- if orga.kind
|
||||
%em.fa.fa-li{ class: "fa-#{orga.kind.icon}",
|
||||
title: Kind.human_attribute_name("name_#{orga.kind.name}") }
|
||||
= orga.name
|
||||
(#{orga.department})
|
||||
= link_to orga.url do
|
||||
= image_tag orga.url + '/favicon.ico', alt: '', class: :favicon
|
||||
= image_tag orga.url + '/favicon.ico', alt: '', class: :favicon
|
||||
|
||||
%h1
|
||||
%em.fa.fa-wrench
|
||||
|
@ -5,6 +5,7 @@
|
||||
#{Orga.human_attribute_name(:department).concat(':').ljust 12 } #{@orga.department}
|
||||
#{Orga.human_attribute_name(:region).concat(':').ljust 12 } #{@orga.region}
|
||||
#{Orga.human_attribute_name(:url).concat(':').ljust 12 } #{@orga.url}
|
||||
#{Orga.human_attribute_name(:diaspora).concat(':').ljust 12 } #{@orga.diaspora}
|
||||
#{Orga.human_attribute_name(:feed).concat(':').ljust 12 } #{@orga.feed}
|
||||
#{Orga.human_attribute_name(:contact).concat(':').ljust 12 } #{@orga.contact}
|
||||
#{Orga.human_attribute_name(:submitter).concat(':').ljust 12 } #{@orga.submitter}
|
||||
|
Loading…
Reference in New Issue
Block a user