Merge "Hide 'Download' button when no test to download."

This commit is contained in:
Jenkins 2016-03-23 23:05:24 +00:00 committed by Gerrit Code Review
commit 59af5daa2d

View File

@ -18,7 +18,7 @@
</div>
</div>
<div class="modal-footer">
<button class="btn btn-primary" type="button" ng-click="modal.downloadTestList()">Download</button>
<button class="btn btn-primary" ng-if="modal.tests.length>0" type="button" ng-click="modal.downloadTestList()">Download</button>
<button class="btn btn-primary" type="button" ng-click="modal.close()">Close</button>
</div>
</div>