summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-08-12 13:27:07 -0400
committerJules Laplace <jules@okfoc.us>2015-08-12 13:27:07 -0400
commitcc3d0bf036dc934494bf517ebae88bd8544b9b06 (patch)
tree0a5da30ca9ec3ee6e75af3550e563a1cf6586d81 /views
parentdd4f0178c7bcb5d14e1308e3877c5ab02eddf000 (diff)
add artist privilege
Diffstat (limited to 'views')
-rw-r--r--views/staff/users/show.ejs11
1 files changed, 10 insertions, 1 deletions
diff --git a/views/staff/users/show.ejs b/views/staff/users/show.ejs
index e441109..a434b57 100644
--- a/views/staff/users/show.ejs
+++ b/views/staff/users/show.ejs
@@ -35,7 +35,7 @@
plan
</th>
<td>
- [[- profile.plan_type ]]
+ [[- profile.plan_code ]]
</td>
</tr>
<tr>
@@ -101,12 +101,21 @@
[[- profile.isStaff ? "yes" : "no" ]]
</td>
</tr>
+ <tr>
+ <th>
+ is artist?
+ </th>
+ <td id="is-artist">
+ [[- profile.isArtist ? "yes" : "no" ]]
+ </td>
+ </tr>
</table>
<br><br>
<div id="actions">
[[ if (String(user._id) != String(profile._id)) { ]]
<button id="toggle-staff" data-isStaff="[[- !! profile.isStaff ]]">Make Staff</button>
+ <button id="toggle-artist" data-isArtist="[[- !! profile.isArtist ]]">Make Artist</button>
[[ } ]]
</div>