##// END OF EJS Templates
Display the last 30 days on the activity view rather than the current month....
Display the last 30 days on the activity view rather than the current month. Number of days can be configured in the application settings. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1196 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1013:9a1b46fe4287
r1182:bbe8ea29e8d3
Show More
history.rhtml
35 lines | 1.6 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 %>
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") %>">
Jean-Philippe Lang
Sligth changes on my page issue tables and wiki history, changesets tables....
r797 <td class="id"><%= link_to ver.version, :action => 'index', :page => @page.title, :version => ver.version %></th>
<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>
<td class="checkbox"><%= radio_button_tag('version_from', ver.version, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true || $('version_from').value > #{ver.version}) {$('cb-#{line_num-1}').checked=true;}") 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>
<td><em><%= ver.author ? ver.author.name : "anonyme" %></em></td>
Jean-Philippe Lang
Fixed: 10342 Creation of Schema in Oracle...
r476 <td><%=h ver.comments %></td>
Jean-Philippe Lang
Added wiki annotate view. It's accessible for each version from the page history view. ...
r1007 <td align="center"><%= link_to l(:button_annotate), :action => 'annotate', :page => @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>
Jean-Philippe Lang
Added wiki diff....
r580 <%= submit_tag l(:label_view_diff), :class => 'small' %>
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 %>