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
|
2017-05-05 15:59:31 +00:00
|
|
|
Protected Tags
|
2017-03-20 13:10:28 +00:00
|
|
|
%p.prepend-top-20
|
2017-05-05 15:59:31 +00:00
|
|
|
By default, protected tags are designed to:
|
2017-03-20 13:10:28 +00:00
|
|
|
%ul
|
2017-04-03 23:05:51 +00:00
|
|
|
%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
|
2017-05-05 15:59:31 +00:00
|
|
|
%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"
|