Mercurial > hg > soundsoftware-site
diff app/views/repositories/revision.rhtml @ 741:496b3cfa2f36 feature_318
Finish adding download link
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Mon, 07 Nov 2011 17:29:43 +0000 |
parents | 753f1380d6bc |
children |
line wrap: on
line diff
--- a/app/views/repositories/revision.rhtml Fri Nov 04 17:56:58 2011 +0000 +++ b/app/views/repositories/revision.rhtml Mon Nov 07 17:29:43 2011 +0000 @@ -1,11 +1,15 @@ <div class="contextual"> + + <%= link_to_revision_archive(@repository, @changeset, @project, { :text => l(:label_download_revision), :class => 'icon icon-package' }) %> + + « <% unless @changeset.previous.nil? -%> <%= link_to_revision(@changeset.previous, @project, :text => l(:label_previous)) %> <% else -%> <%= l(:label_previous) %> <% end -%> -| + <% unless @changeset.next.nil? -%> <%= link_to_revision(@changeset.next, @project, :text => l(:label_next)) %> <% else -%> @@ -21,6 +25,7 @@ <%= text_field_tag 'rev', @rev, :size => 8 %> <%= submit_tag 'OK', :name => nil %> <% end %> + </div> <h2><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2>