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