summaryrefslogtreecommitdiff
path: root/views/controls/reader
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-08-25 14:24:45 -0400
committerJules Laplace <jules@okfoc.us>2014-08-25 14:24:45 -0400
commit124a698130f39992a1b47dcc8f32ef30c61a00eb (patch)
treece37d2bebb8a7975cd060a313f211f1cbe8be17e /views/controls/reader
parent099dfd16940c62e931bf01e7f62b7a45f2b8c654 (diff)
stub in collaborator ui
Diffstat (limited to 'views/controls/reader')
-rw-r--r--views/controls/reader/about-room.ejs7
1 files changed, 6 insertions, 1 deletions
diff --git a/views/controls/reader/about-room.ejs b/views/controls/reader/about-room.ejs
index f990da8..2aa244b 100644
--- a/views/controls/reader/about-room.ejs
+++ b/views/controls/reader/about-room.ejs
@@ -3,7 +3,12 @@
[[- name ]],<br>
<a href="[[- authorlink ]]">[[- author ]]</a>
</h1>
- <h2>Last modified [[- date ]]</h2>
+ <h2>
+ Last modified [[- date ]]
+ [[ if (canEdit) { ]]
+ &middot; <a href="[[- editlink ]]" class="editlink">Edit</a>
+ [[ } ]]
+ </h2>
<span>[[- description ]]</span>
</div>