mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 04:15:25 -05:00
Change wording to v1
This commit is contained in:
parent
c1b3cc3a69
commit
020e8ab8c4
1 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ module.exports = ProjectController =
|
||||||
NotificationsHandler.getUserNotifications user_id, cb
|
NotificationsHandler.getUserNotifications user_id, cb
|
||||||
projects: (cb)->
|
projects: (cb)->
|
||||||
ProjectGetter.findAllUsersProjects user_id, 'name lastUpdated publicAccesLevel archived owner_ref tokens', cb
|
ProjectGetter.findAllUsersProjects user_id, 'name lastUpdated publicAccesLevel archived owner_ref tokens', cb
|
||||||
olProjects: (cb) ->
|
v1Projects: (cb) ->
|
||||||
if isV1
|
if isV1
|
||||||
OlProjectGetter.findAllUsersProjects user_id, cb
|
OlProjectGetter.findAllUsersProjects user_id, cb
|
||||||
else
|
else
|
||||||
|
@ -170,7 +170,7 @@ module.exports = ProjectController =
|
||||||
notifications = require("underscore").map results.notifications, (notification)->
|
notifications = require("underscore").map results.notifications, (notification)->
|
||||||
notification.html = req.i18n.translate(notification.templateKey, notification.messageOpts)
|
notification.html = req.i18n.translate(notification.templateKey, notification.messageOpts)
|
||||||
return notification
|
return notification
|
||||||
projects = ProjectController._buildProjectList results.projects, results.olProjects?.projects
|
projects = ProjectController._buildProjectList results.projects, results.v1Projects?.projects
|
||||||
user = results.user
|
user = results.user
|
||||||
ProjectController._injectProjectOwners projects, (error, projects) ->
|
ProjectController._injectProjectOwners projects, (error, projects) ->
|
||||||
return next(error) if error?
|
return next(error) if error?
|
||||||
|
|
Loading…
Reference in a new issue