fix search on project list page. ng-if breaks it but ng-show does not for some reason

This commit is contained in:
Henry Oswald 2015-11-10 11:36:11 +00:00
parent c8ba7b72ab
commit 615e4b448a

View file

@ -21,14 +21,14 @@ block content
.content.content-alt(ng-controller="ProjectPageController")
.container
.row(ng-cloak)
span(ng-if="first_sign_up == 'default' || projects.length > 0")
span(ng-show="first_sign_up == 'default' || projects.length > 0")
aside.col-md-2.col-xs-3
include ./list/side-bar
.col-md-10.col-xs-9
include ./list/project-list
span(ng-if="first_sign_up == 'minimial' && projects.length == 0")
span(ng-show="first_sign_up == 'minimial' && projects.length == 0")
.col-md-offset-2.col-md-8.col-md-offset-2.col-xs-8
include ./list/project-list-minimal