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
763426ef
Commit
763426ef
authored
Apr 08, 2021
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix HAML to comply Style/RedundantParentheses
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
5eccde09
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/app/views/layouts/header/_read_only_banner.html.haml
ee/app/views/layouts/header/_read_only_banner.html.haml
+1
-1
ee/app/views/shared/billings/_billing_plan.html.haml
ee/app/views/shared/billings/_billing_plan.html.haml
+1
-1
No files found.
ee/app/views/layouts/header/_read_only_banner.html.haml
View file @
763426ef
...
...
@@ -2,6 +2,6 @@
-
if
message
.flash-container.flash-container-page
.flash-notice.flash-notice-persistent
%div
{
class:
(
container_class
)
}
%div
{
class:
container_class
}
%span
=
message
ee/app/views/shared/billings/_billing_plan.html.haml
View file @
763426ef
...
...
@@ -70,6 +70,6 @@
-
show_contact_sales_button
=
show_contact_sales_button?
(
purchase_link
.
action
,
plan_offer_type
)
.gl-min-h-7.gl-display-flex.gl-flex-wrap.gl-justify-content-end
-
if
show_contact_sales_button
=
link_to
s_
(
'BillingPlan|Contact sales'
),
"
#{
contact_sales_url
}
?test=inappcontactsales
#{
plan
.
code
}
"
,
class:
[
(
"btn gl-button"
),
(
show_upgrade_button
?
"btn-success-secondary"
:
"btn-success"
)
],
data:
{
**
experiment_tracking_data_for_button_click
(
'contact_sales'
)
}
=
link_to
s_
(
'BillingPlan|Contact sales'
),
"
#{
contact_sales_url
}
?test=inappcontactsales
#{
plan
.
code
}
"
,
class:
[
"btn gl-button"
,
show_upgrade_button
?
"btn-success-secondary"
:
"btn-success"
],
data:
{
**
experiment_tracking_data_for_button_click
(
'contact_sales'
)
}
-
if
show_upgrade_button
=
link_to
upgrade_button_text
,
plan_purchase_or_upgrade_url
(
namespace
,
plan
),
class:
"
#{
upgrade_button_classes
}
billing-cta-purchase
#{
cta_class
}
gl-ml-3"
,
data:
{
**
experiment_tracking_data_for_button_click
(
'upgrade'
)
}
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