Mercurial > hg > soundsoftware-site
diff .svn/pristine/22/228763af0fab9d92d601d760e23db085d02a829d.svn-base @ 1295:622f24f53b42 redmine-2.3
Update to Redmine SVN revision 11972 on 2.3-stable branch
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:02:21 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.svn/pristine/22/228763af0fab9d92d601d760e23db085d02a829d.svn-base Fri Jun 14 09:02:21 2013 +0100 @@ -0,0 +1,97 @@ +<div class="contextual"> + « + <% unless @changeset.previous.nil? -%> + <%= link_to_revision(@changeset.previous, @repository, :text => l(:label_previous)) %> + <% else -%> + <%= l(:label_previous) %> + <% end -%> +| + <% unless @changeset.next.nil? -%> + <%= link_to_revision(@changeset.next, @repository, :text => l(:label_next)) %> + <% else -%> + <%= l(:label_next) %> + <% end -%> + » + + <%= form_tag({:controller => 'repositories', + :action => 'revision', + :id => @project, + :repository_id => @repository.identifier_param, + :rev => nil}, + :method => :get) do %> + <%= text_field_tag 'rev', @rev, :size => 8 %> + <%= submit_tag 'OK', :name => nil %> + <% end %> +</div> + +<h2><%= avatar(@changeset.user, :size => "24") %><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2> + +<% if @changeset.scmid.present? || @changeset.parents.present? || @changeset.children.present? %> +<table class="revision-info"> + <% if @changeset.scmid.present? %> + <tr> + <td>ID</td><td><%= h(@changeset.scmid) %></td> + </tr> + <% end %> + <% if @changeset.parents.present? %> + <tr> + <td><%= l(:label_parent_revision) %></td> + <td> + <%= @changeset.parents.collect{ + |p| link_to_revision(p, @repository, :text => format_revision(p)) + }.join(", ").html_safe %> + </td> + </tr> + <% end %> + <% if @changeset.children.present? %> + <tr> + <td><%= l(:label_child_revision) %></td> + <td> + <%= @changeset.children.collect{ + |p| link_to_revision(p, @repository, :text => format_revision(p)) + }.join(", ").html_safe %> + </td> + </tr> + <% end %> +</table> +<% end %> + +<p> +<span class="author"> +<%= authoring(@changeset.committed_on, @changeset.author) %> +</span> +</p> + +<%= textilizable @changeset.comments %> + +<% 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, @project) %> +<h3><%= l(:label_attachment_plural) %></h3> +<ul id="changes-legend"> +<li class="change change-A"><%= l(:label_added) %></li> +<li class="change change-M"><%= l(:label_modified) %></li> +<li class="change change-C"><%= l(:label_copied) %></li> +<li class="change change-R"><%= l(:label_renamed) %></li> +<li class="change change-D"><%= l(:label_deleted) %></li> +</ul> + +<p><%= link_to(l(:label_view_diff), + :action => 'diff', + :id => @project, + :repository_id => @repository.identifier_param, + :path => "", + :rev => @changeset.identifier) if @changeset.filechanges.any? %></p> + +<div class="changeset-changes"> +<%= render_changeset_changes %> +</div> +<% end %> + +<% content_for :header_tags do %> +<%= stylesheet_link_tag "scm" %> +<% end %> + +<% html_title("#{l(:label_revision)} #{format_revision(@changeset)}") -%>