2007-03-12 20:59:02 +03:00
|
|
|
<div class="contextual">
|
|
|
|
<% form_tag do %>
|
|
|
|
<p><%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %>
|
|
|
|
<%= submit_tag 'OK' %></p>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
|
2007-03-25 16:12:15 +04:00
|
|
|
<h2><%= render :partial => 'navigation', :locals => { :path => @path, :kind => (@entry ? @entry.kind : nil), :revision => @rev } %></h2>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2007-03-25 16:12:15 +04:00
|
|
|
<% if @entry && @entry.is_file? %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<h3><%=h @entry.name %></h3>
|
2007-03-29 23:02:48 +04:00
|
|
|
<p><%= link_to l(:button_download), {:action => 'entry', :id => @project, :path => @path, :rev => @rev, :format => 'raw' }, :class => "icon file" %> (<%= number_to_human_size @entry.size %>)</p>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% end %>
|
|
|
|
|
2007-03-26 20:47:35 +04:00
|
|
|
<h3><%= l(:label_revision_plural) %></h3>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2007-03-25 16:12:15 +04:00
|
|
|
<%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :changesets => @changesets, :entry => @entry }%>
|
2007-03-25 22:18:29 +04:00
|
|
|
|
|
|
|
<p><%= pagination_links_full @changeset_pages %>
|
|
|
|
[ <%= @changeset_pages.current.first_item %> - <%= @changeset_pages.current.last_item %> / <%= @changeset_count %> ]</p>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
|
|
|
<% content_for :header_tags do %>
|
|
|
|
<%= stylesheet_link_tag "scm" %>
|
2007-01-05 22:10:57 +03:00
|
|
|
<% end %>
|