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 pathfollowing_page.html
66 lines (62 loc) · 1.8 KB
/
following_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>{{link 'contributions'}}</li>
<li aria-selected=true>{{t 'following'}}</li>
</ul>
</nav>
<div class="container">
<header class="my-activities-header">
<h1>{{t 'following'}}</h1>
</header>
<div class="my-activities-following-header">
<span class="dropdown">
<span class="dropdown-toggle">
{{current_filter.label}}
</span>
<span class="dropdown-menu" role="menu">
{{#each filters}}
<a href="{{url}}" aria-selected="{{selected}}" role="menuitem">
{{name}}
</a>
{{/each}}
</span>
</span>
</div>
<div class="requests">
{{#if subscriptions}}
<table class="table my-activities-table subscriptions-table">
<thead>
<tr>
<th>{{t 'title'}}</th>
<th>{{t 'type'}}</th>
<th>{{t 'subscription'}}</th>
<th></th>
</tr>
</thead>
<tbody>
{{#each subscriptions}}
<tr>
<td>
{{#is type 'user'}}
<img class="user-avatar" src="{{avatar_url}}" alt="Avatar">
{{/is}}
<a href="{{url}}" title="{{title}}" class="striped-list-title">
{{excerpt title characters=60}}
</a>
</td>
<td>{{name}}</td>
<td>{{subscribe}}</td>
<td class="subscriptions-unsubscribe">{{unsubscribe}}</td>
</tr>
{{/each}}
</tbody>
</table>
{{pagination}}
{{else}}
<p class="no-activities">{{t 'not_following'}}</p>
{{/if}}
</div>
</div>