Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
19
app/views/repositories/_link_to_functions.html.erb
Normal file
19
app/views/repositories/_link_to_functions.html.erb
Normal file
|
@ -0,0 +1,19 @@
|
|||
<% if @entry && @entry.kind == 'file' %>
|
||||
|
||||
<%
|
||||
tabs = []
|
||||
tabs << { name: 'entry', label: :button_view,
|
||||
url: {:action => 'entry', :id => @project, :repository_id => @repository.identifier_param, :path => to_path_param(@path), :rev => @rev }
|
||||
} if @repository.supports_cat?
|
||||
|
||||
tabs << { name: 'changes', label: :label_history,
|
||||
url: {:action => 'changes', :id => @project, :repository_id => @repository.identifier_param, :path => to_path_param(@path), :rev => @rev }
|
||||
}
|
||||
tabs << { name: 'annotate', label: :button_annotate,
|
||||
url: {:action => 'annotate', :id => @project, :repository_id => @repository.identifier_param, :path => to_path_param(@path), :rev => @rev }
|
||||
} if @repository.supports_annotate?
|
||||
%>
|
||||
|
||||
<%= render :partial => 'common/tabs', :locals => {:tabs => tabs, :selected_tab => action_name} %>
|
||||
|
||||
<% end %>
|
Loading…
Add table
Add a link
Reference in a new issue