- page_title "Tags"
= render "projects/commits/head"

%h3.page-title
  Git Tags
  - if can? current_user, :push_code, @project
    .pull-right
      = link_to new_namespace_project_tag_path(@project.namespace, @project), class: 'btn btn-create new-tag-btn' do
        %i.fa.fa-add-sign
        New tag

%p.light
  Tags give the ability to mark specific points in history as being important
%hr

.tags
  - unless @tags.empty?
    %ul.bordered-list
      - @tags.each do |tag|
        = render 'tag', tag: @repository.find_tag(tag)

    = paginate @tags, theme: 'gitlab'

  - else
    .nothing-here-block
      Repository has no tags yet.
      %br
      %small
        Use git tag command to add a new one:
        %br
        %span.monospace git tag -a v1.4 -m 'version 1.4'
