Sha256: b8705a955c0044b6137b1dd972591ac994832b7c75c98f38cdd89c2697d45566

Contents?: true

Size: 755 Bytes

Versions: 4

Compression:

Stored size: 755 Bytes

Contents

<%= content_tag(:li, :class => page_navigation_css_class(page)) do %>
  <%= link_to "##{page.perma_id}", :data => {:link => page.id, :chapter_id => page.chapter_id} do %>
    <%= page.title %>
  <% end %>
  <div class="navigation_site_detail progress_navigation">
    <% if chapters_count > 1 %>
    <div class="chapter">
      <span class="chapter_number"><%= "#{I18n.t('pageflow.public.chapter')} #{page.chapter.position + 1}" %></span>
      <span class="chapter_title"><%= page.chapter.title %></span>
      <hr />
    </div>
    <% end %>
    <%= page.title %>
    <div class="thumbnail is_<%= page.template %>">
      <%= image_tag('', data: {src: asset_path(page_thumbnail_url(page, :navigation_thumbnail_large))}) %>
    </div>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pageflow-progress-navigation-bar-1.9.0 app/views/pageflow/progress_navigation_bar/widget/_page.html.erb
pageflow-progress-navigation-bar-1.8.0 app/views/pageflow/progress_navigation_bar/widget/_page.html.erb
pageflow-progress-navigation-bar-1.7.0 app/views/pageflow/progress_navigation_bar/widget/_page.html.erb
pageflow-progress-navigation-bar-1.6.0 app/views/pageflow/progress_navigation_bar/widget/_page.html.erb