Sha256: ee9dc94da4adba4f9e5b2381c5cf853660ccf0888dedbfa1cb9699f333a9c80f

Contents?: true

Size: 1.01 KB

Versions: 5

Compression:

Stored size: 1.01 KB

Contents

<%= content_tag(:div,
                class: navigation_bar_css_class(entry, class: 'progress_navigation_bar'),
                data: {widget: horizontal ? 'progress_navigation_bar_horizontal' : 'progress_navigation_bar'}) do %>
  <div class="navigation_button_area">
    <%= render 'pageflow/progress_navigation_bar/widget/bar_top', :entry => entry %>
  </div>
  <div class="scroller">
    <ul class="navigation_dots <%= entry.chapters.count > 1 ? '' : 'no_chapters' %>">
      <%= render :partial => 'pageflow/progress_navigation_bar/widget/page',
                 :collection => entry.pages.displayed_in_navigation,
                 :locals => {:image_style => :navigation_thumbnail_small, :image_width => 85, :chapters_count => entry.chapters.count} %>
    </ul>
  </div>
  <div class="header_button">
    <a class="navigation_main" tabindex="2" title="<%= t('pageflow.public.open_navigation') %>" data-active-title="<%= t('pageflow.public.close_navigation') %>">
      <span class="button"></span>
    </a>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pageflow-progress-navigation-bar-1.3.0 app/views/pageflow/progress_navigation_bar/_widget.html.erb
pageflow-progress-navigation-bar-1.2.0 app/views/pageflow/progress_navigation_bar/_widget.html.erb
pageflow-progress-navigation-bar-1.1.0 app/views/pageflow/progress_navigation_bar/_widget.html.erb
pageflow-progress-navigation-bar-1.0.0 app/views/pageflow/progress_navigation_bar/_widget.html.erb
pageflow-progress-navigation-bar-0.5.0 app/views/pageflow/progress_navigation_bar/_widget.html.erb