diff options
| author | Julie Lala <jules@okfoc.us> | 2014-08-13 02:24:38 -0400 |
|---|---|---|
| committer | Julie Lala <jules@okfoc.us> | 2014-08-13 02:24:38 -0400 |
| commit | 5d1bb038332c540d8abe459092648a7b5ddfe734 (patch) | |
| tree | a8a99da14b4a990a9988cb0159ac42d3d04cf45f /server/lib/views.js | |
| parent | bf2300afa925e2915a0b1b906691a3f5fbe4186d (diff) | |
noui
Diffstat (limited to 'server/lib/views.js')
| -rw-r--r-- | server/lib/views.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lib/views.js b/server/lib/views.js index 27b7446..d619d71 100644 --- a/server/lib/views.js +++ b/server/lib/views.js @@ -36,6 +36,7 @@ views.editor = function (req, res) { date: moment(req.project.updated_at).format("M/DD/YYYY"), author: user.displayName, authorlink: "/profile/" + user.username, + noui: !! (req.query.noui === 1), }) }) } @@ -60,6 +61,7 @@ views.reader = function (req, res) { date: moment(req.project.updated_at).format("M/DD/YYYY"), author: user.displayName, authorlink: "/profile/" + user.username, + noui: !! (req.query.noui === 1), }) }) } |
