gitlab-org--gitlab-foss/app/views/projects/protected_tags/_index.html.haml

20 lines
800 B
Plaintext
Raw Normal View History

2017-03-20 13:10:28 +00:00
- content_for :page_specific_javascripts do
2017-03-21 15:53:17 +00:00
= page_specific_javascript_bundle_tag('protected_tags')
2017-03-20 13:10:28 +00:00
.row.prepend-top-default.append-bottom-default
.col-lg-3
%h4.prepend-top-0
Protected Tags
2017-03-20 13:10:28 +00:00
%p.prepend-top-20
By default, protected tags are designed to:
2017-03-20 13:10:28 +00:00
%ul
%li Prevent tag creation by everybody except Masters
%li Prevent <strong>anyone</strong> from updating the tag
2017-03-20 13:10:28 +00:00
%li Prevent <strong>anyone</strong> from deleting the tag
%p.append-bottom-0 Read more about #{link_to "protected tags", help_page_path("user/project/protected_tags"), class: "underlined-link"}.
2017-03-20 13:10:28 +00:00
.col-lg-9
- if can? current_user, :admin_project, @project
= render 'projects/protected_tags/create_protected_tag'
= render "projects/protected_tags/tags_list"