Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
42
app/views/repositories/_changeset.html.erb
Normal file
42
app/views/repositories/_changeset.html.erb
Normal file
|
@ -0,0 +1,42 @@
|
|||
<h2><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2>
|
||||
|
||||
<div class="details">
|
||||
<h4>
|
||||
<%= avatar(@changeset.user, :size => "24") %>
|
||||
<%= authoring(@changeset.committed_on, @changeset.author) %>
|
||||
</h4>
|
||||
<% if @changeset.scmid.present? || @changeset.parents.present? || @changeset.children.present? %>
|
||||
<ul class="revision-info">
|
||||
<% if @changeset.scmid.present? %>
|
||||
<li>
|
||||
<strong>ID </strong><%= @changeset.scmid %>
|
||||
</li>
|
||||
<% end %>
|
||||
<% if @changeset.parents.present? %>
|
||||
<li>
|
||||
<strong><%= l(:label_parent_revision) %></strong>
|
||||
<%= @changeset.parents.collect{
|
||||
|p| link_to_revision(p, @repository, :text => format_revision(p))
|
||||
}.join(", ").html_safe %>
|
||||
</li>
|
||||
<% end %>
|
||||
<% if @changeset.children.present? %>
|
||||
<li>
|
||||
<strong><%= l(:label_child_revision) %></strong>
|
||||
<%= @changeset.children.collect{
|
||||
|p| link_to_revision(p, @repository, :text => format_revision(p))
|
||||
}.join(", ").html_safe %>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
||||
</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 %>
|
Loading…
Add table
Add a link
Reference in a new issue