##// END OF EJS Templates
Native eol property set on config/*...
Native eol property set on config/* git-svn-id: http://redmine.rubyforge.org/svn/trunk@772 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r580:5e20417e6d52
r761:b64e89daec8f
Show More
history.rhtml
38 lines | 1.7 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="contextual">
<%= link_to(l(:label_page_index), {:action => 'special', :page => 'Page_index'}, :class => 'icon icon-index') %>
</div>
<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 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") %>">
<th align="center"><%= link_to ver.version, :action => 'index', :page => @page.title, :version => ver.version %></th>
Jean-Philippe Lang
Added wiki diff....
r580 <td align="center" width="1%"><%= 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 align="center" width="1%"><%= 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 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' %>
<%= pagination_links_full @version_pages, :page_param => :p %>
[ <%= @version_pages.current.first_item %> - <%= @version_pages.current.last_item %> / <%= @version_count %> ]
<% end %>