Commit d6fee65f958d9314bc8810fc0531da1d6f67151f

move tarball download link to bottom, and only show it to logged in users

Commit diff

app/views/browse/tree.html.erb

 
11<% @page_title = "Tree for #{@repository.name} in #{@project.title}" -%>
22<h1>
3 Tree of <%= h(@repository.name) -%> repository in <%= h(@project.title) -%> <small><%= link_to "[download]", repository_path("archive", @commit.id) -%></small>
3 Tree of <%= h(@repository.name) -%> repository in <%= h(@project.title) -%>
44</h1>
55
66<%= breadcrumb_path(@repository.name, @commit.id) -%>
2323 <% end -%>
2424</table>
2525<% end -%>
26<% if logged_in? -%>
27<p>
28 <small><%= link_to "Download as gzipped tarball", repository_path("archive", @commit.id) -%></small>
29</p>
30<% end -%>
2631
2732<% content_for :sidebar do -%>
2833 <%= render :partial => "tags_and_branches" -%>
toggle raw diff