24 lines
900 B
Plaintext
24 lines
900 B
Plaintext
= render "commits/head"
|
|
- unless @tags.empty?
|
|
%table.zebra-striped.borders
|
|
- @tags.each do |tag|
|
|
%tr
|
|
%td
|
|
%strong= link_to tag.name, project_commits_path(@project, :ref => tag.name), :class => ""
|
|
%td
|
|
= link_to project_commits_path(@project, tag.commit.id) do
|
|
%code= tag.commit.id.to_s[0..10]
|
|
= image_tag gravatar_icon(Commit.new(tag.commit).author_email), :class => "", :width => 16
|
|
= truncate(Commit.new(tag.commit).safe_message, :length => 40)
|
|
%td
|
|
%span.update-author.right
|
|
= time_ago_in_words(tag.commit.committed_date)
|
|
ago
|
|
|
|
%td
|
|
- if can? current_user, :download_code, @project
|
|
= link_to "Download", archive_project_repository_path(@project, :ref => tag.name), :class => "visible_link download_repo_link"
|
|
|
|
- else
|
|
%h3 No tags
|