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
Boxiang Sun
gitlab-ce
Commits
91df6c22
Commit
91df6c22
authored
Mar 29, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-jig banner callout markup for new design
parent
4847acd8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
12 deletions
+10
-12
app/views/shared/_auto_devops_callout.html.haml
app/views/shared/_auto_devops_callout.html.haml
+2
-2
app/views/shared/milestones/_deprecation_message.html.haml
app/views/shared/milestones/_deprecation_message.html.haml
+8
-10
No files found.
app/views/shared/_auto_devops_callout.html.haml
View file @
91df6c22
...
@@ -2,13 +2,13 @@
...
@@ -2,13 +2,13 @@
.banner-graphic
.banner-graphic
=
custom_icon
(
'icon_autodevops'
)
=
custom_icon
(
'icon_autodevops'
)
.prepend-top-10.prepend-left-10.append-bottom-10
.
banner-body.
prepend-top-10.prepend-left-10.append-bottom-10
%h5
=
s_
(
'AutoDevOps|Auto DevOps (Beta)'
)
%h5
=
s_
(
'AutoDevOps|Auto DevOps (Beta)'
)
%p
=
s_
(
'AutoDevOps|It will automatically build, test, and deploy your application based on a predefined CI/CD configuration.'
)
%p
=
s_
(
'AutoDevOps|It will automatically build, test, and deploy your application based on a predefined CI/CD configuration.'
)
%p
%p
-
link
=
link_to
(
s_
(
'AutoDevOps|Auto DevOps documentation'
),
help_page_path
(
'topics/autodevops/index.md'
),
target:
'_blank'
,
rel:
'noopener noreferrer'
)
-
link
=
link_to
(
s_
(
'AutoDevOps|Auto DevOps documentation'
),
help_page_path
(
'topics/autodevops/index.md'
),
target:
'_blank'
,
rel:
'noopener noreferrer'
)
=
s_
(
'AutoDevOps|Learn more in the %{link_to_documentation}'
).
html_safe
%
{
link_to_documentation:
link
}
=
s_
(
'AutoDevOps|Learn more in the %{link_to_documentation}'
).
html_safe
%
{
link_to_documentation:
link
}
.
prepend-top-10
.
banner-buttons
=
link_to
s_
(
'AutoDevOps|Enable in settings'
),
project_settings_ci_cd_path
(
@project
,
anchor:
'js-general-pipeline-settings'
),
class:
'btn js-close-callout'
=
link_to
s_
(
'AutoDevOps|Enable in settings'
),
project_settings_ci_cd_path
(
@project
,
anchor:
'js-general-pipeline-settings'
),
class:
'btn js-close-callout'
%button
.btn-transparent.banner-close.close.js-close-callout
{
type:
'button'
,
%button
.btn-transparent.banner-close.close.js-close-callout
{
type:
'button'
,
...
...
app/views/shared/milestones/_deprecation_message.html.haml
View file @
91df6c22
.milestone-deprecation-message.prepend-top-default.prepend-left-default
.banner-callout.compact.milestone-deprecation-message.js-milestone-deprecation-message.prepend-top-20
.illustration.inline
=
image_tag
'illustrations/milestone_removing-page.svg'
,
class:
'append-right-default'
.banner-graphic
=
image_tag
'illustrations/milestone_removing-page.svg'
.inline.vertical-align-middle
.banner-body.prepend-left-10.append-right-10
%strong
=
_
(
'This page will be removed in a future release.'
)
%h5
.prepend-top-0
=
_
(
'This page will be removed in a future release.'
)
%p
.append-bottom-default.prepend-top-5
%p
=
_
(
'Use group milestones to manage issues from multiple projects in the same milestone.'
)
=
_
(
'Use group milestones to manage issues from multiple projects in the same milestone.'
)
=
button_tag
_
(
'Promote these project milestones into a group milestone.'
),
class:
'btn-link js-popover-link text-align-left'
%br
.banner-buttons.prepend-top-20
=
link_to
_
(
'Learn more'
),
help_page_url
(
'user/project/milestones/index'
,
anchor:
'promoting-project-milestones-to-group-milestones'
),
class:
'btn btn-default'
,
target:
'_blank'
=
button_tag
_
(
'Promote these project milestones into a group milestone.'
),
class:
'btn-link popover-link prepend-left-0'
%div
=
link_to
_
(
'Learn more'
),
help_page_url
(
'user/project/milestones/index'
,
anchor:
'promoting-project-milestones-to-group-milestones'
),
class:
'btn btn-default'
,
target:
'_blank'
%template
.milestone-deprecation-message-template
%template
.
js-
milestone-deprecation-message-template
.milestone-popover-body
.milestone-popover-body
%ol
.milestone-popover-instructions-list.append-bottom-0
%ol
.milestone-popover-instructions-list.append-bottom-0
%li
=
_
(
'Click any <strong>project name</strong> in the project list below to navigate to the project milestone.'
).
html_safe
%li
=
_
(
'Click any <strong>project name</strong> in the project list below to navigate to the project milestone.'
).
html_safe
...
...
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