diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-08-12 13:27:07 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-08-12 13:27:07 -0400 |
| commit | cc3d0bf036dc934494bf517ebae88bd8544b9b06 (patch) | |
| tree | 0a5da30ca9ec3ee6e75af3550e563a1cf6586d81 /views | |
| parent | dd4f0178c7bcb5d14e1308e3877c5ab02eddf000 (diff) | |
add artist privilege
Diffstat (limited to 'views')
| -rw-r--r-- | views/staff/users/show.ejs | 11 |
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> |
