This repository has been archived by the owner on May 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcontributions_page.html
66 lines (61 loc) · 1.71 KB
/
contributions_page.html
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
<nav class="my-activities-nav collapsible-nav">
<ul class="collapsible-nav-list container">
{{#if help_center.request_management_enabled}}
<li>{{link 'requests'}}</li>
{{/if}}
<li aria-selected=true>{{t 'contributions'}}</li>
<li>{{link 'subscriptions'}}</li>
</ul>
</nav>
<div class="container">
<header class="my-activities-header">
<h1>{{t 'contributions'}}</h1>
<nav class="my-activities-sub-nav collapsible-nav">
<ul class="collapsible-nav-list">
{{#each filters}}
{{#if selected}}
<li aria-selected=true>{{name}}</li>
{{else}}
<li>
<a href="{{url}}">{{name}}</a>
</li>
{{/if}}
{{/each}}
</ul>
</nav>
</header>
<div class="requests">
{{#if contributions}}
<table class="table my-activities-table contributions-table">
<thead>
<tr>
<th>{{t 'title'}}</th>
<th>{{t 'type'}}</th>
<th>{{t 'vote_sum'}}</th>
<th>{{t 'last_activity'}}</th>
<th>{{t 'created'}}</th>
</tr>
</thead>
<tbody>
{{#each contributions}}
<tr>
<td>
<a href="{{url}}" class="striped-list-title" title="{{title}}">
{{excerpt title characters=60}}
</a>
</td>
<td>{{type}}</td>
<td>{{vote_sum}}</td>
<td>{{date last_activity_at}}</td>
<td>{{date created_at}}</td>
</tr>
{{/each}}
</tbody>
</table>
{{else}}
<p class="no-activities">{{t 'no_contributions'}}</p>
{{/if}}
</div>
{{pagination}}
</div>
</div>