2011-12-31 11:12:10 +00:00
|
|
|
= render "head"
|
|
|
|
- unless @tags.empty?
|
2012-02-11 21:22:33 +00:00
|
|
|
%ul.unstyled
|
|
|
|
- @tags.each do |tag|
|
|
|
|
%li.wll
|
|
|
|
.span3.right
|
|
|
|
- if can? current_user, :download_code, @project
|
|
|
|
= link_to "Download", archive_project_repository_path(@project, :ref => tag.name), :class => "btn small"
|
|
|
|
= link_to "Commits", project_commits_path(@project, :ref => tag.name), :class => "btn small"
|
|
|
|
|
|
|
|
= tag.name
|
|
|
|
%code= tag.commit.id.to_s[0..10]
|
|
|
|
%span.update-author.right
|
|
|
|
= time_ago_in_words(tag.commit.committed_date)
|
|
|
|
ago
|
2011-12-31 11:12:10 +00:00
|
|
|
- else
|
|
|
|
%h3 No tags
|