summaryrefslogtreecommitdiff
path: root/views/staff/projects/show.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/staff/projects/show.ejs')
-rw-r--r--views/staff/projects/show.ejs22
1 files changed, 15 insertions, 7 deletions
diff --git a/views/staff/projects/show.ejs b/views/staff/projects/show.ejs
index 687f0c2..b090a41 100644
--- a/views/staff/projects/show.ejs
+++ b/views/staff/projects/show.ejs
@@ -2,13 +2,8 @@
<h1>[[- project.name ]]</h1>
- <nav>
- <a href="/staff">home</a>
- <a href="/staff/users">users</a>
- <a href="/staff/projects">projects</a>
- <a href="/staff/media">media</a>
- </nav>
-
+[[ include ../_nav ]]
+
<hr>
<table>
@@ -41,8 +36,21 @@
"[[- project.description ]]"
</td>
</tr>
+ <tr>
+ <th>
+ featured?
+ </th>
+ <td id="isFeaturedProject">
+ [[- project.featured ? "yes" : "no" ]]
+ </td>
+ </tr>
</table>
+ <br><br>
+ <div id="actions">
+ <button id="toggle-featured" data-featured="[[- !! project.featured ]]">Feature this Project</button>
+ </div>
+
<br>
<br>
<table id="iframe-embed" class="projectList">