Only show timepicker settings if the timepicker is enabled

This commit is contained in:
Rashid Khan
2013-10-09 14:34:35 +02:00
parent f41fb5db53
commit d4ce99b73f
4 changed files with 7 additions and 4 deletions
+4 -1
View File
@@ -158,9 +158,12 @@
</div>
</div>
<div ng-repeat="pulldown in dashboard.current.nav|filter:{enable:true}" ng-controller="PulldownCtrl" ng-include="'./app/panels/'+pulldown.type+'/editor.html'" ng-show="editor.index == 4+$index">
<div ng-repeat="pulldown in dashboard.current.nav" ng-controller="PulldownCtrl" ng-show="editor.index == 4+$index">
<ng-include ng-show="pulldown.enable" src="'./app/panels/'+pulldown.type+'/editor.html'"></ng-include>
<button ng-hide="pulldown.enable" class="btn" ng-click="pulldown.enable = true">Enable the {{pulldown.type}}</button>
</div>
</div>
<div class="modal-footer">
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -63,7 +63,7 @@ form input.ng-invalid {
.row-text {
text-transform: uppercase;
font-weight: bold;
font-size: 0.8em;
font-size: 0.9em;
}
.row-close {