Skip to content

Commit

Permalink
feat: Hide Dynamic Section in Mobile when empty - MEED-7442 - Meeds-i…
Browse files Browse the repository at this point in the history
…o/MIPs#147 (#215)

This change will delete Space Banner Portlet instance and will avoid
displaying blank margin coming from a Dynamic section having all its
applications hidden in Mobile.
  • Loading branch information
boubaker authored Sep 10, 2024
1 parent fd251b1 commit 3ec0c35
Show file tree
Hide file tree
Showing 46 changed files with 8 additions and 109 deletions.
19 changes: 0 additions & 19 deletions layout-service/src/main/resources/portlet-instances.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,25 +93,6 @@
],
"system":true
},
{
"nameId":"SpaceBannerPortlet",
"categoryNameId":"spaceTools",
"portletName":"SpaceBannerPortlet",
"names":{
"en":"layout.portletInstance.SpaceBannerPortlet.name"
},
"descriptions":{
"en":"layout.portletInstance.SpaceBannerPortlet.description"
},
"illustrationPath":"war:/../images/portlets/spaceBanner.webp",
"preferences":[

],
"permissions":[
"*:/platform/users"
],
"system":true
},
{
"nameId":"WhoIsOnLinePortlet",
"categoryNameId":"tools",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Bild
layout.portletInstance.Image.description=Bild anzeigen
layout.portletInstance.GettingStarted.name=Erste Schritte
layout.portletInstance.GettingStarted.description=Tool welches erste Schritte vorschlägt
layout.portletInstance.SpaceBannerPortlet.name=Raumbanner
layout.portletInstance.SpaceBannerPortlet.description=Raumbanner welches Räume im Verzeichnis illustriert
layout.portletInstance.WhoIsOnLinePortlet.name=Wer ist online
layout.portletInstance.WhoIsOnLinePortlet.description=Tool - Auflistung von Benutzern, die online sind
layout.portletInstance.PeopleOverview.name=Personen-Übersicht
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Afficher une image
layout.portletInstance.GettingStarted.name=Premiers Pas
layout.portletInstance.GettingStarted.description=Gadget suggérant les premières étapes à faire
layout.portletInstance.SpaceBannerPortlet.name=Bannière de l'espace
layout.portletInstance.SpaceBannerPortlet.description=Bannière d'espace pour illustrer les espaces dans le répertoire
layout.portletInstance.WhoIsOnLinePortlet.name=Qui est en ligne ?
layout.portletInstance.WhoIsOnLinePortlet.description=Liste des utilisateurs en ligne
layout.portletInstance.PeopleOverview.name=Aperçu des personnes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
layout.portletInstance.SpaceBannerPortlet.description=Space banner to illustrate spaces in the directory
layout.portletInstance.WhoIsOnLinePortlet.name=Who is Online
layout.portletInstance.WhoIsOnLinePortlet.description=Gadget listing users being online
layout.portletInstance.PeopleOverview.name=People Overview
Expand Down
Loading

0 comments on commit 3ec0c35

Please sign in to comment.