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

Merge Section Template - Meeds-io/MIPs#172 #2755

Merged
merged 2 commits into from
Jan 13, 2025
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ portal.administration.portlets=Portlets
portal.administration.pwaSettings=Mobile or Desktop App
portal.administration.spaceTemplates=Spaces
portal.administration.categoryManagement=Category
portal.administration.sections=Sections
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ portal.global.public=Overview
portal.global.pageNotFound=Page Not Found
portal.global.layout-editor=Layout Editor
portal.global.portlet-editor=Portlet Editor
portal.global.section-editor=Section Template Editor
portal.global.portlet-viewer=Portlet Viewer
portal.global.organizationalChart=Organizational Chart
portal.global.spaceHome=Home
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,12 @@
<icon>fas fa-pager</icon>
<page-reference>portal::administration::pageTemplates</page-reference>
</node>
<node>
<name>sections</name>
<label>#{portal.administration.sections}</label>
<icon>fas fa-grip-horizontal</icon>
<page-reference>portal::administration::sectionTemplates</page-reference>
</node>
</node>
</node>
</node>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,26 @@
</container>
</page>

<page profiles="layout">
<name>sectionTemplates</name>
<title>Section Templates</title>
<access-permissions>*:/platform/administrators,manager:/platform/web-contributors</access-permissions>
<edit-permission>manager:/platform/administrators</edit-permission>
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl">
<section-columns>
<column col-span="12">
<portlet-application>
<portlet>
<application-ref>layout</application-ref>
<portlet-ref>SectionTemplates</portlet-ref>
</portlet>
<title>Section Templates</title>
</portlet-application>
</column>
</section-columns>
</container>
</page>

<page>
<name>spaceTemplates</name>
<title>Space Templates</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,12 @@
<visibility>SYSTEM</visibility>
<page-reference>portal::global::portlet-editor</page-reference>
</node>
<node>
<name>section-editor</name>
<label>#{portal.global.section-editor}</label>
<visibility>SYSTEM</visibility>
<page-reference>portal::global::section-editor</page-reference>
</node>
<node>
<name>portlet-viewer</name>
<label>#{portal.global.portlet-viewer}</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2078,4 +2078,55 @@
</container>
</page>

<page profiles="layout">
<name>section-editor</name>
<title>Section Template Editor</title>
<access-permissions>*:/platform/administrators;*:/platform/web-contributors</access-permissions>
<edit-permission>manager:/platform/administrators</edit-permission>
<show-max-window>true</show-max-window>
<hide-shared-layout>true</hide-shared-layout>
<container
id="UITopBarContainer"
template="system:/groovy/portal/webui/container/UITopBarContainer.gtmpl">
<container
template="system:/groovy/portal/webui/container/UIContainer.gtmpl"
cssClass="VuetifyApp">
<container
template="system:/groovy/portal/webui/container/UIContainer.gtmpl"
cssClass="v-application v-application--is-ltr v-application--wrap">
<container
id="layoutTopBarContent"
template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
</container>
</container>
</container>
<container
id="MiddleToolBar"
template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
<portlet-application>
<portlet>
<application-ref>social</application-ref>
<portlet-ref>DrawersOverlay</portlet-ref>
</portlet>
<title>Drawers Overlay</title>
</portlet-application>
</container>
<container
id="TopbarLoadingContainer"
template="system:/groovy/portal/webui/container/UITopbarLoadingContainer.gtmpl">
</container>
</container>
<container
template="system:/groovy/portal/webui/container/UIContainer.gtmpl"
cssClass="page-scroll-content">
<portlet-application>
<portlet>
<application-ref>layout</application-ref>
<portlet-ref>SectionEditor</portlet-ref>
</portlet>
<title>Section Template Editor</title>
</portlet-application>
</container>
</page>

</page-set>
Loading