summaryrefslogtreecommitdiff
path: root/app/views/repositories/tags.html.haml
blob: b67010c7ba569f9648d7aa88bf811d156015b0b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
= render "head"
- unless @tags.empty?
  - @tags.each do |tag|
    .row
      .span7
        .entry
          = tag.name
          %code= tag.commit.id.to_s[0..10]
          %span.update-author.right
            = time_ago_in_words(tag.commit.committed_date)
            ago
      .span3
        - 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"
- else 
  %h3 No tags