annotate .svn/pristine/5e/5e390d048451969a2cf8ae5ceb1da6dd876fe459.svn-base @ 1477:f2ad2199b49a
bibplugin_integration
Close obsolete branch bibplugin_integration
author |
Chris Cannam |
date |
Fri, 30 Nov 2012 14:41:31 +0000 |
parents |
cbb26bc654de |
children |
|
rev |
line source |
Chris@909
|
1 <% if @entry && @entry.kind == 'file' %>
|
Chris@909
|
2
|
Chris@909
|
3 <p>
|
Chris@909
|
4 <%= link_to_if action_name != 'changes', l(:label_history), {:action => 'changes', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
|
Chris@909
|
5 <% if @repository.supports_cat? %>
|
Chris@909
|
6 <%= link_to_if action_name != 'entry', l(:button_view), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
|
Chris@909
|
7 <% end %>
|
Chris@909
|
8 <% if @repository.supports_annotate? %>
|
Chris@909
|
9 <%= link_to_if action_name != 'annotate', l(:button_annotate), {:action => 'annotate', :id => @project, :path => to_path_param(@path), :rev => @rev } %> |
|
Chris@909
|
10 <% end %>
|
Chris@909
|
11 <%= link_to(l(:button_download), {:action => 'entry', :id => @project, :path => to_path_param(@path), :rev => @rev, :format => 'raw' }) if @repository.supports_cat? %>
|
Chris@909
|
12 <%= "(#{number_to_human_size(@entry.size)})" if @entry.size %>
|
Chris@909
|
13 </p>
|
Chris@909
|
14
|
Chris@909
|
15 <% end %>
|