-
Notifications
You must be signed in to change notification settings - Fork 16
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
IBX-3529: changed header list title #638
Conversation
src/bundle/Resources/views/themes/admin/content_type/list.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/account/bookmarks/list.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content/draft/draft_list.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/url_wildcard/list.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/user/role/list.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/ui/component/macros.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/ui/component/macros.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/ui/component/macros.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/account/bookmarks/list.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/ui/component/macros.html.twig
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be helpful if you can provide in the description an example of how this will be extended (in the context of custom translation). We are losing translations with this solution. Maybe we should internally add translations for new list.headline
, list.headline.results
, and list.headline.results.search
for the most popular languages: e.g. fr, de, es, and pl
src/bundle/Resources/views/themes/admin/url_wildcard/list.html.twig
Outdated
Show resolved
Hide resolved
@@ -8,3 +8,18 @@ | |||
{%- endif -%} | |||
{%- endfor -%} | |||
{%- endmacro -%} | |||
|
|||
{% macro results_headline(count, has_filters = false, phrase = null) %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we want have everywhere the same list header on pages, there was implemented macro which can be used in every package. It takes filters and phrase if search or filters are avaiable.
bea2a7d
to
91ba86f
Compare
a1061e3
to
9b16b03
Compare
9b16b03
to
9f03b09
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rule needs to be implemented:
Products
For search results:
Result (number)
SonarCloud Quality Gate failed.
|
Merge to main: 15f9906 |
Changed header list on pages in admin-ui
Checklist:
$ composer fix-cs
)