mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-30 19:30:57 +00:00
Switch to V1 wording
This commit is contained in:
parent
37c7a95fde
commit
7910f2109f
5 changed files with 7 additions and 6 deletions
|
@ -434,6 +434,7 @@ module.exports = ProjectController =
|
|||
archived: !!project.archived
|
||||
owner_ref: project.owner_ref
|
||||
tokens: project.tokens
|
||||
isV1Project: false
|
||||
}
|
||||
return model
|
||||
|
||||
|
@ -444,7 +445,7 @@ module.exports = ProjectController =
|
|||
lastUpdated: moment.unix(project.updated_at)
|
||||
accessLevel: "readOnly",
|
||||
archived: project.removed || project.archived
|
||||
isOLProject: true
|
||||
isV1Project: true
|
||||
}
|
||||
|
||||
_injectProjectOwners: (projects, callback = (error, projects) ->) ->
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.col-xs-8
|
||||
span.label.label-default.ol-label V1
|
||||
span.label.label-default.v1-label V1
|
||||
span
|
||||
a.projectName(
|
||||
href=settings.overleaf.host + "/{{project.id}}"
|
||||
|
|
|
@ -143,12 +143,12 @@
|
|||
ng-controller="ProjectListItemController"
|
||||
)
|
||||
.row(
|
||||
ng-if="!project.isOLProject"
|
||||
ng-if="!project.isV1Project"
|
||||
select-row
|
||||
)
|
||||
include ./item
|
||||
.row(
|
||||
ng-if="project.isOLProject"
|
||||
ng-if="project.isV1Project"
|
||||
)
|
||||
include ./ol-item
|
||||
li(
|
||||
|
|
|
@ -117,7 +117,7 @@ define [
|
|||
visible = false
|
||||
|
||||
# Hide projects from V1 if we only want to see shared projects
|
||||
if $scope.filter == "shared" and project.isOLProject
|
||||
if $scope.filter == "shared" and project.isV1Project
|
||||
visible = false
|
||||
|
||||
# Hide projects we don't own if we only want to see owned projects
|
||||
|
|
|
@ -367,7 +367,7 @@ ul.project-list {
|
|||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
.ol-label {
|
||||
.v1-label {
|
||||
margin-right: 11px;
|
||||
margin-left: 5px;
|
||||
padding: 2px 3px 1px;
|
||||
|
|
Loading…
Reference in a new issue