Sha256: c48d7a5ec2b7099bbc87651b612b39b731db54ed8319c27ebf1a480a1fff2cbf

Contents?: true

Size: 512 Bytes

Versions: 10

Compression:

Stored size: 512 Bytes

Contents

<% if organization %>
  <%= link_to decidim.root_url(host: organization.host), title: t("logo", scope: "decidim.accessibility", organization: organization.name) do %>
    <% if organization.logo.attached? %>
      <%= image_tag organization.attached_uploader(:logo).variant_path(: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

10 entries across 10 versions & 1 rubygems

Version Path
decidim-core-0.26.0 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.26.0.rc2 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.26.0.rc1 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.25.2 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.25.1 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.25.0 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.25.0.rc4 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.25.0.rc3 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.25.0.rc2 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.25.0.rc1 app/views/layouts/decidim/_logo.html.erb