Sha256: 2ce20a18a6d21ca3b90b0197b2a811831585326775c133360921d648f66a0bac

Contents?: true

Size: 806 Bytes

Versions: 76

Compression:

Stored size: 806 Bytes

Contents

<% if organization %>
  <%= link_to decidim.root_url(host: organization.host) do %>
    <% if organization.logo.present? %>
      <%= image_tag organization.logo.medium.url %>
    <% 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

76 entries across 76 versions & 2 rubygems

Version Path
decidim-core-0.5.0 app/views/layouts/decidim/_logo.html.erb
decidim-0.5.0 decidim-core/app/views/layouts/decidim/_logo.html.erb
decidim-core-0.4.4 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.4.2 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.4.1 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.4.3 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.4.0 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.3.2 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.3.1 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.3.0 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.2.0 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.1.0 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.0.8.1 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.0.7 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.0.6 app/views/layouts/decidim/_logo.html.erb
decidim-core-0.0.5 app/views/layouts/decidim/_logo.html.erb