Skip to content

Commit

Permalink
feat: Configure Images portlet into news page template - EXO-65514 - M…
Browse files Browse the repository at this point in the history
  • Loading branch information
IlhemEssaadi authored Aug 25, 2023
1 parent 6924393 commit cd6e565
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 54 deletions.
1 change: 0 additions & 1 deletion webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@
<include>newsDetails.less</include>
<include>newsExtensions.less</include>
<include>newsPublishTargetsManagement.less</include>
<include>newsPageTemplate.less</include>
</includes>
</configuration>
<goals>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@
<access-permissions>Everyone</access-permissions>
<container id="newsPageSimpleRowContainer" template='system:/groovy/portal/webui/container/UISimpleRowContainer.gtmpl'>
<access-permissions>Everyone</access-permissions>
<container id="newsPage"
template="system:/groovy/portal/webui/container/UIContainer.gtmpl"
cssClass="border-box-sizing">
<portlet-application>
<portlet>
<application-ref>layout-management</application-ref>
<portlet-ref>ImagesPortlet</portlet-ref>
</portlet>
<access-permissions>Everyone</access-permissions>
<container id="topNewsPage" template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
<access-permissions>*:/platform/users</access-permissions>
</container>
<container id="newsBodyPage" template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
<access-permissions>Everyone</access-permissions>
<container cssClass="newsBodyPageLeftColumn"
template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
<show-info-bar>false</show-info-bar>
</portlet-application>
<container template="system:/groovy/portal/webui/container/UIResponsiveColumnGroupContainer.gtmpl">
<access-permissions>Everyone</access-permissions>
<container template="system:/groovy/portal/webui/container/UISimpleColumnContainer.gtmpl">
<access-permissions>*:/platform/users</access-permissions>
<portlet-application>
<portlet>
Expand All @@ -56,8 +56,7 @@
<show-info-bar>false</show-info-bar>
</portlet-application>
</container>
<container cssClass="newsBodyPageRightColumn"
template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
<container template="system:/groovy/portal/webui/container/UISimpleColumnContainer.gtmpl" width="400px">
<access-permissions>*:/platform/users</access-permissions>
<portlet-application>
<portlet>
Expand All @@ -76,9 +75,7 @@
<show-info-bar>false</show-info-bar>
</portlet-application>
</container>
</container>
</container>
</container>
</container>

</page>
7 changes: 0 additions & 7 deletions webapp/src/main/webapp/WEB-INF/gatein-resources.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@
<css-priority>11</css-priority>
</portal-skin>

<portal-skin>
<skin-name>Enterprise</skin-name>
<skin-module>newsPageTemplate</skin-module>
<css-path>/skin/css/newsPageTemplate.css</css-path>
<css-priority>11</css-priority>
</portal-skin>

<portlet-skin>
<application-name>news</application-name>
<portlet-name>News</portlet-name>
Expand Down
32 changes: 0 additions & 32 deletions webapp/src/main/webapp/skin/less/newsPageTemplate.less

This file was deleted.

0 comments on commit cd6e565

Please sign in to comment.