Sha256: e34fc693925a097f32c88cbb95a44f4f74aabd7882fcaa544f0000593378976c
Contents?: true
Size: 1.97 KB
Versions: 3
Compression:
Stored size: 1.97 KB
Contents
<%= render 'header', :concept => @concept %> <%= render 'concepts/sidebars/singular', :concept => @concept %> <%= alert :info, :header => t('txt.common.unpublished_version') + "." do %> <%= t("txt.views.versioning.current_revision", :rev => @concept.rev) %> <% if @concept.locked? %> <%= t("txt.views.versioning.in_ongoing_editing_by", :user => @concept.locking_user.name) %> <% end %> <% end %> <div class="editing_versioning_toolbar well"> <% if (not @concept.locked?) || @concept.locked_by == @current_user.id %> <%= button_to t("txt.views.versioning.publishing"), concept_versions_merge_path(:origin => @concept.origin), :class => "btn btn-primary" %> <% end %> <%= button_to t("txt.views.versioning.consistency_check"), concept_versions_consistency_check_path(:origin => @concept.origin), :class => :btn, :method => :get %> <% if (not @concept.in_review?) && @concept.locked_by == @current_user.id %> <%= button_to t("txt.common.to_review"), concept_versions_to_review_path(:origin => @concept.origin), :class => :btn %> <% end %> <% unless @concept.locked? %> <%= button_to t("txt.views.versioning.to_edit_mode"), concept_versions_lock_path(:origin => @concept.origin), :class => :btn %> <%= button_to t("txt.views.versioning.delete"), concept_path(:published => 0, :id => @concept.origin), :method => :delete, :class => :btn, :confirm => I18n.t("txt.views.versioning.delete_confirm") if can?(:destroy, @concept) %> <% else %> <%= button_to t("txt.views.versioning.unlock"), concept_versions_unlock_path(:origin => @concept.origin), :class => :btn if can?(:unlock, @concept) %> <%= link_to t("txt.views.versioning.edit_mode"), edit_concept_path(:published => 0, :id => @concept.origin), :class => :btn if can?(:update, @concept) %> <% end %> </div> <%= render 'layouts/sections', :sections => Iqvoc::Concept.view_sections, :data => concept_view_data(@concept) %> <%#= render 'visualization' %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
iqvoc-4.0.2 | app/views/concepts/show_unpublished.html.erb |
iqvoc-4.0.1 | app/views/concepts/show_unpublished.html.erb |
iqvoc-4.0.0 | app/views/concepts/show_unpublished.html.erb |