2013-06-23 16:47:22 +00:00
|
|
|
= render "projects/commits/head"
|
2013-07-17 11:43:18 +00:00
|
|
|
|
2014-06-12 19:08:54 +00:00
|
|
|
%h3.page-title
|
|
|
|
Git Tags
|
|
|
|
- if can? current_user, :push_code, @project
|
|
|
|
.pull-right
|
|
|
|
= link_to new_project_tag_path(@project), class: 'btn btn-create new-tag-btn' do
|
|
|
|
%i.icon-add-sign
|
|
|
|
New tag
|
2013-07-17 11:43:18 +00:00
|
|
|
|
2014-06-12 19:08:54 +00:00
|
|
|
%p.light
|
2014-04-14 16:39:24 +00:00
|
|
|
Tags give the ability to mark specific points in history as being important
|
2013-07-17 11:43:18 +00:00
|
|
|
%hr
|
|
|
|
|
2014-08-17 14:21:31 +00:00
|
|
|
.tags
|
|
|
|
- unless @tags.empty?
|
|
|
|
%ul.bordered-list
|
|
|
|
- @tags.each do |tag|
|
|
|
|
= render 'tag', tag: @repository.find_tag(tag)
|
2013-04-05 18:03:39 +00:00
|
|
|
|
2014-08-17 14:21:31 +00:00
|
|
|
= paginate @tags, theme: 'gitlab'
|
2012-02-11 21:22:33 +00:00
|
|
|
|
2014-08-17 14:21:31 +00:00
|
|
|
- else
|
|
|
|
.nothing-here-block
|
|
|
|
Repository has no tags yet.
|
2013-01-04 21:35:31 +00:00
|
|
|
%br
|
2014-08-17 14:21:31 +00:00
|
|
|
%small
|
|
|
|
Use git tag command to add a new one:
|
|
|
|
%br
|
|
|
|
%span.monospace git tag -a v1.4 -m 'version 1.4'
|