Sha256: e0bf8701a88cc8e419240176958a95c4dbe10ab7869246f4e38b8a9fb227eafd

Contents?: true

Size: 480 Bytes

Versions: 15

Compression:

Stored size: 480 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.present? %>
      <%= image_tag organization.logo.medium.url, alt: t("logo", scope: "decidim.accessibility", organization: organization.name) %>
    <% else %>
      <span><%= organization.name %></span>
    <% end %>
  <% end %>
<% else %>
  <%= Decidim.application_name %>
<% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
decidim-core-0.24.3 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.23.6 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.24.2 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.23.5 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.24.1 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.24.0 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.24.0.rc2 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.23.4 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.24.0.rc1 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.23.3 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.23.2 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.23.1 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.23.1.rc1 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.23.0 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.22.0 app/views/layouts/decidim/_logo.html.erb