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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
56cb284d
Commit
56cb284d
authored
Dec 22, 2021
by
Serhii Yarynovskyi
Committed by
Jacques Erasmus
Dec 22, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix trial banner styling
parent
f52ac300
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
18 deletions
+13
-18
ee/app/views/shared/_ultimate_trial_callout_content.html.haml
...pp/views/shared/_ultimate_trial_callout_content.html.haml
+13
-15
locale/gitlab.pot
locale/gitlab.pot
+0
-3
No files found.
ee/app/views/shared/_ultimate_trial_callout_content.html.haml
View file @
56cb284d
...
@@ -2,20 +2,18 @@
...
@@ -2,20 +2,18 @@
-
callout
=
local_assigns
.
fetch
(
:callout
,
Users
::
CalloutsHelper
::
ULTIMATE_TRIAL
)
-
callout
=
local_assigns
.
fetch
(
:callout
,
Users
::
CalloutsHelper
::
ULTIMATE_TRIAL
)
-
button_css_class
=
is_dismissable
?
'mr-3'
:
''
-
button_css_class
=
is_dismissable
?
'mr-3'
:
''
.
pt-1.d-none.d-md-block
{
class:
container_class
}
.
gl-display-none.gl-md-display-block.container-limited
{
class:
'gl-pt-6! gl-pb-2!'
}
.user-callout.promotion-callout.thin-callout.js-gold-trial-callout
{
data:
{
uid:
'trial_callout_dismissed'
,
feature_id:
callout
,
dismiss_endpoint:
callouts_path
}
}
.user-callout.promotion-callout.thin-callout.js-gold-trial-callout
{
class:
'gl-mt-0!'
,
data:
{
uid:
'trial_callout_dismissed'
,
feature_id:
callout
,
dismiss_endpoint:
callouts_path
}
}
.
bordered-box.justify-content-left.align-items-center
.
gl-card.gl-px-8.gl-py-6
.
svg-container
.
gl-card-body.gl-display-flex
{
class:
'gl-p-0!'
}
=
image_tag
'illustrations/golden_tanuki.svg'
,
class:
'svg'
.gl-banner-illustration
.d-flex.flex-grow.align-items-center
=
image_tag
'illustrations/golden_tanuki.svg'
,
class:
'svg gl-w-8!'
.
user-callout-copy.ml-0
.
gl-banner-content
%h
5
.mb-0.mt-0
=
_
(
'Free Trial of GitLab.com Ultimate'
)
%h
1
.gl-banner-title
=
_
(
'Free Trial of GitLab.com Ultimate'
)
%p
.mb-0
%p
%span
=
_
(
'Try all GitLab has to offer for 30 days.'
)
%span
=
_
(
'Try all GitLab has to offer for 30 days.'
)
%span
.d-none.d-sm-inline
=
_
(
'No credit card required.'
)
%span
.d-none.d-sm-inline
=
_
(
'No credit card required.'
)
=
link_to
_
(
'Start your trial'
),
new_trial_registration_path
(
glm_source:
'gitlab.com'
,
glm_content:
'gold-callout'
),
class:
"btn btn-confirm gl-button mt-2 mt-sm-0
#{
button_css_class
}
"
,
target:
'_blank'
=
link_to
_
(
'Start your free trial'
),
new_trial_registration_path
(
glm_source:
'gitlab.com'
,
glm_content:
'gold-callout'
),
class:
"btn btn-confirm gl-button mt-2 mt-sm-0
#{
button_css_class
}
"
,
target:
'_blank'
-
if
is_dismissable
-
if
is_dismissable
%button
.btn.gl-banner-close.btn-default.btn-sm.gl-button.btn-default-tertiary.btn-icon.close.js-close
{
class:
'gl-opacity-10!'
,
type:
'button'
,
'aria-label'
=>
_
(
'Dismiss trial promotion'
)
}
%button
.gl-button.btn.btn-default.close.js-close
{
type:
'button'
,
=
sprite_icon
(
'close'
,
css_class:
'dismiss-icon gl-text-gray-700!'
)
'aria-label'
=>
_
(
'Dismiss trial promotion'
)
}
=
sprite_icon
(
'close'
,
css_class:
'dismiss-icon'
)
locale/gitlab.pot
View file @
56cb284d
...
@@ -33562,9 +33562,6 @@ msgstr ""
...
@@ -33562,9 +33562,6 @@ msgstr ""
msgid "Start your free trial"
msgid "Start your free trial"
msgstr ""
msgstr ""
msgid "Start your trial"
msgstr ""
msgid "Started"
msgid "Started"
msgstr ""
msgstr ""
...
...
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