Sha256: 3716d47da452812a8bf8cd590d2ba5d74dd7bf5592fe218f2ae1914280a7656c

Contents?: true

Size: 808 Bytes

Versions: 6

Compression:

Stored size: 808 Bytes

Contents

<% content_for :title do %>
<% without = (defined?(without) && without) || [] %>
<h1 class="project-banner <%= project.color %> space-below" data-project-slug="<%= project.slug %>" data-project-color="<%= project.color %>">
  <% if defined?(subtitle) %><small><%= subtitle %></small><% end %>
  <%= project.name %><% if defined?(postfix) %><small class="colon">:</small> <small class="postfix"><%= postfix %></small><% end %>

  <% Houston.project_header_commands.each do |command| %>
    <% next if without.include?(command.slug.to_s) %>
    <% next unless command.permitted?(current_ability, project) %>
    <%= render partial: command.partial, locals: { project: project } %>
  <% end %>
  <%= render partial: "projects/keyboard_shortcuts" unless without.include?("keyboard_shortcuts") %>
</h1>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
houston-core-0.8.4 app/views/projects/_header.html.erb
houston-core-0.8.3 app/views/projects/_header.html.erb
houston-core-0.8.2 app/views/projects/_header.html.erb
houston-core-0.8.1 app/views/projects/_header.html.erb
houston-core-0.8.0 app/views/projects/_header.html.erb
houston-core-0.8.0.pre2 app/views/projects/_header.html.erb