# Wiki source code of LicensesNotificationsUIX

Last modified by Jean Franco on 2022/07/30 13:08
Export
Office Formats
Export as PDF Export as ODT Export as RTF
Other Formats
Export as HTML

Show last authors

author | version | line-number | content
--- | --- | --- | ---
|  | 1 | {{include reference="Licenses.Code.VelocityMacros" /}}
|  | 2 |
|  | 3 | {{velocity}}
|  | 4 | #if ($hasAdmin && $hasProgramming)
|  | 5 | #getVisiblePaidExtensions
|  | 6 | ## The same extension could be installed on multiple namespaces (wikis) with different versions.
|  | 7 | ## CollectionsTool is deprecated since 12.1RC1.
|  | 8 | #if ($collectiontool)
|  | 9 | #set ($extensionNames = $collectiontool.sortedSet)
|  | 10 | #else
|  | 11 | #set ($extensionNames = $collectionstool.sortedSet)
|  | 12 | #end
|  | 13 | #set ($limit = 3)
|  | 14 | #set ($showMore = false)
|  | 15 | #foreach ($extension in $visiblePaidExtensions)
|  | 16 | #if (!$services.licensing.licensor.hasLicensureForExtension($extension.id))
|  | 17 | #if ($extensionNames.size() < $limit)
|  | 18 | #set ($discard = $extensionNames.add($escapetool.xml($extension.name)))
|  | 19 | #else
|  | 20 | #set ($showMore = true)
|  | 21 | #break
|  | 22 | #end
|  | 23 | #end
|  | 24 | #end
|  | 25 | #if ($showMore || $extensionNames.size() > 0)
|  | 26 | #set ($discard = $xwiki.ssx.use('Licenses.Code.LicensesNotificationsUIX'))
|  | 27 | #if (!$missingLicensesWrapperTagName)
|  | 28 | #set ($missingLicensesWrapperTagName = 'div')
|  | 29 | #end
|  | 30 | {{html clean=false}}
|  | 31 | <$missingLicensesWrapperTagName class="notifications-missingLicenses errormessage">
|  | 32 | <p>$services.localization.render('licensor.missingLicenses', ["<a href='#getLicensesAdminSectionURL'>",
|  | 33 | '</a>'])</p>
|  | 34 | <ul>
|  | 35 | <li>$stringtool.join($extensionNames, '</li><li>')</li>
|  | 36 | #if ($showMore)
|  | 37 | <li>...</li>
|  | 38 | #end
|  | 39 | </ul>
|  | 40 | </$missingLicensesWrapperTagName>
|  | 41 | {{/html}}
|  | 42 | #end
|  | 43 | #end
|  | 44 | {{/velocity}}

# Applications

# Tips

You can click on the arrows next to the breadcrumb elements to quickly navigate to sibling and children pages.

Maila Networks
XWiki Debian 14.4.1