Fix url in the tag cloud
This commit is contained in:
parent
6f1bb309d4
commit
9c80de19d7
@ -9,6 +9,7 @@
|
|||||||
{/block}
|
{/block}
|
||||||
{block context}
|
{block context}
|
||||||
<p><strong>{trans 'Number of files:'}</strong> {$downloads.nb_items}</p>
|
<p><strong>{trans 'Number of files:'}</strong> {$downloads.nb_items}</p>
|
||||||
|
{assign $cloud_url = 'IDF_Views_Download::listLabel'}
|
||||||
{assign $cloud = 'downloads'}
|
{assign $cloud = 'downloads'}
|
||||||
{include 'idf/tags-cloud.html'}
|
{include 'idf/tags-cloud.html'}
|
||||||
{if $deprecated > 0}
|
{if $deprecated > 0}
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
{aurl 'closed_url', 'IDF_Views_Issue::listStatus', array($project.shortname, 'closed')}
|
{aurl 'closed_url', 'IDF_Views_Issue::listStatus', array($project.shortname, 'closed')}
|
||||||
{blocktrans}<p><strong>Open issues:</strong> <a href="{$open_url}">{$open}</a></p>
|
{blocktrans}<p><strong>Open issues:</strong> <a href="{$open_url}">{$open}</a></p>
|
||||||
<p><strong>Closed issues:</strong> <a href="{$closed_url}">{$closed}</a></p>{/blocktrans}
|
<p><strong>Closed issues:</strong> <a href="{$closed_url}">{$closed}</a></p>{/blocktrans}
|
||||||
|
{assign $cloud_url = 'IDF_Views_Issue::listLabel'}
|
||||||
{assign $cloud = 'issues'}
|
{assign $cloud = 'issues'}
|
||||||
{include 'idf/tags-cloud.html'}
|
{include 'idf/tags-cloud.html'}
|
||||||
{/block}
|
{/block}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{assign $class = ''}{assign $i = 0}
|
{assign $class = ''}{assign $i = 0}
|
||||||
<div id="tagscloud" class="smaller"><dl>{foreach $project.getTagCloud($cloud) as $label}
|
<div id="tagscloud" class="smaller"><dl>{foreach $project.getTagCloud($cloud) as $label}
|
||||||
{aurl 'url', 'IDF_Views_Issue::listLabel', array($project.shortname, $label.id, 'open')}
|
{aurl 'url', $cloud_url, array($project.shortname, $label.id, 'open')}
|
||||||
{if $class != $label.class}<dt class="label">{$label.class}</dt>{assign $i = 0}{/if}
|
{if $class != $label.class}<dt class="label">{$label.class}</dt>{assign $i = 0}{/if}
|
||||||
<dd><a href="{$url}" class="label">{$label.name},</a></dd>
|
<dd><a href="{$url}" class="label">{$label.name},</a></dd>
|
||||||
{assign $class = $label.class}
|
{assign $class = $label.class}
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
{/block}
|
{/block}
|
||||||
{block context}
|
{block context}
|
||||||
<p><strong>{trans 'Number of pages:'}</strong> {$pages.nb_items}</p>
|
<p><strong>{trans 'Number of pages:'}</strong> {$pages.nb_items}</p>
|
||||||
|
{assign $cloud_url = 'IDF_Views_Wiki::listLabel'}
|
||||||
{assign $cloud = 'wiki'}
|
{assign $cloud = 'wiki'}
|
||||||
{include 'idf/tags-cloud.html'}
|
{include 'idf/tags-cloud.html'}
|
||||||
{if $deprecated > 0}
|
{if $deprecated > 0}
|
||||||
|
Loading…
Reference in New Issue
Block a user