Improve naming

This commit is contained in:
Alasdair Smith 2017-11-01 14:13:50 +00:00
parent 0724482808
commit 9bf74f29bd
2 changed files with 3 additions and 3 deletions

View file

@ -179,7 +179,7 @@ module.exports = ProjectController =
notifications: notifications or []
user: user
hasSubscription: results.hasSubscription[0]
isV1: results.v1Projects?
isShowingV1Projects: results.v1Projects?
}
if Settings?.algolia?.app_id? and Settings?.algolia?.read_only_api_key?

View file

@ -45,7 +45,7 @@
a(href) #{translate("shared_with_you")}
li(ng-class="{active: (filter == 'archived')}", ng-click="filterProjects('archived')")
a(href) #{translate("deleted_projects")}
if isV1
if isShowingV1Projects
li(ng-class="{active: (filter == 'v1')}", ng-click="filterProjects('v1')")
a(href) #{translate("v1_projects")}
li.separator
@ -65,7 +65,7 @@
)
span.name {{tag.name}}
span.subdued ({{tag.project_ids.length}})
span.v1-badge(ng-if="tag.isV1", ng-cloak)
span.v1-badge(ng-if="tag.isShowingV1Projects", ng-cloak)
span.dropdown.tag-menu(dropdown)
a.dropdown-toggle(
href="#",