diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-26 18:46:55 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-26 18:46:55 +0000 |
commit | 89db1857268ff7bd1e63b27f34035e484b0abd1e (patch) | |
tree | 1249502e6c52bda5ded4aee3cba6ca44ac10df2a /app/views | |
parent | a301d0eb4e3cd31537560dd7d6b0fe9fecce0484 (diff) | |
download | redmine-89db1857268ff7bd1e63b27f34035e484b0abd1e.tar.gz redmine-89db1857268ff7bd1e63b27f34035e484b0abd1e.zip |
Added a link on revision screen to see the entire diff for the revision.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@483 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/repositories/revision.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/repositories/revision.rhtml b/app/views/repositories/revision.rhtml index 4fa8bd204..8919e45a2 100644 --- a/app/views/repositories/revision.rhtml +++ b/app/views/repositories/revision.rhtml @@ -19,13 +19,13 @@ </ul> <% end %> +<h3><%= l(:label_attachment_plural) %></h3> <div style="float:right;"> <div class="square action_A"></div> <div style="float:left;"><%= l(:label_added) %> </div> <div class="square action_M"></div> <div style="float:left;"><%= l(:label_modified) %> </div> <div class="square action_D"></div> <div style="float:left;"><%= l(:label_deleted) %> </div> </div> - -<h3><%= l(:label_attachment_plural) %></h3> +<p><%= link_to(l(:label_view_diff), :action => 'diff', :id => @project, :path => "", :rev => @changeset.revision) if @changeset.changes.any? %></p> <table class="list"> <tbody> <% @changeset.changes.each do |change| %> |