From 810b753edf6242681d0b350b22532edbc7c3a931 Mon Sep 17 00:00:00 2001 From: Thomas Keller Date: Mon, 10 Oct 2011 22:32:08 +0200 Subject: [PATCH] Re-order the issue links so that "New Issue" goes to the very right just before the search input field. Also rename "Open Issues" to "All Issues" (since one can view both, open and closed issues under this view, just like in every other issue list view we have) and mark "All Issues" as active if we filter by label. --- src/IDF/templates/idf/issues/base.html | 13 ++++++++----- src/IDF/templates/idf/issues/by-label.html | 2 +- src/IDF/templates/idf/issues/index.html | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/IDF/templates/idf/issues/base.html b/src/IDF/templates/idf/issues/base.html index 5de2749..7b839c8 100644 --- a/src/IDF/templates/idf/issues/base.html +++ b/src/IDF/templates/idf/issues/base.html @@ -2,11 +2,14 @@ {block tabissues} class="active"{/block} {block subtabs}
-{trans 'Summary'} -| {trans 'Open Issues'} -{if !$user.isAnonymous()} | {trans 'New Issue'} | {trans 'My Issues'} -| {trans 'My watch list'}{/if} | -
+ {trans 'Summary'} +| {trans 'All Issues'} +{if !$user.isAnonymous()} +| {trans 'My Issues'} +| {trans 'My watch list'} +| {trans 'New Issue'} +{/if} +|
diff --git a/src/IDF/templates/idf/issues/by-label.html b/src/IDF/templates/idf/issues/by-label.html index fdac576..25e6625 100644 --- a/src/IDF/templates/idf/issues/by-label.html +++ b/src/IDF/templates/idf/issues/by-label.html @@ -1,5 +1,5 @@ {extends "idf/issues/base.html"} -{block docclass}yui-t1{/block} +{block docclass}yui-t1{assign $inAllIssues=true}{/block} {block body} {$issues.render} {if !$user.isAnonymous()} diff --git a/src/IDF/templates/idf/issues/index.html b/src/IDF/templates/idf/issues/index.html index 979c7ee..526d7ec 100644 --- a/src/IDF/templates/idf/issues/index.html +++ b/src/IDF/templates/idf/issues/index.html @@ -1,5 +1,5 @@ {extends "idf/issues/base.html"} -{block docclass}yui-t2{assign $inOpenIssues=true}{/block} +{block docclass}yui-t2{assign $inAllIssues=true}{/block} {block body} {$issues.render} {if !$user.isAnonymous()}