Merge pull request #1770 from emanuelschuetze/fix1728

Rename template variable 'isFilter' to 'isFilterOpen' (Fixes #1728)
This commit is contained in:
Oskar Hahn 2015-12-12 09:28:20 +01:00
commit fd90b15a0e
5 changed files with 8 additions and 9 deletions

View File

@ -84,7 +84,6 @@ angular.module('OpenSlidesApp.agenda.site', ['OpenSlidesApp.agenda'])
$scope.items = AgendaTree.getFlatTree(Agenda.getAll());
});
$scope.alert = {};
$scope.isFilter = true;
// open new dialog
$scope.newDialog = function () {

View File

@ -65,14 +65,14 @@
placeholder="{{ 'Search' | translate}}">
</div>
</div>
<button class="btn btn-default" ng-click="isFilter = !isFilter">
<button class="btn btn-default" ng-click="isFilterOpen = !isFilterOpen">
<i class="fa fa-filter"></i>
<translate>Filter</translate>...
</button>
</div>
</div>
</div>
<div uib-collapse="isFilter" class="row">
<div uib-collapse="!isFilterOpen" class="row spacer">
<div class="col-sm-12 text-right">
<!-- hidden item filter -->
<input type="checkbox" ng-model="filter.noHiddenItems" ng-true-value="1" ng-false-value="">

View File

@ -39,14 +39,14 @@
placeholder="{{ 'Search' | translate}}">
</div>
</div>
<button class="btn btn-default" ng-click="isFilter = !isFilter">
<button class="btn btn-default" ng-click="isFilterOpen = !isFilterOpen">
<i class="fa fa-filter"></i>
<translate>Filter</translate>...
</button>
</div>
</div>
</div>
<div uib-collapse="!isFilter" class="row">
<div uib-collapse="!isFilterOpen" class="row">
<div class="col-sm-6 text-right"></div>
<div class="col-sm-6 text-right">
<!-- phase filter -->

View File

@ -45,14 +45,14 @@
placeholder="{{ 'Search' | translate}}">
</div>
</div>
<button class="btn btn-default" ng-click="isFilter = !isFilter">
<button class="btn btn-default" ng-click="isFilterOpen = !isFilterOpen">
<i class="fa fa-filter"></i>
<translate>Filter</translate>...
</button>
</div>
</div>
</div>
<div uib-collapse="!isFilter" class="row">
<div uib-collapse="!isFilterOpen" class="row spacer">
<div class="col-sm-6 text-right"></div>
<div class="col-sm-6 text-right">
<!-- state filter -->

View File

@ -55,14 +55,14 @@
placeholder="{{ 'Search' | translate}}">
</div>
</div>
<button class="btn btn-default" ng-click="isFilter = !isFilter">
<button class="btn btn-default" ng-click="isFilterOpen = !isFilterOpen">
<i class="fa fa-filter"></i>
<translate>Filter</translate>...
</button>
</div>
</div>
</div>
<div uib-collapse="!isFilter" class="row">
<div uib-collapse="!isFilterOpen" class="row spacer">
<div class="col-sm-6 text-right"></div>
<div class="col-sm-6 text-right">
<!-- isPresent filter -->