##// END OF EJS Templates
Introduce virtual MenuNodes (#15880)....
Introduce virtual MenuNodes (#15880). They are characterized by having a blank url. they will only be rendered if the user is authorized to see at least one of its children. they render as links which do nothing when clicked. Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15501 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13661:b778c51e9049
r15119:53710d80fc88
Show More
history.html.erb
40 lines | 1.9 KiB | text/plain | TextLexer
/ app / views / wiki / history.html.erb
Jean-Philippe Lang
Adds breadcrumb on all wiki page views....
r6062 <%= wiki_page_breadcrumb(@page) %>
Jean-Philippe Lang
Adds some links for wiki history navigation....
r11991 <%= title [@page.pretty_title, project_wiki_page_path(@page.project, @page.title, :version => nil)], l(:label_history) %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 <%= form_tag({:controller => 'wiki', :action => 'diff',
:project_id => @page.project, :id => @page.title},
:method => :get) do %>
Jean-Philippe Lang
Removed hard-coded style on wiki history view....
r4531 <table class="list wiki-page-versions">
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <thead><tr>
<th>#</th>
Jean-Philippe Lang
Added wiki diff....
r580 <th></th>
Toshi MARUYAMA
remove trailing white-spaces from app/views/wiki/history.rhtml....
r6216 <th></th>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <th><%= l(:field_updated_on) %></th>
<th><%= l(:field_author) %></th>
Jean-Philippe Lang
Fixed: 10342 Creation of Schema in Oracle...
r476 <th><%= l(:field_comments) %></th>
Jean-Philippe Lang
Added wiki annotate view. It's accessible for each version from the page history view. ...
r1007 <th></th>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </tr></thead>
<tbody>
Jean-Philippe Lang
Added wiki diff....
r580 <% show_diff = @versions.size > 1 %>
<% line_num = 1 %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% @versions.each do |ver| %>
Jean-Philippe Lang
Removed hard-coded style on wiki history view....
r4531 <tr class="wiki-page-version <%= cycle("odd", "even") %>">
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 <td class="id"><%= link_to ver.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => ver.version %></td>
Toshi MARUYAMA
Backport r13313 from rails-4.1 to trunk....
r13045 <td class="checkbox"><%= radio_button_tag('version', ver.version, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('#cbto-#{line_num+1}').prop('checked', true);") if show_diff && (line_num < @versions.size) %></td>
Jean-Philippe Lang
Removes broken javascript on wiki history....
r3445 <td class="checkbox"><%= radio_button_tag('version_from', ver.version, (line_num==2), :id => "cbto-#{line_num}") if show_diff && (line_num > 1) %></td>
Jean-Philippe Lang
Removed hard-coded style on wiki history view....
r4531 <td class="updated_on"><%= format_time(ver.updated_on) %></td>
<td class="author"><%= link_to_user ver.author %></td>
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 <td class="comments"><%= ver.comments %></td>
Jean-Philippe Lang
Ability to delete a version from a wiki page history (#10852)....
r10493 <td class="buttons">
<%= link_to l(:button_annotate), :action => 'annotate', :id => @page.title, :version => ver.version %>
<%= delete_link wiki_page_path(@page, :version => ver.version) if User.current.allowed_to?(:delete_wiki_pages, @page.project) && @version_count > 1 %>
</td>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </tr>
Jean-Philippe Lang
Added wiki diff....
r580 <% line_num += 1 %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% end %>
</tbody>
</table>
Eric Davis
Hiding the View Differences button when a wiki page's history only has one version....
r1748 <%= submit_tag l(:label_view_diff), :class => 'small' if show_diff %>
Jean-Philippe Lang
Use page parameter instead of p for pagination....
r10529 <span class="pagination"><%= pagination_links_full @version_pages, @version_count %></span>
Jean-Philippe Lang
Added wiki diff....
r580 <% end %>