##// END OF EJS Templates
Renamed #changes association to #filechanges (clash with AR::Base.changes that triggers errors with Rails 3.2.5)....
Renamed #changes association to #filechanges (clash with AR::Base.changes that triggers errors with Rails 3.2.5). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9759 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9576:2cbf9c9cc481
r9576:2cbf9c9cc481
Show More
revision.html.erb
97 lines | 3.0 KiB | text/plain | TextLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="contextual">
Jean-Philippe Lang
* Added links to previous and next revisions on revision view (patch by Cyril Mougel slightly edited)...
r925 &#171;
<% unless @changeset.previous.nil? -%>
Jean-Philippe Lang
Adds support for multiple repositories per project (#779)....
r8530 <%= link_to_revision(@changeset.previous, @repository, :text => l(:label_previous)) %>
Jean-Philippe Lang
* Added links to previous and next revisions on revision view (patch by Cyril Mougel slightly edited)...
r925 <% else -%>
<%= l(:label_previous) %>
<% end -%>
|
<% unless @changeset.next.nil? -%>
Jean-Philippe Lang
Adds support for multiple repositories per project (#779)....
r8530 <%= link_to_revision(@changeset.next, @repository, :text => l(:label_next)) %>
Jean-Philippe Lang
* Added links to previous and next revisions on revision view (patch by Cyril Mougel slightly edited)...
r925 <% else -%>
<%= l(:label_next) %>
<% end -%>
&#187;&nbsp;
Jean-Philippe Lang
Do not show the changed files list on the revision page if the user is not allowed to browse the repository (#2762)....
r2436
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 <%= form_tag({:controller => 'repositories',
Toshi MARUYAMA
scm: code clean up app/views/repositories/revision.rhtml....
r5739 :action => 'revision',
:id => @project,
Jean-Philippe Lang
Adds support for multiple repositories per project (#779)....
r8530 :repository_id => @repository.identifier_param,
Toshi MARUYAMA
scm: code clean up app/views/repositories/revision.rhtml....
r5739 :rev => nil},
:method => :get) do %>
Toshi MARUYAMA
Changing revision label and identifier at SCM adapter level (#3724, #6092)...
r4493 <%= text_field_tag 'rev', @rev, :size => 8 %>
Jean-Philippe Lang
Fixes quick jump to a revision....
r1597 <%= submit_tag 'OK', :name => nil %>
Jean-Philippe Lang
* Added links to previous and next revisions on revision view (patch by Cyril Mougel slightly edited)...
r925 <% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
Jean-Philippe Lang
Adds avatar on changeset view....
r8387 <h2><%= avatar(@changeset.user, :size => "24") %><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Prevent empty table from being rendered....
r8385 <% if @changeset.scmid.present? || @changeset.parents.present? || @changeset.children.present? %>
Toshi MARUYAMA
scm: view: add parents and children on the revision page (#5501)...
r7601 <table class="revision-info">
Jean-Philippe Lang
Prevent empty table from being rendered....
r8385 <% if @changeset.scmid.present? %>
Toshi MARUYAMA
scm: view: add parents and children on the revision page (#5501)...
r7601 <tr>
<td>ID</td><td><%= h(@changeset.scmid) %></td>
</tr>
<% end %>
Jean-Philippe Lang
Prevent empty table from being rendered....
r8385 <% if @changeset.parents.present? %>
Toshi MARUYAMA
scm: view: add parents and children on the revision page (#5501)...
r7601 <tr>
<td><%= l(:label_parent_revision) %></td>
<td>
<%= @changeset.parents.collect{
Jean-Philippe Lang
Adds support for multiple repositories per project (#779)....
r8530 |p| link_to_revision(p, @repository, :text => format_revision(p))
Toshi MARUYAMA
Rails3: view: html_safe for parents and children revisions...
r7914 }.join(", ").html_safe %>
Toshi MARUYAMA
scm: view: add parents and children on the revision page (#5501)...
r7601 </td>
</tr>
<% end %>
Jean-Philippe Lang
Prevent empty table from being rendered....
r8385 <% if @changeset.children.present? %>
Toshi MARUYAMA
scm: view: add parents and children on the revision page (#5501)...
r7601 <tr>
<td><%= l(:label_child_revision) %></td>
<td>
<%= @changeset.children.collect{
Jean-Philippe Lang
Adds support for multiple repositories per project (#779)....
r8530 |p| link_to_revision(p, @repository, :text => format_revision(p))
Toshi MARUYAMA
Rails3: view: html_safe for parents and children revisions...
r7914 }.join(", ").html_safe %>
Toshi MARUYAMA
scm: view: add parents and children on the revision page (#5501)...
r7601 </td>
</tr>
<% end %>
</table>
Jean-Philippe Lang
Prevent empty table from being rendered....
r8385 <% end %>
Toshi MARUYAMA
scm: view: add parents and children on the revision page (#5501)...
r7601 <p>
<span class="author">
<%= authoring(@changeset.committed_on, @changeset.author) %>
</span>
</p>
Jean-Philippe Lang
Added basic support for CVS and Mercurial SCMs....
r556
Jean-Philippe Lang
Fixed: 10342 Creation of Schema in Oracle...
r476 <%= textilizable @changeset.comments %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Adds a "Manage related isses" permission to add/remove commits/issues relations manually from the changeset view (#2009)....
r8657 <% if @changeset.issues.visible.any? || User.current.allowed_to?(:manage_related_issues, @repository.project) %>
<%= render :partial => 'related_issues' %>
Jean-Philippe Lang
Commit messages are now scanned for referenced or fixed issue IDs....
r470 <% end %>
Jean-Philippe Lang
Do not show the changed files list on the revision page if the user is not allowed to browse the repository (#2762)....
r2436 <% if User.current.allowed_to?(:browse_repository, @project) %>
Jean-Philippe Lang
Added a link on revision screen to see the entire diff for the revision....
r480 <h3><%= l(:label_attachment_plural) %></h3>
Jean-Philippe Lang
Render the commit changes list as a tree (#1896)....
r1868 <ul id="changes-legend">
Toshi MARUYAMA
scm: code clean up app/views/repositories/revision.rhtml....
r5739 <li class="change change-A"><%= l(:label_added) %></li>
Jean-Philippe Lang
Render the commit changes list as a tree (#1896)....
r1868 <li class="change change-M"><%= l(:label_modified) %></li>
Toshi MARUYAMA
scm: code clean up app/views/repositories/revision.rhtml....
r5739 <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>
Jean-Philippe Lang
Render the commit changes list as a tree (#1896)....
r1868 </ul>
Toshi MARUYAMA
scm: code clean up app/views/repositories/revision.rhtml....
r5739 <p><%= link_to(l(:label_view_diff),
:action => 'diff',
:id => @project,
Jean-Philippe Lang
Adds support for multiple repositories per project (#779)....
r8530 :repository_id => @repository.identifier_param,
Toshi MARUYAMA
scm: code clean up app/views/repositories/revision.rhtml....
r5739 :path => "",
Jean-Philippe Lang
Renamed #changes association to #filechanges (clash with AR::Base.changes that triggers errors with Rails 3.2.5)....
r9576 :rev => @changeset.identifier) if @changeset.filechanges.any? %></p>
Jean-Philippe Lang
Render the commit changes list as a tree (#1896)....
r1868
<div class="changeset-changes">
<%= render_changeset_changes %>
</div>
Jean-Philippe Lang
Do not show the changed files list on the revision page if the user is not allowed to browse the repository (#2762)....
r2436 <% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
<% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>
Jean-Philippe Lang
Fixed: performance issue on RepositoriesController#revisions when a changeset has a great number of changes (eg. 100,000)....
r532 <% end %>
Jean-Philippe Lang
More detailed html title on several views....
r951
Toshi MARUYAMA
Changing revision label and identifier at SCM adapter level (#3724, #6092)...
r4493 <% html_title("#{l(:label_revision)} #{format_revision(@changeset)}") -%>