-
Notifications
You must be signed in to change notification settings - Fork 47
EZP-26734: Accordion on main titles of ContentTypeView #785
Conversation
7e9497f
to
d51af9a
Compare
Ready for review @dpobel @StephaneDiot and others |
} | ||
|
||
.ez-view-serversideview .ez-contenttype-view summary::after { | ||
content: '\e605'; |
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.
missing indent (below as well)
<div class="ez-contenttype-metadata-name">{{ "content_type.default_children_sorting"|trans|desc("Default property for sorting chilren") }}</div> | ||
<div class="ez-contenttype-metadata-value"> | ||
{{ ("content_type.sort_field." ~ content_type.defaultSortField)|trans(domain="ezrepoforms_content_type") }} / {{ ("content_type.sort_order." ~ content_type.defaultSortOrder)|trans(domain="ezrepoforms_content_type") }} | ||
<details open="open"> |
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.
instead of adding details
here, I would replace the previous section
element by details
(and the same should be possible for others details
as far as I can tell)
border-bottom: 1px solid #2b84b1; | ||
|
||
/* Hide marker on Firefox */ | ||
display: 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.
that's kind of hack :) It seems in Firefox you can write:
list-style-type: none;
274a64a
to
fe2e3be
Compare
Feedback taken into account @dpobel |
actually you also need re generate the translation file, there should be less changes now
fe2e3be
to
2a66159
Compare
Link: https://jira.ez.no/browse/EZP-26734
Description
Adds accordions on the main titles of the Content Type View and adds an
additional information
button to display the field's information.It will not work on IE/Edge for now because HTML5
details/summary
is not implemented yet.Screencast: https://drive.google.com/file/d/0B5amepf6EkXbejlUTFp5NnM4ZzA/view?usp=sharing
Another video about accordion: https://www.youtube.com/watch?v=cZFUNo9qOBE
Tests
Manual test on Firefox and Chrome
TODO