Switch to V1 wording

This commit is contained in:
Alasdair Smith 2017-10-30 15:32:54 +00:00
parent 37c7a95fde
commit 7910f2109f
5 changed files with 7 additions and 6 deletions

View file

@ -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) ->) ->

View file

@ -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}}"

View file

@ -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(

View file

@ -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

View file

@ -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;