Modifications pour le document Sections des configurations personnalisables

Modifié par Florent Charton le 2025/08/19 15:15

Depuis la version 4.1
modifié par Florent Charton
sur 2025/08/19 15:15
Commentaire de modification : Install extension [org.xwiki.platform:xwiki-platform-administration-ui/17.4.3]
À la version 2.1
modifié par Florent Charton
sur 2024/08/08 18:43
Commentaire de modification : Install extension [org.xwiki.platform:xwiki-platform-administration-ui/15.10.11]

Résumé

Détails

Propriétés de la Page
Contenu
... ... @@ -69,8 +69,7 @@
69 69   #foreach($appName in $outputList)
70 70   ##
71 71   ## Make sure the current user has permission to edit the configurable application.
72 - ## Unless we are in the page administration which is never about modifying the application configuration page
73 - #set($userHasAccessToDocument = $level == '.page' || $xcontext.hasAccessLevel('edit', $appName))
72 + #set($userHasAccessToDocument = $xcontext.hasAccessLevel('edit', $appName))
74 74   ##
75 75   ## If the document was not last saved by a user with edit privilege on this page
76 76   ## then we can't safely display the page but we should warn the viewer.
... ... @@ -391,7 +391,7 @@
391 391   $escapetool.xml($sectionDisplayName)
392 392   </span>
393 393   #if(!$hasAccess)
394 - <br/>#inlineError($services.localization.render('xe.admin.configurable.sectionIconNoAccess'))
393 + <br/><span class="errormessage">$services.localization.render('xe.admin.configurable.sectionIconNoAccess')</span>
395 395   #end
396 396   </a>
397 397   </li>