镜像自地址
https://github.com/redmine/redmine.git
已同步 2024-08-26 05:57:38 +02:00
![Toshi MARUYAMA](/assets/img/avatar_default.png)
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6534 e93f8b46-1217-0410-a6f0-8f06a7374b81
16 行
847 B
Plaintext
16 行
847 B
Plaintext
<% if @entry && @entry.kind == 'file' %>
|
|
|
|
<p>
|
|
<%= link_to_if action_name != 'changes', l(:label_history), {:action => 'changes', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
|
|
<% if @repository.supports_cat? %>
|
|
<%= link_to_if action_name != 'entry', l(:button_view), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
|
|
<% end %>
|
|
<% if @repository.supports_annotate? %>
|
|
<%= link_to_if action_name != 'annotate', l(:button_annotate), {:action => 'annotate', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
|
|
<% end %>
|
|
<%= link_to(l(:button_download), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev, :format => 'raw' }) if @repository.supports_cat? %>
|
|
<%= "(#{number_to_human_size(@entry.size)})" if @entry.size %>
|
|
</p>
|
|
|
|
<% end %>
|