Modifications pour le document RatingWidget
Modifié par Pascale STEIMETZ-LE CACHEUX le 2026/03/27 17:23
Depuis la version 13.1
modifié par Pascale STEIMETZ-LE CACHEUX
sur 2026/03/27 10:54
sur 2026/03/27 10:54
Commentaire de modification :
Il n'y a aucun commentaire pour cette version
À la version 8.3
modifié par Pascale STEIMETZ-LE CACHEUX
sur 2026/03/24 19:04
sur 2026/03/24 19:04
Commentaire de modification :
allow view droit pour XWiki.XWikiAdminGroup
Résumé
-
Propriétés de la Page (1 modifications, 0 ajouts, 0 suppressions)
-
Objets (2 modifications, 0 ajouts, 1 suppressions)
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -1,5 +1,5 @@ 1 1 {{velocity}} 2 -#set($currentDoc = $ xcontext.doc.fullName)2 +#set($currentDoc = $doc.fullName) 3 3 4 4 #set($storeDoc = $xwiki.getDocument("Flora.RatingStore3")) 5 5 #set($objects = $storeDoc.getObjects("Flora.RatingVoteClass3")) ... ... @@ -8,7 +8,7 @@ 8 8 #set($count = 0) 9 9 10 10 #foreach($obj in $objects) 11 - #if($obj && $obj.getValue("document") && $obj.getValue("document").toString()== $currentDoc)11 + #if($obj && $obj.getValue("document") == $currentDoc) 12 12 #set($note = $obj.getValue("note")) 13 13 #if($note) 14 14 #set($total = $total + $note) ... ... @@ -70,7 +70,7 @@ 70 70 </style> 71 71 72 72 <div class="flora-rating-wrap" data-doc="$escapetool.xml($currentDoc)"> 73 - <span class="flora-rating-label"> Votreavis compte pournous, que pensez-vous decetarticle ?</span>73 + <span class="flora-rating-label">Noter cette page</span> 74 74 75 75 <div class="flora-stars"> 76 76 <button class="flora-star" data-note="1" type="button">★</button>
- XWiki.XWikiRights[0]
-
- Niveaux
-
... ... @@ -1,1 +1,1 @@ 1 -view ,comment1 +view
- XWiki.XWikiRights[1]
-
- Niveaux
-
... ... @@ -1,1 +1,1 @@ 1 -view ,comment1 +view
- XWiki.XWikiRights[2]
-
- Autoriser / Interdire
-
... ... @@ -1,1 +1,0 @@ 1 -Autoriser - Niveaux
-
... ... @@ -1,1 +1,0 @@ 1 -view,comment - Utilisateurs
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest