Browse Source

Proper url to orga or event

remotes/origin/master
echarp 3 years ago
parent
commit
7ae853db76
  1. 2
      app/views/events/show.html.haml
  2. 2
      app/views/orgas/show.html.haml

2
app/views/events/show.html.haml

@ -48,7 +48,7 @@
%p
%em.fa.fa-external-link-alt
%span.label= Event.human_attribute_name :url
= link_to @event.url
= link_to @event.url, @event.url
- if @event.contact.present?
%p
%em.fa.fa-envelope

2
app/views/orgas/show.html.haml

@ -43,7 +43,7 @@
%dt.url
%em.fa.fa-external-link-alt
= Orga.human_attribute_name :url
%dd= link_to @orga.url
%dd= link_to @orga.url, @orga.url
- if @orga.diaspora.present?
%dt.diaspora<
= Orga.human_attribute_name :diaspora

Loading…
Cancel
Save