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
|
%em.fa.fa-users
|
||||||
= t '.orga-list'
|
= t '.orga-list'
|
||||||
%ul.fa-ul
|
%ul.fa-ul
|
||||||
- @event.region.orgas.each do |orga|
|
- @event.region.orgas.select(&:active).each do |orga|
|
||||||
%li
|
%li
|
||||||
= link_to orga do
|
= link_to orga do
|
||||||
- if orga.kind
|
- if orga.kind
|
||||||
%em.fa.fa-li{ class: "fa-#{orga.kind.icon}",
|
%em.fa.fa-li{ class: "fa-#{orga.kind.icon}",
|
||||||
title: Kind.human_attribute_name("name_#{orga.kind.name}") }
|
title: Kind.human_attribute_name("name_#{orga.kind.name}") }
|
||||||
= orga.name
|
= orga.name
|
||||||
(#{orga.department})
|
= image_tag orga.url + '/favicon.ico', alt: '', class: :favicon
|
||||||
= link_to orga.url do
|
|
||||||
= image_tag orga.url + '/favicon.ico', alt: '', class: :favicon
|
|
||||||
|
|
||||||
%h1
|
%h1
|
||||||
%em.fa.fa-wrench
|
%em.fa.fa-wrench
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
#{Orga.human_attribute_name(:department).concat(':').ljust 12 } #{@orga.department}
|
#{Orga.human_attribute_name(:department).concat(':').ljust 12 } #{@orga.department}
|
||||||
#{Orga.human_attribute_name(:region).concat(':').ljust 12 } #{@orga.region}
|
#{Orga.human_attribute_name(:region).concat(':').ljust 12 } #{@orga.region}
|
||||||
#{Orga.human_attribute_name(:url).concat(':').ljust 12 } #{@orga.url}
|
#{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(:feed).concat(':').ljust 12 } #{@orga.feed}
|
||||||
#{Orga.human_attribute_name(:contact).concat(':').ljust 12 } #{@orga.contact}
|
#{Orga.human_attribute_name(:contact).concat(':').ljust 12 } #{@orga.contact}
|
||||||
#{Orga.human_attribute_name(:submitter).concat(':').ljust 12 } #{@orga.submitter}
|
#{Orga.human_attribute_name(:submitter).concat(':').ljust 12 } #{@orga.submitter}
|
||||||
|
Loading…
Reference in New Issue
Block a user