Sha256: 23aea6fdcbce9f488a519474889d518e3a38fc08332880a3128b2cb582572bf3

Contents?: true

Size: 1.08 KB

Versions: 4

Compression:

Stored size: 1.08 KB

Contents

<ul class="nav hidden-xs" id="lg-menu">
  <li>
    <%= link_to(new_dirmon_entry_path) do %>
      <i class="fa fa-plus"></i>Create
    <% end %>
    <%= link_to(dirmon_entries_path) do %>
      <i class="fa fa-list"></i>All
    <% end %>
  </li>
  <% RocketJob::DirmonEntry.aasm.states.map { |s| s.name.to_s }.each do |state| %>
    <li class="<%= state %>">
      <%= link_to("#{state}_dirmon_entries".to_sym) do %>
        <i class="fa <%= state_icon(state) %>"></i> <%= state.capitalize %> (<%= dirmon_counts_by_state(state) %>)
      <% end %>
    </li>
  <% end %>
</ul>

<!-- tiny only nav -->

<ul class="nav visible-xs" id="xs-menu">
  <li>
    <%= link_to(new_dirmon_entry_path) do %>
      <i class="fa fa-plus"></i>
    <% end %>
    <%= link_to(dirmon_entries_path) do %>
      <i class="fa fa-list"></i>
    <% end %>
  </li>
  <% RocketJob::DirmonEntry.aasm.states.map { |s| s.name.to_s }.each do |state| %>
    <li class="<%= state %>">
      <%= link_to("#{state}_dirmon_entries".to_sym) do %>
        <i class="fa <%= state_icon(state) %>"></i>
      <% end %>
    </li>
  <% end %>
</ul>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rocketjob_mission_control-3.0.3 app/views/rocket_job_mission_control/dirmon_entries/_sidebar.html.erb
rocketjob_mission_control-3.0.2 app/views/rocket_job_mission_control/dirmon_entries/_sidebar.html.erb
rocketjob_mission_control-3.0.1 app/views/rocket_job_mission_control/dirmon_entries/_sidebar.html.erb
rocketjob_mission_control-3.0.0 app/views/rocket_job_mission_control/dirmon_entries/_sidebar.html.erb