Sha256: c14c1ad512207268213f3abc9738bc2bfc07b72ac4edcf6ebda6d99f2c4ac5bf
Contents?: true
Size: 1.99 KB
Versions: 4
Compression:
Stored size: 1.99 KB
Contents
<section style="background-image:url('<%= current_participatory_space.attached_uploader(:banner_image).path %>');" data-conference-hero> <div class="conference__hero"> <div class="conference__hero-text"> <h1 class="h1 text-5xl"> <%= translated_attribute(current_participatory_space.title) %> </h1> <p class="conference__hero-slogan"> <% if current_participatory_space.hashtag.present? %> <span> <%= link_to "##{current_participatory_space.hashtag}", twitter_hashtag_url(current_participatory_space.hashtag), target: "_blank" %> </span> <% end %> <%= translated_attribute(current_participatory_space.slogan) %> </p> <p class="conference__hero-location"> <%= participatory_space_helpers.render_date(current_participatory_space) %> <%= " @ " + current_participatory_space.location.to_s if current_participatory_space.location %> </p> <% if current_participatory_space.registrations_enabled? %> <% if current_participatory_space.has_registration_for?(current_user) %> <%= link_to t("layouts.decidim.conference_hero.manage_registration"), decidim_conferences.conference_registration_types_path(current_participatory_space), class: "button button__lg button__primary" %> <% else %> <%= link_to t("layouts.decidim.conference_hero.register"), decidim_conferences.conference_registration_types_path(current_participatory_space), class: "button button__lg button__secondary" %> <% end %> <% end %> <% component_meeting = current_participatory_space.components.where(manifest_name: "meetings").published.first || self.try(:current_component) %> <% if component_meeting.present? %> <%= link_to translated_attribute(component_meeting.name), decidim_conferences.conference_conference_program_path(current_participatory_space, id: component_meeting.id), class: "button button__lg button__transparent" %> <% end %> </div> </div> </section>
Version data entries
4 entries across 4 versions & 1 rubygems