Skip to content

Commit

Permalink
feat: Add page template for Agenda app - EXO-75892
Browse files Browse the repository at this point in the history
This commit adds a new page template for Agenda app
  • Loading branch information
mkrout authored Jan 2, 2025
1 parent cce3e1b commit 0eae20c
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ layout.portletInstance.Agenda.name=Agenda
layout.portletInstance.Agenda.description=Agenda Portlet
layout.portletInstance.AgendaTimeline.name=Agenda Timeline
layout.portletInstance.AgendaTimeline.description=Agenda Timeline Portlet
layout.pageTemplate.spaceAgenda.title= Space Agenda App
layout.pageTemplate.spaceAgenda.description= Manage the events of your workspace
18 changes: 18 additions & 0 deletions agenda-webapps/src/main/resources/page-templates.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"descriptors":[
{
"id":"spaceAgenda",
"order":110,
"names":{
"en":"layout.pageTemplate.spaceAgenda.title"
},
"descriptions":{
"en":"layout.pageTemplate.spaceAgenda.description"
},
"category": "default",
"system": true,
"illustrationPath":"war:/../images/spaceAgenda.png",
"layoutPath":"war:/conf/agenda/portal/template/pages/spaceAgenda/page.xml"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Copyright (C) 2024 eXo Platform SAS.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
-->
<container
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.gatein.org/xml/ns/gatein_objects_1_12 http://www.gatein.org/xml/ns/gatein_objects_1_12"
xmlns="http://www.gatein.org/xml/ns/gatein_objects_1_12">
<container template="system:/groovy/portal/webui/container/UIPageLayout.gtmpl"><!-- To be deleted once WebUI is cleaned from Meeds package -->
<section-columns>
<column col-span="12">
<portlet-application>
<portlet>
<application-ref>agenda</application-ref>
<portlet-ref>Agenda</portlet-ref>
</portlet>
<title>Space Agenda</title>
</portlet-application>
</column>
</section-columns>
</container>
</container>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0eae20c

Please sign in to comment.