summaryrefslogtreecommitdiff
path: root/views/staff/users/show.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/staff/users/show.ejs')
-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>