Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
9a23595ac264
Commit
9a23595a
authored
Mar 25, 2015
by
Dmitriy Zaporozhets
Browse files
Replace alerts with well where alert is not needed
parent
c6373c0d991b
Changes
6
Hide whitespace changes
Inline
Side-by-side
app/views/admin/services/_form.html.haml
View file @
9a23595a
...
...
@@ -10,7 +10,7 @@
-
@service
.
errors
.
full_messages
.
each
do
|
msg
|
%p
=
msg
-
if
@service
.
help
.
present?
.
alert.alert-info
.
well
=
preserve
do
=
markdown
@service
.
help
...
...
app/views/projects/edit.html.haml
View file @
9a23595a
...
...
@@ -31,14 +31,11 @@
=
render
"visibility_level"
,
f:
f
,
visibility_level:
@project
.
visibility_level
,
can_change_visibility_level:
can?
(
current_user
,
:change_visibility_level
,
@project
)
%fieldset
.features
%legend
Tags:
.form-group
=
f
.
label
:tag_list
,
"Tags"
,
class:
'control-label'
.col-sm-10
=
f
.
text_field
:tag_list
,
maxlength:
2000
,
class:
"form-control"
%p
.hint
Separate tags with commas.
.form-group
=
f
.
label
:tag_list
,
"Tags"
,
class:
'control-label'
.col-sm-10
=
f
.
text_field
:tag_list
,
maxlength:
2000
,
class:
"form-control"
%p
.help-block
Separate tags with commas.
%fieldset
.features
%legend
...
...
app/views/projects/imports/new.html.haml
View file @
9a23595a
...
...
@@ -12,7 +12,7 @@
%span
Import existing git repo
.col-sm-10
=
f
.
text_field
:import_url
,
class:
'form-control'
,
placeholder:
'https://github.com/randx/six.git'
.
alert.alert-info
.
well.prepend-top-20
This URL must be publicly accessible or you can add a username and password like this: https://username:password@gitlab.com/company/project.git.
%br
The import will time out after 4 minutes. For big repositories, use a clone/push combination.
...
...
app/views/projects/new.html.haml
View file @
9a23595a
...
...
@@ -72,7 +72,7 @@
%span
Git repository URL
.col-sm-10
=
f
.
text_field
:import_url
,
class:
'form-control'
,
placeholder:
'https://username:password@gitlab.company.com/group/project.git'
.
alert.alert-info
.prepend-top-
1
0
.
well
.prepend-top-
2
0
%ul
%li
The repository must be accessible over HTTP(S). If it is not publicly accessible, you can add authentication information to the URL:
<code>
https://username:password@gitlab.company.com/group/project.git
</code>
.
...
...
app/views/projects/protected_branches/index.html.haml
View file @
9a23595a
...
...
@@ -2,7 +2,7 @@
%p
.light
Keep stable branches secure and force developers to use Merge Requests
%hr
.
alert.alert-info
.
well.append-bottom-20
%p
Protected branches are designed to
%ul
%li
prevent pushes from everybody except
#{
link_to
"masters"
,
help_page_path
(
"permissions"
,
"permissions"
),
class:
"vlink"
}
...
...
app/views/projects/services/_form.html.haml
View file @
9a23595a
...
...
@@ -18,7 +18,7 @@
%li
=
msg
-
if
@service
.
help
.
present?
.
alert.alert-info
.
well
=
preserve
do
=
markdown
@service
.
help
...
...
Write
Preview
Supports
Markdown
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