Skip to content

Commit

Permalink
feat: Add space Space Description Portlet in Home Page - MEED-7473 - M…
Browse files Browse the repository at this point in the history
…eeds-io/MIPs#151 (#2436)

This change will delete the Space info portlet and replace it from Home,
in order to replace it by the Space description portlet. In addition,
this change will introduce the Spaces Handler which will give the
possibility to have a direct access to a space switch its id instead of
pretty name.
  • Loading branch information
boubaker authored Sep 26, 2024
1 parent a0a41b7 commit 3eb73ed
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,15 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</path-param>
</route>

<route path="/s/{spaceId}/{path}">
<route-param qname="gtn:handler">
<value>spaces</value>
</route-param>
<path-param qname="path" encoding="preserve-path">
<pattern>.*</pattern>
</path-param>
</route>

<!-- SEO route -->
<route path="/{gtn:sitename}/sitemaps.xml">
<route-param qname="gtn:handler">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
<portlet-application>
<portlet>
<application-ref>social-portlet</application-ref>
<portlet-ref>SpaceInfos</portlet-ref>
<portlet-ref>SpaceDescription</portlet-ref>
</portlet>
<title>Space Infos</title>
<title>Space Description</title>
</portlet-application>
<portlet-application>
<portlet>
Expand Down

0 comments on commit 3eb73ed

Please sign in to comment.