Fix issue 591
Improve render of issue tag list
This commit is contained in:
parent
2130b327df
commit
cdedaa4604
@ -13,8 +13,11 @@
|
|||||||
{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 $class = ''}{assign $i = 0}
|
{assign $class = ''}{assign $i = 0}
|
||||||
<p class="smaller">{foreach $project.getTagCloud($cloud) as $label}
|
<div id="issue-tags" class="smaller"><dl>{foreach $project.getTagCloud($cloud) as $label}
|
||||||
{aurl 'url', 'IDF_Views_Issue::listLabel', array($project.shortname, $label.id, 'open')}
|
{aurl 'url', 'IDF_Views_Issue::listLabel', array($project.shortname, $label.id, 'open')}
|
||||||
{if $class != $label.class}{if $i != 0}<br />{/if}<strong class="label">{$label.class}:</strong> {/if}
|
{if $class != $label.class}<dt class="label">{$label.class}</dt>{assign $i = 0}{/if}
|
||||||
<a href="{$url}" class="label">{$label.name}</a>,{assign $class = $label.class}{assign $i = $i + 1}{/foreach}</p>
|
<dd><a href="{$url}" class="label">{$label.name},</a></dd>
|
||||||
|
{assign $class = $label.class}
|
||||||
|
{assign $i = $i + 1}
|
||||||
|
{/foreach}</dl></p>
|
||||||
{/block}
|
{/block}
|
||||||
|
@ -203,6 +203,20 @@ span.px-header-title a, span.px-header-title a:link, span.px-header-title a:visi
|
|||||||
/**
|
/**
|
||||||
* Issue
|
* Issue
|
||||||
*/
|
*/
|
||||||
|
#issue-tags dl {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#issue-tags dt {
|
||||||
|
margin-top: .5em;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#issue-tags dd {
|
||||||
|
margin: 0;
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
a.issue-c {
|
a.issue-c {
|
||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user