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
b742f47e
Commit
b742f47e
authored
Jan 30, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove old alert messages
parent
e2fb18a3
Changes
35
Show whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
42 additions
and
36 deletions
+42
-36
app/assets/stylesheets/gitlab_bootstrap/buttons.scss
app/assets/stylesheets/gitlab_bootstrap/buttons.scss
+1
-0
app/assets/stylesheets/gitlab_bootstrap/common.scss
app/assets/stylesheets/gitlab_bootstrap/common.scss
+6
-1
app/views/admin/groups/edit.html.haml
app/views/admin/groups/edit.html.haml
+1
-1
app/views/admin/groups/new.html.haml
app/views/admin/groups/new.html.haml
+1
-1
app/views/admin/hooks/index.html.haml
app/views/admin/hooks/index.html.haml
+1
-1
app/views/admin/projects/_form.html.haml
app/views/admin/projects/_form.html.haml
+1
-1
app/views/admin/projects/members/_form.html.haml
app/views/admin/projects/members/_form.html.haml
+1
-1
app/views/admin/teams/edit.html.haml
app/views/admin/teams/edit.html.haml
+1
-1
app/views/admin/teams/members/_form.html.haml
app/views/admin/teams/members/_form.html.haml
+1
-1
app/views/admin/teams/new.html.haml
app/views/admin/teams/new.html.haml
+1
-1
app/views/admin/teams/projects/_form.html.haml
app/views/admin/teams/projects/_form.html.haml
+1
-1
app/views/commit/huge_commit.html.haml
app/views/commit/huge_commit.html.haml
+1
-1
app/views/commits/_diffs.html.haml
app/views/commits/_diffs.html.haml
+1
-1
app/views/deploy_keys/_form.html.haml
app/views/deploy_keys/_form.html.haml
+1
-1
app/views/groups/new.html.haml
app/views/groups/new.html.haml
+1
-1
app/views/hooks/index.html.haml
app/views/hooks/index.html.haml
+1
-1
app/views/issues/_form.html.haml
app/views/issues/_form.html.haml
+1
-1
app/views/keys/_form.html.haml
app/views/keys/_form.html.haml
+1
-1
app/views/merge_requests/_form.html.haml
app/views/merge_requests/_form.html.haml
+1
-1
app/views/merge_requests/show/_mr_accept.html.haml
app/views/merge_requests/show/_mr_accept.html.haml
+3
-3
app/views/merge_requests/show/_mr_ci.html.haml
app/views/merge_requests/show/_mr_ci.html.haml
+1
-1
app/views/merge_requests/show/_mr_title.html.haml
app/views/merge_requests/show/_mr_title.html.haml
+1
-1
app/views/milestones/_form.html.haml
app/views/milestones/_form.html.haml
+1
-1
app/views/profiles/account.html.haml
app/views/profiles/account.html.haml
+1
-1
app/views/profiles/show.html.haml
app/views/profiles/show.html.haml
+1
-1
app/views/projects/_form.html.haml
app/views/projects/_form.html.haml
+1
-1
app/views/projects/_new_form.html.haml
app/views/projects/_new_form.html.haml
+1
-1
app/views/protected_branches/index.html.haml
app/views/protected_branches/index.html.haml
+1
-1
app/views/services/_gitlab_ci.html.haml
app/views/services/_gitlab_ci.html.haml
+1
-1
app/views/snippets/_form.html.haml
app/views/snippets/_form.html.haml
+1
-1
app/views/team_members/_form.html.haml
app/views/team_members/_form.html.haml
+1
-1
app/views/teams/edit.html.haml
app/views/teams/edit.html.haml
+1
-1
app/views/teams/members/_form.html.haml
app/views/teams/members/_form.html.haml
+1
-1
app/views/teams/new.html.haml
app/views/teams/new.html.haml
+1
-1
app/views/teams/projects/_form.html.haml
app/views/teams/projects/_form.html.haml
+1
-1
No files found.
app/assets/stylesheets/gitlab_bootstrap/buttons.scss
View file @
b742f47e
...
@@ -67,6 +67,7 @@
...
@@ -67,6 +67,7 @@
@extend
.btn-primary
;
@extend
.btn-primary
;
}
}
&
.btn-close
,
&
.btn-remove
{
&
.btn-remove
{
@extend
.btn-danger
;
@extend
.btn-danger
;
border-color
:
#BD362F
;
border-color
:
#BD362F
;
...
...
app/assets/stylesheets/gitlab_bootstrap/common.scss
View file @
b742f47e
...
@@ -86,9 +86,14 @@
...
@@ -86,9 +86,14 @@
/** ALERT MESSAGES **/
/** ALERT MESSAGES **/
.alert-message
{
@extend
.alert
;
}
.alert-message
{
@extend
.alert
;
}
.alert-messag.success
{
@extend
.alert-success
;
}
.alert-message.error
{
@extend
.alert-error
;
}
.alert-message.error
{
@extend
.alert-error
;
}
.alert.alert-disabled
{
background
:
#EEE
;
color
:
#777
;
border-color
:
#DDD
;
}
/** AVATARS **/
/** AVATARS **/
img
.avatar
{
float
:
left
;
margin-right
:
12px
;
width
:
40px
;
border
:
1px
solid
#ddd
;
padding
:
1px
;
}
img
.avatar
{
float
:
left
;
margin-right
:
12px
;
width
:
40px
;
border
:
1px
solid
#ddd
;
padding
:
1px
;
}
img
.avatar.s16
{
width
:
16px
;
height
:
16px
;
margin-right
:
6px
;
}
img
.avatar.s16
{
width
:
16px
;
height
:
16px
;
margin-right
:
6px
;
}
...
...
app/views/admin/groups/edit.html.haml
View file @
b742f47e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
%hr
%hr
=
form_for
[
:admin
,
@group
]
do
|
f
|
=
form_for
[
:admin
,
@group
]
do
|
f
|
-
if
@group
.
errors
.
any?
-
if
@group
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%span
=
@group
.
errors
.
full_messages
.
first
%span
=
@group
.
errors
.
full_messages
.
first
.clearfix.group_name_holder
.clearfix.group_name_holder
=
f
.
label
:name
do
=
f
.
label
:name
do
...
...
app/views/admin/groups/new.html.haml
View file @
b742f47e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
%hr
%hr
=
form_for
[
:admin
,
@group
]
do
|
f
|
=
form_for
[
:admin
,
@group
]
do
|
f
|
-
if
@group
.
errors
.
any?
-
if
@group
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%span
=
@group
.
errors
.
full_messages
.
first
%span
=
@group
.
errors
.
full_messages
.
first
.clearfix
.clearfix
=
f
.
label
:name
do
=
f
.
label
:name
do
...
...
app/views/admin/hooks/index.html.haml
View file @
b742f47e
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
=
form_for
@hook
,
as: :hook
,
url:
admin_hooks_path
,
html:
{
class:
'form-inline'
}
do
|
f
|
=
form_for
@hook
,
as: :hook
,
url:
admin_hooks_path
,
html:
{
class:
'form-inline'
}
do
|
f
|
-
if
@hook
.
errors
.
any?
-
if
@hook
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
-
@hook
.
errors
.
full_messages
.
each
do
|
msg
|
-
@hook
.
errors
.
full_messages
.
each
do
|
msg
|
%p
=
msg
%p
=
msg
.clearfix
.clearfix
...
...
app/views/admin/projects/_form.html.haml
View file @
b742f47e
=
form_for
[
:admin
,
project
]
do
|
f
|
=
form_for
[
:admin
,
project
]
do
|
f
|
-
if
project
.
errors
.
any?
-
if
project
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%ul
%ul
-
project
.
errors
.
full_messages
.
each
do
|
msg
|
-
project
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/admin/projects/members/_form.html.haml
View file @
b742f47e
=
form_for
@team_member_relation
,
as: :team_member
,
url:
admin_project_member_path
(
@project
,
@member
)
do
|
f
|
=
form_for
@team_member_relation
,
as: :team_member
,
url:
admin_project_member_path
(
@project
,
@member
)
do
|
f
|
-
if
@team_member_relation
.
errors
.
any?
-
if
@team_member_relation
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%ul
%ul
-
@team_member_relation
.
errors
.
full_messages
.
each
do
|
msg
|
-
@team_member_relation
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/admin/teams/edit.html.haml
View file @
b742f47e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
%hr
%hr
=
form_for
@team
,
url:
admin_team_path
(
@team
),
method: :put
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
.alert-
error
%span
=
@team
.
errors
.
full_messages
.
first
%span
=
@team
.
errors
.
full_messages
.
first
.clearfix.team_name_holder
.clearfix.team_name_holder
=
f
.
label
:name
do
=
f
.
label
:name
do
...
...
app/views/admin/teams/members/_form.html.haml
View file @
b742f47e
=
form_tag
admin_team_member_path
(
@team
,
@member
),
method: :put
do
=
form_tag
admin_team_member_path
(
@team
,
@member
),
method: :put
do
-
if
@member
.
errors
.
any?
-
if
@member
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%ul
%ul
-
@member
.
errors
.
full_messages
.
each
do
|
msg
|
-
@member
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/admin/teams/new.html.haml
View file @
b742f47e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
%hr
%hr
=
form_for
@team
,
url:
admin_teams_path
do
|
f
|
=
form_for
@team
,
url:
admin_teams_path
do
|
f
|
-
if
@team
.
errors
.
any?
-
if
@team
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%span
=
@team
.
errors
.
full_messages
.
first
%span
=
@team
.
errors
.
full_messages
.
first
.clearfix
.clearfix
=
f
.
label
:name
do
=
f
.
label
:name
do
...
...
app/views/admin/teams/projects/_form.html.haml
View file @
b742f47e
=
form_tag
admin_team_project_path
(
@team
,
@project
),
method: :put
do
=
form_tag
admin_team_project_path
(
@team
,
@project
),
method: :put
do
-
if
@project
.
errors
.
any?
-
if
@project
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%ul
%ul
-
@project
.
errors
.
full_messages
.
each
do
|
msg
|
-
@project
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/commit/huge_commit.html.haml
View file @
b742f47e
=
render
"commits/commit_box"
=
render
"commits/commit_box"
.alert
-message.block-message.
error
.alert
.alert-
error
%h4
Commit diffs are too big to be displayed
%h4
Commit diffs are too big to be displayed
app/views/commits/_diffs.html.haml
View file @
b742f47e
-
if
@suppress_diff
-
if
@suppress_diff
.alert
-message.block-message
.alert
.alert-block
%p
%p
%strong
Warning! Large commit with more then
#{
Commit
::
DIFF_SAFE_SIZE
}
files changed.
%strong
Warning! Large commit with more then
#{
Commit
::
DIFF_SAFE_SIZE
}
files changed.
%p
To prevent performance issue we rejected diff information.
%p
To prevent performance issue we rejected diff information.
...
...
app/views/deploy_keys/_form.html.haml
View file @
b742f47e
%div
%div
=
form_for
[
@project
,
@key
],
url:
project_deploy_keys_path
do
|
f
|
=
form_for
[
@project
,
@key
],
url:
project_deploy_keys_path
do
|
f
|
-
if
@key
.
errors
.
any?
-
if
@key
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%ul
%ul
-
@key
.
errors
.
full_messages
.
each
do
|
msg
|
-
@key
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/groups/new.html.haml
View file @
b742f47e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
%hr
%hr
=
form_for
@group
do
|
f
|
=
form_for
@group
do
|
f
|
-
if
@group
.
errors
.
any?
-
if
@group
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%span
=
@group
.
errors
.
full_messages
.
first
%span
=
@group
.
errors
.
full_messages
.
first
.clearfix
.clearfix
=
f
.
label
:name
do
=
f
.
label
:name
do
...
...
app/views/hooks/index.html.haml
View file @
b742f47e
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
=
form_for
[
@project
,
@hook
],
as: :hook
,
url:
project_hooks_path
(
@project
),
html:
{
class:
'form-inline'
}
do
|
f
|
=
form_for
[
@project
,
@hook
],
as: :hook
,
url:
project_hooks_path
(
@project
),
html:
{
class:
'form-inline'
}
do
|
f
|
-
if
@hook
.
errors
.
any?
-
if
@hook
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
-
@hook
.
errors
.
full_messages
.
each
do
|
msg
|
-
@hook
.
errors
.
full_messages
.
each
do
|
msg
|
%p
=
msg
%p
=
msg
.clearfix
.clearfix
...
...
app/views/issues/_form.html.haml
View file @
b742f47e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
%h3
.page_title
=
@issue
.
new_record?
?
"New Issue"
:
"Edit Issue #
#{
@issue
.
id
}
"
%h3
.page_title
=
@issue
.
new_record?
?
"New Issue"
:
"Edit Issue #
#{
@issue
.
id
}
"
=
form_for
[
@project
,
@issue
]
do
|
f
|
=
form_for
[
@project
,
@issue
]
do
|
f
|
-
if
@issue
.
errors
.
any?
-
if
@issue
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
-
@issue
.
errors
.
full_messages
.
each
do
|
msg
|
-
@issue
.
errors
.
full_messages
.
each
do
|
msg
|
%span
=
msg
%span
=
msg
%br
%br
...
...
app/views/keys/_form.html.haml
View file @
b742f47e
%div
%div
=
form_for
@key
do
|
f
|
=
form_for
@key
do
|
f
|
-
if
@key
.
errors
.
any?
-
if
@key
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%ul
%ul
-
@key
.
errors
.
full_messages
.
each
do
|
msg
|
-
@key
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/merge_requests/_form.html.haml
View file @
b742f47e
=
form_for
[
@project
,
@merge_request
],
html:
{
class:
"
#{
controller
.
action_name
}
-merge-request form-horizontal"
}
do
|
f
|
=
form_for
[
@project
,
@merge_request
],
html:
{
class:
"
#{
controller
.
action_name
}
-merge-request form-horizontal"
}
do
|
f
|
-
if
@merge_request
.
errors
.
any?
-
if
@merge_request
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%ul
%ul
-
@merge_request
.
errors
.
full_messages
.
each
do
|
msg
|
-
@merge_request
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/merge_requests/show/_mr_accept.html.haml
View file @
b742f47e
-
unless
can?
(
current_user
,
:accept_mr
,
@project
)
-
unless
can?
(
current_user
,
:accept_mr
,
@project
)
.alert
-message
.alert
%strong
Only masters can accept MR
%strong
Only masters can accept MR
...
@@ -29,14 +29,14 @@
...
@@ -29,14 +29,14 @@
%strong
This repository does not have satellite. Ask administrator to fix this issue
%strong
This repository does not have satellite. Ask administrator to fix this issue
.automerge_widget.cannot_be_merged
{
style:
"display:none"
}
.automerge_widget.cannot_be_merged
{
style:
"display:none"
}
.alert.alert-
info
.alert.alert-
disabled
%span
%span
=
link_to
"Show how to merge"
,
"#"
,
class:
"how_to_merge_link btn btn-small padded"
,
title:
"How To Merge"
=
link_to
"Show how to merge"
,
"#"
,
class:
"how_to_merge_link btn btn-small padded"
,
title:
"How To Merge"
%strong
This request can't be merged with GitLab. You should do it manually
%strong
This request can't be merged with GitLab. You should do it manually
.automerge_widget.unchecked
.automerge_widget.unchecked
.alert
-message
.alert
%strong
%strong
%i
.icon-refresh
%i
.icon-refresh
Checking for ability to automatically merge…
Checking for ability to automatically merge…
...
...
app/views/merge_requests/show/_mr_ci.html.haml
View file @
b742f47e
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
=
link_to
"Build page"
,
ci_build_details_path
(
@merge_request
)
=
link_to
"Build page"
,
ci_build_details_path
(
@merge_request
)
.ci_widget
.ci_widget
.alert
-message
.alert
%strong
%strong
%i
.icon-refresh
%i
.icon-refresh
Checking for CI status for
#{
@merge_request
.
last_commit_short_sha
}
Checking for CI status for
#{
@merge_request
.
last_commit_short_sha
}
...
...
app/views/merge_requests/show/_mr_title.html.haml
View file @
b742f47e
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
%li
=
link_to
"Email Patches"
,
project_merge_request_path
(
@project
,
@merge_request
,
format: :patch
)
%li
=
link_to
"Email Patches"
,
project_merge_request_path
(
@project
,
@merge_request
,
format: :patch
)
%li
=
link_to
"Plain Diff"
,
project_merge_request_path
(
@project
,
@merge_request
,
format: :diff
)
%li
=
link_to
"Plain Diff"
,
project_merge_request_path
(
@project
,
@merge_request
,
format: :diff
)
=
link_to
'Close'
,
project_merge_request_path
(
@project
,
@merge_request
,
merge_request:
{
closed:
true
},
status_only:
true
),
method: :put
,
class:
"btn grouped
danger
"
,
title:
"Close merge request"
=
link_to
'Close'
,
project_merge_request_path
(
@project
,
@merge_request
,
merge_request:
{
closed:
true
},
status_only:
true
),
method: :put
,
class:
"btn grouped
btn-close
"
,
title:
"Close merge request"
=
link_to
edit_project_merge_request_path
(
@project
,
@merge_request
),
class:
"btn grouped"
do
=
link_to
edit_project_merge_request_path
(
@project
,
@merge_request
),
class:
"btn grouped"
do
%i
.icon-edit
%i
.icon-edit
...
...
app/views/milestones/_form.html.haml
View file @
b742f47e
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
=
form_for
[
@project
,
@milestone
],
html:
{
class:
"new_milestone form-horizontal"
}
do
|
f
|
=
form_for
[
@project
,
@milestone
],
html:
{
class:
"new_milestone form-horizontal"
}
do
|
f
|
-
if
@milestone
.
errors
.
any?
-
if
@milestone
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%ul
%ul
-
@milestone
.
errors
.
full_messages
.
each
do
|
msg
|
-
@milestone
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/profiles/account.html.haml
View file @
b742f47e
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
.padded
.padded
%p
.slead
After successful password update you will be redirected to login page where you should login with new password
%p
.slead
After successful password update you will be redirected to login page where you should login with new password
-
if
@user
.
errors
.
any?
-
if
@user
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%ul
%ul
-
@user
.
errors
.
full_messages
.
each
do
|
msg
|
-
@user
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/profiles/show.html.haml
View file @
b742f47e
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
=
form_for
@user
,
url:
profile_path
,
method: :put
,
html:
{
class:
"edit_user form-horizontal"
}
do
|
f
|
=
form_for
@user
,
url:
profile_path
,
method: :put
,
html:
{
class:
"edit_user form-horizontal"
}
do
|
f
|
-
if
@user
.
errors
.
any?
-
if
@user
.
errors
.
any?
%div
.alert
-message.block-message.
error
%div
.alert
.alert-
error
%ul
%ul
-
@user
.
errors
.
full_messages
.
each
do
|
msg
|
-
@user
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/projects/_form.html.haml
View file @
b742f47e
=
form_for
(
@project
,
remote:
true
)
do
|
f
|
=
form_for
(
@project
,
remote:
true
)
do
|
f
|
-
if
@project
.
errors
.
any?
-
if
@project
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%ul
%ul
-
@project
.
errors
.
full_messages
.
each
do
|
msg
|
-
@project
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/projects/_new_form.html.haml
View file @
b742f47e
=
form_for
(
@project
,
remote:
true
)
do
|
f
|
=
form_for
(
@project
,
remote:
true
)
do
|
f
|
-
if
@project
.
errors
.
any?
-
if
@project
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%span
=
@project
.
errors
.
full_messages
.
first
%span
=
@project
.
errors
.
full_messages
.
first
.clearfix.project_name_holder
.clearfix.project_name_holder
=
f
.
label
:name
do
=
f
.
label
:name
do
...
...
app/views/protected_branches/index.html.haml
View file @
b742f47e
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
-
if
can?
current_user
,
:admin_project
,
@project
-
if
can?
current_user
,
:admin_project
,
@project
=
form_for
[
@project
,
@protected_branch
]
do
|
f
|
=
form_for
[
@project
,
@protected_branch
]
do
|
f
|
-
if
@protected_branch
.
errors
.
any?
-
if
@protected_branch
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%ul
%ul
-
@protected_branch
.
errors
.
full_messages
.
each
do
|
msg
|
-
@protected_branch
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/services/_gitlab_ci.html.haml
View file @
b742f47e
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
%hr
%hr
=
form_for
(
@service
,
:as
=>
:service
,
:url
=>
project_service_path
(
@project
,
:gitlab_ci
),
:method
=>
:put
)
do
|
f
|
=
form_for
(
@service
,
:as
=>
:service
,
:url
=>
project_service_path
(
@project
,
:gitlab_ci
),
:method
=>
:put
)
do
|
f
|
-
if
@service
.
errors
.
any?
-
if
@service
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%ul
%ul
-
@service
.
errors
.
full_messages
.
each
do
|
msg
|
-
@service
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/snippets/_form.html.haml
View file @
b742f47e
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
.snippet-form-holder
.snippet-form-holder
=
form_for
[
@project
,
@snippet
]
do
|
f
|
=
form_for
[
@project
,
@snippet
]
do
|
f
|
-
if
@snippet
.
errors
.
any?
-
if
@snippet
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%ul
%ul
-
@snippet
.
errors
.
full_messages
.
each
do
|
msg
|
-
@snippet
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/team_members/_form.html.haml
View file @
b742f47e
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
%hr
%hr
=
form_for
@user_project_relation
,
as: :team_member
,
url:
project_team_members_path
(
@project
)
do
|
f
|
=
form_for
@user_project_relation
,
as: :team_member
,
url:
project_team_members_path
(
@project
)
do
|
f
|
-
if
@user_project_relation
.
errors
.
any?
-
if
@user_project_relation
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%ul
%ul
-
@user_project_relation
.
errors
.
full_messages
.
each
do
|
msg
|
-
@user_project_relation
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/teams/edit.html.haml
View file @
b742f47e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
%hr
%hr
=
form_for
@team
,
url:
teams_path
do
|
f
|
=
form_for
@team
,
url:
teams_path
do
|
f
|
-
if
@team
.
errors
.
any?
-
if
@team
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%span
=
@team
.
errors
.
full_messages
.
first
%span
=
@team
.
errors
.
full_messages
.
first
.clearfix
.clearfix
=
f
.
label
:name
do
=
f
.
label
:name
do
...
...
app/views/teams/members/_form.html.haml
View file @
b742f47e
=
form_tag
admin_team_member_path
(
@team
,
@member
),
method: :put
do
=
form_tag
admin_team_member_path
(
@team
,
@member
),
method: :put
do
-
if
@member
.
errors
.
any?
-
if
@member
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%ul
%ul
-
@member
.
errors
.
full_messages
.
each
do
|
msg
|
-
@member
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
app/views/teams/new.html.haml
View file @
b742f47e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
%hr
%hr
=
form_for
@team
,
url:
teams_path
do
|
f
|
=
form_for
@team
,
url:
teams_path
do
|
f
|
-
if
@team
.
errors
.
any?
-
if
@team
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%span
=
@team
.
errors
.
full_messages
.
first
%span
=
@team
.
errors
.
full_messages
.
first
.clearfix
.clearfix
=
f
.
label
:name
do
=
f
.
label
:name
do
...
...
app/views/teams/projects/_form.html.haml
View file @
b742f47e
=
form_tag
team_project_path
(
@team
,
@project
),
method: :put
do
=
form_tag
team_project_path
(
@team
,
@project
),
method: :put
do
-
if
@project
.
errors
.
any?
-
if
@project
.
errors
.
any?
.alert
-message.block-message.
error
.alert
.alert-
error
%ul
%ul
-
@project
.
errors
.
full_messages
.
each
do
|
msg
|
-
@project
.
errors
.
full_messages
.
each
do
|
msg
|
%li
=
msg
%li
=
msg
...
...
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