summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/project.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/project.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/project.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html
index 40048c2f2c..9d51a57208 100644
--- a/bitbake/lib/toaster/toastergui/templates/project.html
+++ b/bitbake/lib/toaster/toastergui/templates/project.html
@@ -328,10 +328,10 @@ vim: expandtab tabstop=2
328 <h4 class="air"> 328 <h4 class="air">
329 Most built targets 329 Most built targets
330 </h4> 330 </h4>
331 <ul class="unstyled configuration-list"> 331 <ul class="unstyled configuration-list {[mutedtargets]}">
332 <li ng-repeat="t in frequenttargets"> 332 <li ng-repeat="t in frequenttargets">
333 <label class="checkbox"> 333 <label class="checkbox">
334 <input type="checkbox" ng-model="mostBuiltTargets[t]">{[t]} 334 <input type="checkbox" ng-model="mostBuiltTargets[t]" ng-disabled="disableBuildCheckbox(t)" ng-checked="mostBuiltTargets[t] && !disableBuildCheckbox(t)">{[t]}
335 </label> 335 </label>
336 </li> 336 </li>
337 </ul> 337 </ul>
@@ -443,7 +443,8 @@ angular.element(document).ready(function() {
443 scope.frequenttargets = {{freqtargets|json}}; 443 scope.frequenttargets = {{freqtargets|json}};
444 scope.machine = {{machine|json}}; 444 scope.machine = {{machine|json}};
445 scope.releases = {{releases|json}}; 445 scope.releases = {{releases|json}};
446 446 scope.layerCount = scope.layers.length;
447 scope.mutedtargets = (scope.layerCount == 0 ? "muted" : "")
447 var now = (new Date()).getTime(); 448 var now = (new Date()).getTime();
448 scope.todaydate = now - (now % 86400000); 449 scope.todaydate = now - (now % 86400000);
449 450