From cdedaa460418d02f576188a1f0dc30cfbd632e9c Mon Sep 17 00:00:00 2001 From: William MARTIN Date: Wed, 23 Feb 2011 20:20:02 +0100 Subject: [PATCH] Fix issue 591 Improve render of issue tag list --- src/IDF/templates/idf/issues/index.html | 9 ++++++--- www/media/idf/css/style.css | 14 ++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/src/IDF/templates/idf/issues/index.html b/src/IDF/templates/idf/issues/index.html index 0412cb7..b47d980 100644 --- a/src/IDF/templates/idf/issues/index.html +++ b/src/IDF/templates/idf/issues/index.html @@ -13,8 +13,11 @@ {blocktrans}

Open issues: {$open}

Closed issues: {$closed}

{/blocktrans} {assign $class = ''}{assign $i = 0} -

{foreach $project.getTagCloud($cloud) as $label} +

{foreach $project.getTagCloud($cloud) as $label} {aurl 'url', 'IDF_Views_Issue::listLabel', array($project.shortname, $label.id, 'open')} -{if $class != $label.class}{if $i != 0}
{/if}{$label.class}: {/if} -{$label.name},{assign $class = $label.class}{assign $i = $i + 1}{/foreach}

+{if $class != $label.class}
{$label.class}
{assign $i = 0}{/if} +
{$label.name},
+{assign $class = $label.class} +{assign $i = $i + 1} +{/foreach}

{/block} diff --git a/www/media/idf/css/style.css b/www/media/idf/css/style.css index b8fa632..8ea1d8e 100644 --- a/www/media/idf/css/style.css +++ b/www/media/idf/css/style.css @@ -203,6 +203,20 @@ span.px-header-title a, span.px-header-title a:link, span.px-header-title a:visi /** * 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 { text-decoration: line-through; }