-
Notifications
You must be signed in to change notification settings - Fork 62
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-492: As an Editor, I want to see redesigned tables #1831
IBX-492: As an Editor, I want to see redesigned tables #1831
Conversation
0e64142
to
27e4183
Compare
@@ -803,7 +803,7 @@ export default class SubItemsModule extends Component { | |||
* @param {Object} rawPlaceholdersMap | |||
*/ | |||
handleBulkOperationFailedNotification(failedItems, modalTableTitle, notificationMessage, rawPlaceholdersMap) { | |||
const failedItemsData = failedItems.map((content) => ({ | |||
const failedItemsData = failedItems.map(({ content }) => ({ |
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.
Note: This fixes the broken bulk-delete-failed modal.
.replace('{{ content_name }}', contentName) | ||
.replace('{{ content_type_name }}', contentTypeName) | ||
.replace('{{ published_date }}', formatShortDateTime(item.ContentInfo.Content.publishedDate)) | ||
.replace('{{ order }}', selectedItems.length + index + 1); |
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.
Maybe add selectedItems.length + index + 1
to a variable?
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.
I just refactored the template. IMO it is outside the scope of this task.
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.
I have no idea what the author meant.
src/bundle/Resources/views/themes/admin/language/index.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/language/index.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/language/list.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/object_state/object_state_group/list.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/object_state/object_state_group/view.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content/tab/locations/tab.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content/tab/policies/tab.html.twig
Outdated
Show resolved
Hide resolved
{% set col_raw %} | ||
{% for language_code in system_url.languageCodes %}{{ ez_admin_ui_config.languages.mappings[language_code].name }}<br>{% endfor %} | ||
{% endset %} | ||
{% set body_row_cols = body_row_cols|merge([{ |
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.
empty line before? To match previous ones (or remove from line 7 and 11)
Also in other places
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.
I didn't add an empty line here to signify that this merge
is related to col_row
above.
src/bundle/Resources/views/themes/admin/content/tab/versions/table.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content/tab/versions/table.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content_type/content_type_group/list.html.twig
Outdated
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
9ca8189
to
fec2b02
Compare
.table &--name { | ||
max-width: calculateRem(350px); | ||
text-overflow: ellipsis; | ||
overflow: hidden; | ||
} |
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.
Note: deleted because it seems that it has never worked - checked on eZ Platform 3.4.
cc1bd3e
to
e49f9a2
Compare
e4a493e
to
6496f5b
Compare
&__sort-column { | ||
position: relative; | ||
cursor: pointer; | ||
display: inline-block; |
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.
742153f
to
16c84d2
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Co-authored-by: Marek Nocoń <mnocon@users.noreply.github.com> (cherry picked from commit d5da1f1)
Related PRs:
Checklist:
$ composer fix-cs
)