Factor group tips
This commit is contained in:
parent
72abe9f679
commit
f7d01f2067
3 changed files with 8 additions and 12 deletions
|
@ -29,12 +29,7 @@
|
||||||
.col-sm-2
|
.col-sm-2
|
||||||
.col-sm-10
|
.col-sm-10
|
||||||
.bs-callout.bs-callout-info
|
.bs-callout.bs-callout-info
|
||||||
%ul
|
= render 'shared/group_tips'
|
||||||
%li A group is a collection of several projects
|
|
||||||
%li Groups are private by default
|
|
||||||
%li Members of a group may only view projects they have permission to access
|
|
||||||
%li Group project URLs are prefixed with the group namespace
|
|
||||||
%li Existing projects may be moved into a group
|
|
||||||
.form-actions
|
.form-actions
|
||||||
= f.submit 'Create group', class: "btn btn-create"
|
= f.submit 'Create group', class: "btn btn-create"
|
||||||
= link_to 'Cancel', admin_groups_path, class: "btn btn-cancel"
|
= link_to 'Cancel', admin_groups_path, class: "btn btn-cancel"
|
||||||
|
|
|
@ -27,12 +27,7 @@
|
||||||
.form-group
|
.form-group
|
||||||
.col-sm-2
|
.col-sm-2
|
||||||
.col-sm-10
|
.col-sm-10
|
||||||
%ul
|
= render 'shared/group_tips'
|
||||||
%li A group is a collection of several projects
|
|
||||||
%li Groups are private by default
|
|
||||||
%li Members of a group may only view projects they have permission to access
|
|
||||||
%li Group project URLs are prefixed with the group namespace
|
|
||||||
%li Existing projects may be moved into a group
|
|
||||||
|
|
||||||
.form-actions
|
.form-actions
|
||||||
= f.submit 'Create group', class: "btn btn-create", tabindex: 3
|
= f.submit 'Create group', class: "btn btn-create", tabindex: 3
|
||||||
|
|
6
app/views/shared/_group_tips.html.haml
Normal file
6
app/views/shared/_group_tips.html.haml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
%ul
|
||||||
|
%li A group is a collection of several projects
|
||||||
|
%li Groups are private by default
|
||||||
|
%li Members of a group may only view projects they have permission to access
|
||||||
|
%li Group project URLs are prefixed with the group namespace
|
||||||
|
%li Existing projects may be moved into a group
|
Loading…
Reference in a new issue