diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-14 06:14:05 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-14 06:14:05 +0300 |
commit | 44209861e8a3ed4e5d0e0e59823d4bf61c338f1f (patch) | |
tree | abb0297e16e9c714161cfd909eb23823ab170ff9 /app/views/admin/groups/edit.html.haml | |
parent | a8fbda945eec91c597a26100eff000bb3eb9b6af (diff) | |
download | gitlab-ce-44209861e8a3ed4e5d0e0e59823d4bf61c338f1f.tar.gz |
Allow group path renaming. Dont show project transfer if no permissions. More danger messages :)
Diffstat (limited to 'app/views/admin/groups/edit.html.haml')
-rw-r--r-- | app/views/admin/groups/edit.html.haml | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/app/views/admin/groups/edit.html.haml b/app/views/admin/groups/edit.html.haml index 4026817496a..901d07e74f3 100644 --- a/app/views/admin/groups/edit.html.haml +++ b/app/views/admin/groups/edit.html.haml @@ -1,9 +1,5 @@ %h3.page_title Rename Group %hr -.alert - Renaming group can have unintended side effects. - %br - Renaming group will rename directory for all related projects = form_for [:admin, @group] do |f| - if @group.errors.any? .alert-message.block-message.error @@ -14,6 +10,19 @@ .input = f.text_field :name, placeholder: "Example Group", class: "xxlarge" + + + .clearfix.group_name_holder + = f.label :path do + %span.cred Group path is + .input + = f.text_field :path, placeholder: "example-group", class: "xxlarge danger" + %ul.cred + %li Changing group path can have unintended side effects. + %li Renaming group path will rename directory for all related projects + %li It will change web url for access group and group projects. + %li It will change the git path to repositories under this group. + .form-actions - = f.submit 'Rename group', class: "btn save-btn" + = f.submit 'Rename group', class: "btn danger" = link_to 'Cancel', admin_groups_path, class: "btn cancel-btn" |