summaryrefslogtreecommitdiff
path: root/views/staff/subscriptions/index.ejs
blob: adf148cb0625a46beb766cd22abdf35c7866521e (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
[[ include ../_header ]]

	<h1>Subscriptions</h1>

[[ include ../_nav ]]
  
  <hr>

[[ include ../_pagination ]]

<table id="users">
[[ subscriptions.forEach(function(subscription){ ]]
  <tr>
    <td>
      <a href="/staff/subscriptions/[[- subscription._id ]]"><div style="background-image:url([[- subscription.user.photo ]])" class="avatar"></div></a>
    </td>
    <td>
      <a href="/staff/subscriptions/[[- subscription._id ]]">[[- subscription.user.username ]]</a>
    </td>
    <td>
      [[- subscription.user.displayName ]]
    </td>
    <td class="editLinks">
      <a href="/profile/[[- user.username ]]">[view profile]</a>
    </td>
    <td>
      [[- subscription.user.last_seen ]]
    </td>
    <td>
      [[- subscription.plan_code ]]
    </td>
  </tr>
[[ }) ]]
</table>


[[ include ../_pagination ]]

[[ include ../_footer ]]