Mercurial > hg > soundsoftware-site
changeset 897:b293eb7e5c94 bug_371
Use revision string instead of changeset object for archive link (works for branch and tag as well as changeset)
| author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
|---|---|
| date | Thu, 02 Feb 2012 15:02:13 +0000 |
| parents | 83740cd6705e |
| children | 84f0b221aa7a 5d3fb66f9ae4 |
| files | app/views/repositories/_navigation.rhtml |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/app/views/repositories/_navigation.rhtml Wed Feb 01 14:34:18 2012 +0000 +++ b/app/views/repositories/_navigation.rhtml Thu Feb 02 15:02:13 2012 +0000 @@ -2,7 +2,7 @@ <%= javascript_include_tag 'repository_navigation' %> <% end %> -<%= link_to_revision_archive(@repository, @changeset, @project, { :text => l(:label_download_revision), :class => 'icon icon-package' }) %> +<%= link_to_revision_archive(@repository, @rev, @project, { :text => l(:label_download_revision), :class => 'icon icon-package' }) %> <% form_tag({:action => controller.action_name, :id => @project, :path => to_path_param(@path), :rev => ''}, {:method => :get, :id => 'revision_selector'}) do -%> <!-- Branches Dropdown -->
