Änderungen von Dokument Team

Zuletzt geändert von Daniel Herrmann am 2025/09/20 09:54

Von Version Icon 2.1 Icon
bearbeitet von Daniel Herrmann
am 2025/06/23 19:53
Änderungskommentar: Install extension [com.xwiki.pro:xwiki-pro-macros-ui/1.26.19]
Auf Version Icon 3.1 Icon
bearbeitet von Daniel Herrmann
am 2025/06/23 20:08
Änderungskommentar: Install extension [com.xwiki.pro:xwiki-pro-macros-ui/1.26.20]

Zusammenfassung

Details

Icon XWiki.StyleSheetExtension[0]
Code
... ... @@ -31,6 +31,7 @@
31 31   object-fit: cover;
32 32   margin: 0.1ex;
33 33   box-sizing: content-box;
34 + height: revert-layer;
34 34  }
35 35  
36 36  .xwikiteam a:hover .xwikiteam-avatar {
Icon XWiki.WikiMacroClass[0]
Makro-Code
... ... @@ -29,7 +29,7 @@
29 29   #else
30 30   #set($escapedSize = $escapetool.xml($size))
31 31   <img
32 - class='xwikiteam-avatar fixedSize-$escapedSize'
32 + class='xwikiteam-avatar '
33 33   src='$escapetool.xml($return.url)'
34 34   alt='$escapedDisplayUser'
35 35   title='$escapedDisplayUser'
... ... @@ -188,16 +188,6 @@
188 188   #set ($clean = true)
189 189   #end
190 190   {{html clean="$clean"}}
191 - ## Starting with XWiki 13.10.4 and 14.1, img tags have a 'height: auto' style set, see XWIKI-19432: Image not to scale
192 - ## on mobile. Since this breaks the macro fixed size feature, a specific size is added.
193 - #set ($escapedSize = $escapetool.xml($size))
194 - <$elem>
195 - <style>
196 - .fixedSize-$escapedSize {
197 - height: ${escapedSize}px;
198 - }
199 - </style>
200 - </$elem>
201 201   <$elem class="xwikiteam #if(!$showUsernames)xwikiteam-usernames-hidden#end">
202 202   #if ($list.size() > 0)
203 203   <span class="xwikiteam-ul">
... ... @@ -238,7 +238,7 @@
238 238  ## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right
239 239  ## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that
240 240  ## don't have view right on those pages.
241 -#if ($services.promacrolicensing.hasLicensureForEntity($xcontext.macro.doc.documentReference))
231 +#if ($services.licensing.licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference))
242 242   #executeMacro
243 243  #else
244 244   {{missingLicenseMessage extensionName="proMacros.extension.name"/}}