Sha256: ad835a0e283088d06c424221b547167d473d80483874750b22d9b8788d598797

Contents?: true

Size: 496 Bytes

Versions: 2

Compression:

Stored size: 496 Bytes

Contents

<% if organization %>
  <%= link_to decidim.root_url(host: organization.host), "aria-label": t("front_page_link", scope: "decidim.accessibility") do %>
    <% if organization.logo.attached? %>
      <%= image_tag organization.attached_uploader(:logo).variant_url(:medium), alt: t("logo", scope: "decidim.accessibility", organization: organization.name) %>
    <% else %>
      <span><%= organization.name %></span>
    <% end %>
  <% end %>
<% else %>
  <%= Decidim.application_name %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
decidim-core-0.28.4 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.28.3 app/views/layouts/decidim/_logo.html.erb