mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-08 16:52:33 +00:00
Parse & display OL project last updated
This commit is contained in:
parent
9eff01fcc5
commit
fc6da2e2e4
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
async = require("async")
|
||||
moment = require('moment')
|
||||
logger = require("logger-sharelatex")
|
||||
Settings = require('settings-sharelatex')
|
||||
projectDeleter = require("./ProjectDeleter")
|
||||
|
@ -440,7 +441,7 @@ module.exports = ProjectController =
|
|||
{
|
||||
id: project.id
|
||||
name: project.title
|
||||
lastUpdated: project.updated_at
|
||||
lastUpdated: moment.unix(project.updated_at)
|
||||
# publicAccessLevel:
|
||||
# accessLevel:
|
||||
archived: project.archived
|
||||
|
|
|
@ -7,4 +7,4 @@
|
|||
) {{project.name}}
|
||||
|
||||
.col-xs-4
|
||||
span.last-modified
|
||||
span.last-modified {{project.lastUpdated | formatDate}}
|
Loading…
Add table
Reference in a new issue