diff options
Diffstat (limited to 'views/controls/reader')
| -rw-r--r-- | views/controls/reader/about-room.ejs | 7 |
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) { ]] + · <a href="[[- editlink ]]" class="editlink">Edit</a> + [[ } ]] + </h2> <span>[[- description ]]</span> </div> |
