Sha256: 6d6a74748d9247327489f49489e1bb2a4c53eccdedbf29672b9cebc2caf8d361

Contents?: true

Size: 766 Bytes

Versions: 7

Compression:

Stored size: 766 Bytes

Contents

<%= render 'header', :label => @label %>
<%= render 'sidebar', :label => @label %>

<% if can?(:read, @new_label_version) || can?(:branch, @label) %>
  <div class="editing_versioning_toolbar well">
    <% if @new_label_version.blank? && can?(:branch, @label) %>
      <%= button_to t("txt.views.versioning.versioning_mode"),
      label_versions_branch_path(:origin => @label.origin), :class => 'btn btn-default' %>
    <% elsif can?(:read, @new_label_version) %>
      <%= link_to t("txt.views.versioning.preview_new_version"),
      label_path(:published => 0, :id => @new_label_version), :class => 'btn btn-default' %>
    <% end %>
  </div>
<% end %>

<%= render 'layouts/sections', :sections => Iqvoc::XLLabel.view_sections, :data => label_view_data(@label) %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
iqvoc_skosxl-2.9.1 app/views/labels/show_published.html.erb
iqvoc_skosxl-2.9.0 app/views/labels/show_published.html.erb
iqvoc_skosxl-2.8.1 app/views/labels/show_published.html.erb
iqvoc_skosxl-2.8.0 app/views/labels/show_published.html.erb
iqvoc_skosxl-2.7.0 app/views/labels/show_published.html.erb
iqvoc_skosxl-2.6.0 app/views/labels/show_published.html.erb
iqvoc_skosxl-2.5.0 app/views/labels/show_published.html.erb