Skip to content
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

Add old Plone 5 classes to the portlet template #417

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions news/416.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Add old Plone 5 classes to the portlet template

Add Plone 5 classes portletHeader and portletContent to the portlet template to
improve compatibility with Plone 5 styles.
This can help when migrating styles from Plone 5 to Plone 6.

Note: This targets only portlets yet. There is probably much more to do to
improve the Plone 5 to 6 upgrade experience.
[thet]
4 changes: 2 additions & 2 deletions plone/app/event/portlets/portlet_calendar.pt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"
>

<div class="card-header text-center">
<div class="card-header portletHeader text-center">
<a class="calendarPrevious pat-contentloader"
href="#"
rel="nofollow"
Expand Down Expand Up @@ -64,7 +64,7 @@
>&raquo;</a>
</div>

<div class="card-body table-responsive">
<div class="card-body portletContent table-responsive">
<table class="table table-sm table-borderless mb-0"
summary="Calendar"
i18n:attributes="summary summary_calendar"
Expand Down