Commit d4ce99b7 by Rashid Khan

Only show timepicker settings if the timepicker is enabled

parent f41fb5db
......@@ -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">
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment