Root/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | {extends "idf/issues/base.html"} {block docclass}yui-t2{assign $inSummaryIssues=true}{/block} {block context} < p >< a > < p >< a href = "{url 'IDF_Views_Issue::index', array($project.shortname)}" >{blocktrans}View all open issues.{/blocktrans}</ a ></ p > {if !$user.isAnonymous()} < p >< a href = "{url 'IDF_Views_Issue::create', array($project.shortname)}" >{blocktrans}Create an issue.{/blocktrans}</ a ></ p > {/if} {/block} {block body} {if $trackerEmpty} {aurl 'create_url', 'IDF_Views_Issue::create', array($project.shortname)} < p >{blocktrans}The issue tracker is empty.< br />< a href = "{$create_url}" >Create your first issue</ a >.{/blocktrans}</ p > {else} < div class = 'issue-summary' > {foreach $tagStatistics as $key => $class} < div > < h2 >{blocktrans}Unresolved: By {$key}{/blocktrans}</ h2 > < table class = 'issue-summary' > < tbody > {foreach $class as $key => $value} < tr > < td class = "name" >< a href = "{url 'IDF_Views_Issue::listLabel', array($project.shortname, $value[2], 'open')}" >{$key}</ a ></ td > < td class = "count" >{$value[0]}</ td > < td class = "graph" > < table class = 'graph' > < tbody >< tr > < td style = "width:{$value[1] * 0.8 + 1}%" class = "graph-color" valign = "center" > < div class = "colour-bar" ></ div > </ td > < td class = "graph-percent" >{$value[1]}%</ td > </ tr > </ tbody > </ table > </ td > </ tr > {/foreach} </ tbody > </ table > </ div > {/foreach} </ div > < div class = 'issue-summary' > {if $status} < div > < h2 >{blocktrans}Status Summary{/blocktrans}</ h2 > < table class = 'issue-summary' > < tbody > {foreach $status as $key => $value} < tr > < td class = "name" >< a href = "{url 'IDF_Views_Issue::listStatus', array($project.shortname, $key)}" >{$key}</ a ></ td > < td class = "count" >{$value[0]}</ td > < td class = "graph" > < table class = 'graph' > < tbody >< tr > < td style = "width:{$value[1] * 0.8 + 1}%" class = "graph-color" valign = "center" > < div class = "colour-bar" ></ div > </ td > < td class = "graph-percent" >{$value[1]}%</ td > </ tr > </ tbody > </ table > </ td > </ tr > {/foreach} </ tbody > </ table > </ div > {/if} {if $ownerStatistics} < div > < h2 >{blocktrans}Unresolved: By Assignee{/blocktrans}</ h2 > < table class = 'issue-summary' > < tbody > {foreach $ownerStatistics as $key => $value} < tr > < td class = "name" > {if !empty($value[2])} {aurl 'url', 'IDF_Views_Issue::userIssues', array($project.shortname, $value[2], 'owner')} < a href = "{$url}" >{$key}</ a > {else}{$key}{/if} </ td > < td class = "count" >{$value[0]}</ td > < td class = "graph" > < table class = 'graph' > < tbody >< tr > < td style = "width:{$value[1] * 0.8 + 1}%" class = "graph-color" valign = "center" > < div class = "colour-bar" ></ div > </ td > < td class = "graph-percent" >{$value[1]}%</ td > </ tr > </ tbody > </ table > </ td > </ tr > {/foreach} </ tbody > </ table > </ div > {/if} </ div > {/if} {/block} |