##// END OF EJS Templates
Sligth changes on my page issue tables and wiki history, changesets tables....
Sligth changes on my page issue tables and wiki history, changesets tables. git-svn-id: http://redmine.rubyforge.org/svn/trunk@808 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r797:57d3dd3b80ed
r797:57d3dd3b80ed
Show More
_revisions.rhtml
30 lines | 1.5 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Added the ability to view a file diff with free to/from revision selection....
r522 <% form_tag({:controller => 'repositories', :action => 'diff', :id => @project}, :method => :get) do %>
Jean-Philippe Lang
SVN commits are now stored in the database, and added to the activity view and the search engine....
r374 <table class="list">
<thead><tr>
<th>#</th>
Jean-Philippe Lang
Added the ability to view a file diff with free to/from revision selection....
r522 <th></th>
<th></th>
Jean-Philippe Lang
SVN commits are now stored in the database, and added to the activity view and the search engine....
r374 <th><%= l(:label_date) %></th>
Jean-Philippe Lang
Slight modifications on revisions table...
r405 <th><%= l(:field_author) %></th>
Jean-Philippe Lang
Fixed: 10342 Creation of Schema in Oracle...
r476 <th><%= l(:field_comments) %></th>
Jean-Philippe Lang
SVN commits are now stored in the database, and added to the activity view and the search engine....
r374 </tr></thead>
<tbody>
Jean-Philippe Lang
Added basic support for CVS and Mercurial SCMs....
r556 <% show_diff = entry && entry.is_file? && revisions.size > 1 %>
Jean-Philippe Lang
Added the ability to view a file diff with free to/from revision selection....
r522 <% line_num = 1 %>
Jean-Philippe Lang
Added basic support for CVS and Mercurial SCMs....
r556 <% revisions.each do |revision| %>
<% changeset = revision.is_a?(Change) ? revision.changeset : revision %>
Jean-Philippe Lang
SVN commits are now stored in the database, and added to the activity view and the search engine....
r374 <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 (revision.revision || changeset.revision), :action => 'revision', :id => project, :rev => changeset.revision %></th>
<td class="checkbox"><%= radio_button_tag('rev', changeset.revision, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < revisions.size) %></td>
<td class="checkbox"><%= radio_button_tag('rev_to', changeset.revision, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %></td>
Jean-Philippe Lang
Slight modifications on revisions table...
r405 <td align="center" style="width:15%"><%= format_time(changeset.committed_on) %></td>
<td align="center" style="width:15%"><em><%=h changeset.committer %></em></td>
Jean-Philippe Lang
Fixed: 10342 Creation of Schema in Oracle...
r476 <td align="left"><%= textilizable(changeset.comments) %></td>
Jean-Philippe Lang
SVN commits are now stored in the database, and added to the activity view and the search engine....
r374 </tr>
Jean-Philippe Lang
Added the ability to view a file diff with free to/from revision selection....
r522 <% line_num += 1 %>
Jean-Philippe Lang
SVN commits are now stored in the database, and added to the activity view and the search engine....
r374 <% end %>
</tbody>
Jean-Philippe Lang
Added the ability to view a file diff with free to/from revision selection....
r522 </table>
<%= hidden_field_tag 'path', path %>
<%= submit_tag(l(:label_view_diff), :class => 'small', :name => nil) if show_diff %>
<% end %>