Skip to content
Snippets Groups Projects
Commit c576d0f0 authored by Guillaume Delhumeau's avatar Guillaume Delhumeau
Browse files

XWIKI-10980: The "Install new applications" button doesn't work anymore.

parent 67306613
No related branches found
No related tags found
No related merge requests found
......@@ -282,7 +282,8 @@
</property>
<property>
<parameters>label=$services.localization.render('extensions.applicationsPanel.install')
target=XWiki.XWikiPreferences||queryString="editor=globaladmin&amp;section=XWiki.AddExtensions"
target=XWiki.XWikiPreferences
targetQueryString=editor=globaladmin&amp;section=XWiki.AddExtensions
icon=icon:bullet_go</parameters>
</property>
<property>
......
......@@ -138,7 +138,7 @@
#else
#set($icon = $services.rendering.render($services.rendering.parse("image:${params.icon}", 'xwiki/2.1'), 'xhtml/1.0'))
#end
&lt;li&gt;&lt;a href="$xwiki.getURL($params.target)"&gt;&lt;span class="application-img"&gt;$icon &lt;/span&gt; &lt;span class="application-label"&gt;$params.label&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="$xwiki.getURL($params.target, 'view', "$!params.targetQueryString")"&gt;&lt;span class="application-img"&gt;$icon &lt;/span&gt; &lt;span class="application-label"&gt;$params.label&lt;/a&gt;&lt;/li&gt;
#end
#end
&lt;/ul&gt;
......@@ -155,7 +155,7 @@
#else
#set($icon = $services.rendering.render($services.rendering.parse("image:${params.icon}", 'xwiki/2.1'), 'xhtml/1.0'))
#end
&lt;li&gt;&lt;a href="$xwiki.getURL($params.target)"&gt;&lt;span class="application-img"&gt;$icon &lt;/span&gt; &lt;span class="application-label"&gt;$params.label&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="$xwiki.getURL($params.target, 'view', "$!params.targetQueryString")"&gt;&lt;span class="application-img"&gt;$icon &lt;/span&gt; &lt;span class="application-label"&gt;$params.label&lt;/a&gt;&lt;/li&gt;
#end
#end
&lt;/ul&gt;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment