Sha256: 19809b8c6d3e1914cbd276af2cddf3c0b080ac95e06a5d519dd92c2fd82375dc

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 KB

Contents

<% essentials_section.render do %>
  <section id="essentials-section" class="certification-content">
    <h2><%= t 'woople_theme.dashboards.member.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.dashboards.member.essentials_section.remaining_tab_name' %></a></li>
    <% end %>
    <% essentials_section.render_completed do %>
      <li><a href="#essentials_completed" data-toggle="tab"><%= t 'woople_theme.dashboards.member.essentials_section.completed_tab_name' %></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

1 entries across 1 versions & 1 rubygems

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