# HG changeset patch # User Chris Cannam # Date 1320429418 0 # Node ID 8873bc7c1af5b046a16abd430ba9899f3d36a7dc # Parent 1ce6efe3db0eaf3957221bd5b9934cf5b655a86e Hack in simplistic download link diff -r 1ce6efe3db0e -r 8873bc7c1af5 app/views/repositories/_navigation.rhtml --- a/app/views/repositories/_navigation.rhtml Fri Nov 04 16:42:49 2011 +0000 +++ b/app/views/repositories/_navigation.rhtml Fri Nov 04 17:56:58 2011 +0000 @@ -4,6 +4,11 @@ <%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %> +| .zip">Download this revision + <% form_tag({:action => controller.action_name, :id => @project, :path => to_path_param(@path), :rev => ''}, {:method => :get, :id => 'revision_selector'}) do -%> <% if !@repository.branches.nil? && @repository.branches.length > 0 -%>