Sha256: 768904e8406342ca3459270b693f1a192b2e36f4d0b75b4dcfee2b5385c4874a

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

<% essentials_section.render do %>
  <section id="<%= essentials_section.css_id %>">
  <h2><%= essentials_section.title %></h2>
  <ul class="nav nav-tabs" id="essentials_tab_nav">
    <% essentials_section.render_remaining do %>
      <li><a href="#essentials_remaining" data-toggle="tab"><%=t('woople_theme.dashboard.essentials.remaining')%></a></li>
    <% end %>
    <% essentials_section.render_completed do %>
      <li><a href="#essentials_completed" data-toggle="tab"><%=t('woople_theme.dashboard.essentials.completed')%></a></li>
    <% end %>
  </ul>
  <div class="tab-content">
    <% essentials_section.render_remaining do %>
      <div class="tab-pane" id="essentials_remaining">
      <%= content_items(essentials_section.essentials_remaining) %>
      </div>
    <% end %>
    <% essentials_section.render_completed do %>
      <div class="tab-pane" id="essentials_completed">
        <%= completed_essentials(essentials_section.essentials_completed) %>
        <div class="content-item row">
          <div class="span1 content-item-spacer">
            &nbsp;
          </div>
          <%= total_courses(essentials_section.total_completed_courses) %>
          <div class="content-item-duration span2">
            <%= I18n.t('woople_theme.dashboard.duration', count: essentials_section.total_completed_minutes) %>
          </div>
        </div>
      </div>
    <% end %>
  </div>
  </section>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
woople-theme-0.5.4 app/views/dashboard/_essentials_section.html.erb