Rename template variable 'isFilter' to 'isFilterOpen' (Fixes #1728)

This commit is contained in:
Emanuel Schuetze 2015-12-11 19:50:50 +01:00
parent 0701838bc8
commit ca94a4e720
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.items = AgendaTree.getFlatTree(Agenda.getAll());
}); });
$scope.alert = {}; $scope.alert = {};
$scope.isFilter = true;
// open new dialog // open new dialog
$scope.newDialog = function () { $scope.newDialog = function () {

View File

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

View File

@ -39,14 +39,14 @@
placeholder="{{ 'Search' | translate}}"> placeholder="{{ 'Search' | translate}}">
</div> </div>
</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> <i class="fa fa-filter"></i>
<translate>Filter</translate>... <translate>Filter</translate>...
</button> </button>
</div> </div>
</div> </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"></div>
<div class="col-sm-6 text-right"> <div class="col-sm-6 text-right">
<!-- phase filter --> <!-- phase filter -->

View File

@ -45,14 +45,14 @@
placeholder="{{ 'Search' | translate}}"> placeholder="{{ 'Search' | translate}}">
</div> </div>
</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> <i class="fa fa-filter"></i>
<translate>Filter</translate>... <translate>Filter</translate>...
</button> </button>
</div> </div>
</div> </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"></div>
<div class="col-sm-6 text-right"> <div class="col-sm-6 text-right">
<!-- state filter --> <!-- state filter -->

View File

@ -55,14 +55,14 @@
placeholder="{{ 'Search' | translate}}"> placeholder="{{ 'Search' | translate}}">
</div> </div>
</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> <i class="fa fa-filter"></i>
<translate>Filter</translate>... <translate>Filter</translate>...
</button> </button>
</div> </div>
</div> </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"></div>
<div class="col-sm-6 text-right"> <div class="col-sm-6 text-right">
<!-- isPresent filter --> <!-- isPresent filter -->