|
|
|
@ -87,7 +87,8 @@ See doc/COPYRIGHT.rdoc for more details. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<% breadcrumb_paths(*(@page.ancestors.reverse.collect {|parent| link_to h(parent.breadcrumb_title), {id: parent, project_id: parent.project}} + [h(@page.breadcrumb_title)])) %> |
|
|
|
|
<% if @content.version != @page.content.version %> |
|
|
|
|
|
|
|
|
|
<% if params[:version] %> |
|
|
|
|
<hr /> |
|
|
|
|
<div class="wiki-version--details"> |
|
|
|
|
<div> |
|
|
|
@ -99,6 +100,7 @@ See doc/COPYRIGHT.rdoc for more details. |
|
|
|
|
<hr /> |
|
|
|
|
</div> |
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
<%= render(partial: "wiki/content", locals: {content: @content}) %> |
|
|
|
|
<%= link_to_attachments @page %> |
|
|
|
|
<% if @editable && authorize_for('wiki', 'add_attachment') %> |
|
|
|
|