Redmine 4.1.1
This commit is contained in:
parent
33e7b881a5
commit
3d976f1b3b
1593 changed files with 36180 additions and 19489 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
<div class="details">
|
||||
<h4>
|
||||
<%= avatar(@changeset.user, :size => "24") %>
|
||||
<%= avatar(@changeset.user) %>
|
||||
<%= authoring(@changeset.committed_on, @changeset.author) %>
|
||||
</h4>
|
||||
<% if @changeset.scmid.present? || @changeset.parents.present? || @changeset.children.present? %>
|
||||
|
@ -33,8 +33,33 @@
|
|||
|
||||
</div>
|
||||
|
||||
<div class="wiki changeset-comments"><%= format_changeset_comments @changeset %></div>
|
||||
<div class="wiki changeset-comments">
|
||||
<%= format_changeset_comments @changeset %>
|
||||
</div>
|
||||
|
||||
<% if @changeset.issues.visible.any? || User.current.allowed_to?(:manage_related_issues, @repository.project) %>
|
||||
<%= render :partial => 'related_issues' %>
|
||||
<% end %>
|
||||
|
||||
<% if User.current.allowed_to?(:browse_repository, @repository.project) %>
|
||||
<%
|
||||
tabs = []
|
||||
tabs << { name: 'revision', label: :label_change_plural,
|
||||
url: { :action => 'revision',
|
||||
:id => @project,
|
||||
:repository_id => @repository.identifier_param,
|
||||
:path => nil,
|
||||
:rev => @changeset.identifier}
|
||||
}
|
||||
|
||||
tabs << { name: 'diff', label: :label_view_diff,
|
||||
url: { :action => 'diff',
|
||||
:id => @project,
|
||||
:repository_id => @repository.identifier_param,
|
||||
:path => "",
|
||||
:rev => @changeset.identifier }
|
||||
} if action_name == 'diff' || @changeset.filechanges.any?
|
||||
%>
|
||||
|
||||
<%= render :partial => 'common/tabs', :locals => {:tabs => tabs, :selected_tab => action_name} %>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue