Sha256: 7a014e471b162ec7f37e5108d901907c7dc536c5fb829abb89eba0482f7b82c7

Contents?: true

Size: 830 Bytes

Versions: 5

Compression:

Stored size: 830 Bytes

Contents

<% if organization %>
  <%= link_to decidim.root_url(host: organization.host) do %>
    <% if organization.logo.present? %>
      <%= image_tag organization.logo.medium.url, alt: organization.name %>
    <% else %>
      <span><%= organization.name %></span>
      <style>
       .logo-wrapper span{
         color: white;
         font-weight: 600;
         font-size: 1.4em;
         display: inline-block;
         text-align: left;
         padding-left: 8px;
         line-height: 1;
         position: relative;
       }
       .logo-wrapper span:before{
         content: "";
         display: block;
         position: absolute;
         border-left: 4px solid white;
         height: 88%;
         top: 6%; left: 0;
       }
      </style>
    <% end %>
  <% end %>
<% else %>
  <%= Decidim.application_name %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-core-0.21.0 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.20.1 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.20.0 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.19.1 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.19.0 app/views/layouts/decidim/_logo.html.erb