Sha256: 156c0616ac6a3b2d23be07a2b7d7ffa78c9246b7da053379ec773a75956ea82d

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 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">
            <%= essentials_section.total_completed_minutes %>
          </div>
        </div>
      </div>
    <% end %>
  </div>
  </section>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

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