##// END OF EJS Templates
Refactor: convert WikiController to a REST resource...
Refactor: convert WikiController to a REST resource git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4303 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r4189:c514dd6885af
r4189:c514dd6885af
Show More
history.rhtml
36 lines | 1.5 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <h2><%= @page.pretty_title %></h2>
<h3><%= l(:label_history) %></h3>
Jean-Philippe Lang
Added wiki diff....
r580 <% form_tag({:action => "diff"}, :method => :get) do %>
Eric Davis
Refactor: change :id on WikiController to use :project_id...
r4151 <%= hidden_field_tag('project_id', h(@project.to_param)) %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <table class="list">
<thead><tr>
<th>#</th>
Jean-Philippe Lang
Added wiki diff....
r580 <th></th>
<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| %>
<tr class="<%= cycle("odd", "even") %>">
Eric Davis
Refactor: convert WikiController to a REST resource...
r4189 <td class="id"><%= link_to ver.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => ver.version %></td>
Jean-Philippe Lang
Sligth changes on my page issue tables and wiki history, changesets tables....
r797 <td class="checkbox"><%= radio_button_tag('version', ver.version, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').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
added svn:eol-style native property on /app files...
r330 <td align="center"><%= format_time(ver.updated_on) %></td>
Jean-Philippe Lang
Link to the user from the wiki history view....
r3382 <td><%= link_to_user ver.author %></td>
Jean-Philippe Lang
Fixed: 10342 Creation of Schema in Oracle...
r476 <td><%=h ver.comments %></td>
Eric Davis
Refactor: use :id instead of :page when linking to Wiki Pages...
r4182 <td align="center"><%= link_to l(:button_annotate), :action => 'annotate', :id => @page.title, :version => ver.version %></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
New setting added to specify how many objects should be displayed on most paginated lists....
r1013 <span class="pagination"><%= pagination_links_full @version_pages, @version_count, :page_param => :p %></span>
Jean-Philippe Lang
Added wiki diff....
r580 <% end %>