-
-
Notifications
You must be signed in to change notification settings - Fork 9
SYL-4341 Remove documentation links #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
048f572
7749312
e6854cc
01ba721
1480fdb
16d76c6
4d2ea3f
f2213e1
461dd0d
a8d1cd4
2acc979
8c0df8d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Newly added templates should be added to the proper plugin templates directory, the others could be refactored in a separate PR. Could you open such a PR after merging this one? 🤔 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure! 🫡
Cholin2000 marked this conversation as resolved.
Show resolved
Hide resolved
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{% extends '@SyliusUi/Form/theme.html.twig' %} | ||
|
||
{% block form_help %} | ||
{% if help is empty and help is not same as(false) %} | ||
{% set name = name ?? id|split('_')|last %} | ||
|
||
{% if name == 'api_key_test' %} | ||
<div class="ui pointing label"> | ||
{{ 'sylius_mollie_plugin.ui.read_more_test_api_key'|trans({ | ||
'%link%': '<a target="_blank" href="https://www.mollie.com/dashboard/developers/api-keys">' ~ 'sylius_mollie_plugin.ui.mollie_profile'|trans ~ '</a>' | ||
})|raw }} | ||
</div> | ||
{% elseif name == 'api_key_live' %} | ||
<div class="ui pointing label"> | ||
{{ 'sylius_mollie_plugin.ui.read_more_live_api_key'|trans({ | ||
'%link%': '<a target="_blank" href="https://www.mollie.com/dashboard/developers/api-keys">' ~ 'sylius_mollie_plugin.ui.mollie_profile'|trans ~ '</a>' | ||
})|raw }} | ||
</div> | ||
{% elseif name == 'components' %} | ||
<div class="ui pointing label"> | ||
{{ 'sylius_mollie_plugin.ui.read_more_enable_components'|trans({ | ||
'%link%': '<a target="_blank" href="https://www.mollie.com/en/news/post/better-checkout-flows-with-mollie-components">' ~ 'sylius_mollie_plugin.ui.mollie_components'|trans ~ '</a>' | ||
})|raw }} | ||
</div> | ||
{% elseif name == 'single_click_enabled' %} | ||
<div class="ui pointing label"> | ||
{{ 'sylius_mollie_plugin.ui.read_more_single_click_enabled'|trans({ | ||
'%link%': '<a target="_blank" href="https://help.mollie.com/hc/en-us/articles/115000671249-What-are-single-click-payments-and-how-does-it-work-">' ~ 'sylius_mollie_plugin.ui.mollie_single_click'|trans ~ '</a>' | ||
})|raw }} | ||
</div> | ||
{% else %} | ||
{{ parent() }} | ||
{% endif %} | ||
{% else %} | ||
{{ parent() }} | ||
{% endif %} | ||
{% endblock %} |
Uh oh!
There was an error while loading. Please reload this page.