change nexted level of templates ng-controller

This commit is contained in:
Henry Oswald 2014-09-10 15:33:59 +01:00
parent 1b02dc72a3
commit 583b333a73

View file

@ -6,12 +6,12 @@ block vars
block content block content
.content.content-alt .content.content-alt
.container .container
.row.template-page-header .row.template-page-header(ng-controller="SearchController")
.col-md-2 .col-md-2
h2 h2
a(href="/templates") #{translate("templates")} a(href="/templates") #{translate("templates")}
.col-md-8(ng-controller="SearchController") .col-md-8
form.project-search.form-horizontal(role="form") form.project-search.form-horizontal(role="form")
.form-group.has-feedback.has-feedback-left.col-md-12 .form-group.has-feedback.has-feedback-left.col-md-12
input.form-control.col-md-12(type='text', ng-model='searchQueryText', ng-keyup='search()', placeholder="Search template library....") input.form-control.col-md-12(type='text', ng-model='searchQueryText', ng-keyup='search()', placeholder="Search template library....")
@ -23,7 +23,7 @@ block content
) )
.col-md-2(ng-controller="MissingTemplateController") .col-md-2(ng-controller="MissingTemplateController")
a.btn.btn-primary(ng-click="showMissingTemplateModal()") #{translate("missing_template_question")} a.btn.btn-primary(ng-click="showMissingTemplateModal()") #{translate("missing_template_question")}
.col-md-12(ng-cloak) .col-md-8(ng-cloak)
ul.list-unstyled ul.list-unstyled
li(ng-repeat='hit in hits') li(ng-repeat='hit in hits')
.thumbnail.searchResult .thumbnail.searchResult