Indefero

Indefero Commit Details


Date:2011-10-10 15:32:08 (13 years 2 months ago)
Author:Thomas Keller
Branch:develop, feature.wiki-default-page, release-1.2, release-1.3
Commit:810b753edf6242681d0b350b22532edbc7c3a931
Parents: 958fb1b9ad7363eb477516a5889f40b15e134c57
Message: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.

Changes:

File differences

src/IDF/templates/idf/issues/base.html
22
33
44
5
6
7
8
9
5
6
7
8
9
10
11
12
1013
1114
1215
{block tabissues} class="active"{/block}
{block subtabs}
<div id="sub-tabs">
<a {if $inSummaryIssues}class="active" {/if}href="{url 'IDF_Views_Issue::summary', array($project.shortname)}">{trans 'Summary'}</a>
| <a {if $inOpenIssues}class="active" {/if}href="{url 'IDF_Views_Issue::index', array($project.shortname)}">{trans 'Open Issues'}</a>
{if !$user.isAnonymous()} | <a {if $inCreate}class="active" {/if}href="{url 'IDF_Views_Issue::create', array($project.shortname)}">{trans 'New Issue'}</a> | <a {if $inMyIssues}class="active" {/if}href="{url 'IDF_Views_Issue::userIssues', array($project.shortname, $user.login, 'submit')}">{trans 'My Issues'}</a>
| <a {if $inWatchList}class="active" {/if}href="{url 'IDF_Views_Issue::watchList', array($project.shortname, 'open')}">{trans 'My watch list'}</a>{/if} |
<form class="star" action="{url 'IDF_Views_Issue::search', array($project.shortname)}" method="get">
<a {if $inSummaryIssues}class="active" {/if}href="{url 'IDF_Views_Issue::summary', array($project.shortname)}">{trans 'Summary'}</a>
| <a {if $inAllIssues}class="active" {/if}href="{url 'IDF_Views_Issue::index', array($project.shortname)}">{trans 'All Issues'}</a>
{if !$user.isAnonymous()}
| <a {if $inMyIssues}class="active" {/if}href="{url 'IDF_Views_Issue::userIssues', array($project.shortname, $user.login, 'submit')}">{trans 'My Issues'}</a>
| <a {if $inWatchList}class="active" {/if}href="{url 'IDF_Views_Issue::watchList', array($project.shortname, 'open')}">{trans 'My watch list'}</a>
| <a {if $inCreate}class="active" {/if}href="{url 'IDF_Views_Issue::create', array($project.shortname)}">{trans 'New Issue'}</a>
{/if}
| <form class="star" action="{url 'IDF_Views_Issue::search', array($project.shortname)}" method="get">
<input accesskey="4" type="text" value="{$query}" name="q" size="20" />
<input type="submit" name="s" value="{trans 'Search'}" />
</form>
src/IDF/templates/idf/issues/by-label.html
11
2
2
33
44
55
{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()}
src/IDF/templates/idf/issues/index.html
11
2
2
33
44
55
{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()}

Archive Download the corresponding diff file

Page rendered in 0.08202s using 13 queries.