Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/common/base/base.alert.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
li+.alert {
display:none;
}
.alert {
@extend .alert-warning;
display:block;
text-align: center;
margin-bottom: 0px;
}
2 changes: 1 addition & 1 deletion src/scheduler/job-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ <h4 class="frame-title">{{'scheduler' | translate}}</h4>
<button class="icon-filter motech-sidebar-button" type="button">{{'scheduler.filters' | translate}}</button>
</div>
</motech-list-header>
<motech-list-item ng-if="jobs.rows.length==0" class="alert">No jobs found</motech-list-item>
<motech-list-item ng-repeat="job in jobs.rows">
<div column-title="Name">
<h4>{{job.name}}</h4>
Expand Down Expand Up @@ -48,6 +47,7 @@ <h4>{{job.name}}</h4>
</div>
</motech-list-collapsible>
</motech-list-item>
<div class="alert">{{'scheduler.emptyJobList' | translate}}</div>
<motech-list-footer>
<uib-pagination total-items="totalItems" ng-model="currentPage" ng-change="changePageTo(currentPage)"></uib-pagination>
</motech-list-footer>
Expand Down