diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-11-10 12:10:05 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-11-10 12:10:05 -0500 |
| commit | 17fabffafc8e0f9723db6e19ae2ff14012c56a63 (patch) | |
| tree | 1bf0d1a4d170b188f076faaa1266d887f599315c /server | |
| parent | dd339f073cd53e7067ac1ea9bd2035b1c11914f0 (diff) | |
surface avatar
Diffstat (limited to 'server')
| -rw-r--r-- | server/lib/views/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/lib/views/index.js b/server/lib/views/index.js index e37a01d..6e3b449 100644 --- a/server/lib/views/index.js +++ b/server/lib/views/index.js @@ -68,6 +68,7 @@ var views = module.exports = { date: moment(req.project.updated_at).format("M/DD/YYYY"), author: user.displayName, authorlink: "/profile/" + user.username, + authorpic: user.photo, canEdit: req.isOwner || req.isCollaborator, editlink: "/project/" + req.project.slug + "/edit", noui: !! (req.query.noui === '1'), |
