bug: on the home page a white bar appeared at the bottom of the screen when there was a pending enrolment
This commit is contained in:
@@ -145,12 +145,6 @@
|
||||
@Html.Partial(MVC.Shared.Views._JobTable, Model.StaleJobs, new ViewDataDictionary())
|
||||
</div>
|
||||
}
|
||||
@if (Authorization.Has(Claims.Job.Actions.Export))
|
||||
{
|
||||
<div class="actionBar">
|
||||
@Html.ActionLinkButton("Export Jobs", MVC.Job.Export())
|
||||
</div>
|
||||
}
|
||||
@if (Model.PendingEnrolments != null && Model.PendingEnrolments.Count > 0 && Authorization.Has(Claims.Device.Actions.EnrolDevices))
|
||||
{
|
||||
<div id="pendingEnrolments">
|
||||
@@ -166,4 +160,10 @@
|
||||
.appendTo(layout_PageHeading);
|
||||
});
|
||||
</script>
|
||||
}
|
||||
}
|
||||
@if (Authorization.Has(Claims.Job.Actions.Export))
|
||||
{
|
||||
<div class="actionBar">
|
||||
@Html.ActionLinkButton("Export Jobs", MVC.Job.Export())
|
||||
</div>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user