Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
29847168
Commit
29847168
authored
Jan 20, 2013
by
Andrey Kumanyaev
Committed by
Dmitriy Zaporozhets
Jan 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Admin rename team page is fixed
parent
845f1465
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
app/views/admin/teams/edit.html.haml
app/views/admin/teams/edit.html.haml
+1
-6
No files found.
app/views/admin/teams/edit.html.haml
View file @
29847168
%h3
.page_title
Rename Team
%h3
.page_title
Rename Team
%hr
%hr
=
form_for
[
:admin
,
@team
]
do
|
f
|
=
form_for
@team
,
url:
admin_team_path
(
@team
),
method: :put
do
|
f
|
-
if
@team
.
errors
.
any?
-
if
@team
.
errors
.
any?
.alert-message.block-message.error
.alert-message.block-message.error
%span
=
@team
.
errors
.
full_messages
.
first
%span
=
@team
.
errors
.
full_messages
.
first
...
@@ -10,18 +10,13 @@
...
@@ -10,18 +10,13 @@
.input
.input
=
f
.
text_field
:name
,
placeholder:
"Example Team"
,
class:
"xxlarge"
=
f
.
text_field
:name
,
placeholder:
"Example Team"
,
class:
"xxlarge"
.clearfix.team_name_holder
.clearfix.team_name_holder
=
f
.
label
:path
do
=
f
.
label
:path
do
%span
.cred
Team path is
%span
.cred
Team path is
.input
.input
=
f
.
text_field
:path
,
placeholder:
"example-team"
,
class:
"xxlarge danger"
=
f
.
text_field
:path
,
placeholder:
"example-team"
,
class:
"xxlarge danger"
%ul
.cred
%ul
.cred
%li
Changing team path can have unintended side effects.
%li
Renaming team path will rename directory for all related projects
%li
It will change web url for access team and team projects.
%li
It will change web url for access team and team projects.
%li
It will change the git path to repositories under this team.
.form-actions
.form-actions
=
f
.
submit
'Rename team'
,
class:
"btn danger"
=
f
.
submit
'Rename team'
,
class:
"btn danger"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment