Skip to content

Commit 7a532a4

Browse files
authored
IBX-9414: Bookmarks list fixes (#1553)
1 parent d143f94 commit 7a532a4

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

src/bundle/Resources/public/scss/_main-container.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,14 @@
116116
}
117117
}
118118

119+
&--full-width {
120+
.container {
121+
@media (min-width: 1200px) {
122+
max-width: calculateRem(2000px);
123+
}
124+
}
125+
}
126+
119127
.ibexa-content-container {
120128
display: flex;
121129
flex-direction: column;

src/bundle/Resources/translations/ibexa_bookmark.en.xliff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
</header>
88
<body>
99
<trans-unit id="5cc4d552faa942983e3eb8ec85c053aeb1e42ae4" resname="bookmark.button.remove">
10-
<source>Delete</source>
11-
<target state="new">Delete</target>
10+
<source>Remove from bookmarks</source>
11+
<target state="new">Remove from bookmarks</target>
1212
<note>key: bookmark.button.remove</note>
1313
</trans-unit>
1414
<trans-unit id="c2c1dc512033aabc10e0c6a46cf5e99355f5c750" resname="bookmark.headline">

src/bundle/Resources/views/themes/admin/account/bookmarks/list.html.twig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
{% form_theme form_remove '@ibexadesign/ui/form_fields.html.twig' %}
88

99
{% block body_class %}ibexa-bookmark-list-view{% endblock %}
10+
{% block main_container_class %}{{ parent() }} ibexa-main-container--full-width {% endblock %}
1011

1112
{% block header %}
1213
{% include '@ibexadesign/ui/page_title.html.twig' with {
@@ -92,7 +93,7 @@
9293
{ },
9394
],
9495
body_rows,
95-
actions: form_widget(form_remove.remove, {'attr': {'class': 'btn ibexa-btn ibexa-btn--ghost ibexa-btn--small', 'disabled': true}}),
96+
actions: form_widget(form_remove.remove, {'attr': {'class': 'btn ibexa-btn ibexa-btn--ghost ibexa-btn--small', 'disabled': true} }),
9697
empty_table_info_text: 'bookmark.list.empty'|trans|desc('You have no bookmarks yet. Your bookmarks will show up here.'),
9798
} %}
9899
{{ form_end(form_remove) }}
@@ -108,7 +109,7 @@
108109
'action': path('ibexa.content.edit'),
109110
'attr': { 'class': 'ibexa-edit-content-form'}
110111
}) }}
111-
{{ form_widget(form_edit.language, {'attr': {'hidden': 'hidden', 'class': 'language-input'}}) }}
112+
{{ form_widget(form_edit.language, {'attr': {'hidden': 'hidden', 'class': 'language-input'} }) }}
112113
{{ form_end(form_edit) }}
113114
</div>
114115
{% endblock %}

src/bundle/Resources/views/themes/admin/ui/form_fields.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
{%- endblock table_header_tool_btn -%}
246246

247247
{%- block _bookmark_remove_remove_widget -%}
248-
{%- set title = 'bookmark.button.remove'|trans({},'ibexa_bookmark')|desc('Delete') -%}
248+
{%- set title = 'bookmark.button.remove'|trans({},'ibexa_bookmark')|desc('Remove from bookmarks') -%}
249249
{%- set icon = 'trash' -%}
250250
{{ block('table_header_tool_btn') }}
251251
{%- endblock -%}

0 commit comments

Comments
 (0)