blob: 374dad390b7bab4ffb36b54907af3c30d227c5b4 (
plain)
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
|
<div class='spacer-top spacer-bottom'>
<div class='columns'>
<div class='column-half {{#unless user}}column-one{{/unless}}'>
<h3 class='text-center'>{{t 'issues.home.recent_issues'}}</h3>
<p class='note text-center'>({{t 'issues.home.over_last_week'}})</p>
<div class='spacer-top text-center js-barchart' data-height='75' data-width='300'></div>
<h4 class='spacer-top spacer-bottom text-center'>{{t 'issues.home.projects'}}</h4>
<table class='data zebra spacer-top'>
{{#each projects}}
<tr>
<td>{{qualifierIcon 'TRK'}} <a href='{{issuesHomeLink 'projectUuids' val}}'>{{label}}</a></td>
<td class='thin text-right'>+{{numberShort count}}</td>
</tr>
{{/each}}
</table>
<h4 class='spacer-top spacer-bottom text-center'>{{t 'issues.home.authors'}}</h4>
<table class='data zebra spacer-top'>
{{#each authors}}
<tr>
<td><a href='{{issuesHomeLink 'authors' val}}'>{{val}}</a></td>
<td class='thin text-right'>+{{numberShort count}}</td>
</tr>
{{/each}}
</table>
<h4 class='spacer-top spacer-bottom text-center'>{{t 'issues.home.tags'}}</h4>
<ul class='list-inline'>
{{#each tags}}
<li><a class='link-no-underline' style='font-size: {{size}}px;' data-toggle='tooltip' data-placement='bottom'
href='{{issuesHomeLink 'tags' val}}'
title='+{{numberShort count}}'>{{val}}</a></li>
{{/each}}
</ul>
</div>
{{#if user}}
<div class='column-half'>
<h3 class='text-center'>{{t 'issues.home.my_recent_issues'}}</h3>
<p class='note text-center'>({{t 'issues.home.over_last_week'}})</p>
<div class='spacer-top text-center js-my-barchart' data-height='75' data-width='300'></div>
{{#notEmpty myProjects}}
<h4 class='spacer-top spacer-bottom text-center'>{{t 'issues.home.projects'}}</h4>
<table class='data zebra spacer-top'>
{{#each myProjects}}
<tr>
<td>{{qualifierIcon 'TRK'}} <a href='{{myIssuesHomeLink 'projectUuids' val}}'>{{label}}</a></td>
<td class='thin text-right'>+{{numberShort count}}</td>
</tr>
{{/each}}
</table>
{{/notEmpty}}
{{#notEmpty myTags}}
<h4 class='spacer-top spacer-bottom text-center'>{{t 'issues.home.tags'}}</h4>
<ul class='list-inline'>
{{#each myTags}}
<li><a class='link-no-underline' style='font-size: {{size}}px;' data-toggle='tooltip' data-placement='bottom'
href='{{myIssuesHomeLink 'tags' val}}'
title='+{{numberShort count}}'>{{val}}</a></li>
{{/each}}
</ul>
{{/notEmpty}}
{{#notEmpty filters}}
<h3 class='spacer-bottom text-center' style='padding-top: 12px; margin-top: 20px; border-top: 1px solid #efefef;'>
{{t 'issues.home.my_filters'}}</h3>
<ul class='list-inline'>
{{#each filters}}
<li>
<a href='{{issueFilterHomeLink id}}'>{{name}}</a>
</li>
{{/each}}
</ul>
{{/notEmpty}}
</div>
{{/if}}
</div>
</div>
|