diff --git a/ui/app/templates/jobs/index.hbs b/ui/app/templates/jobs/index.hbs index 50ab81bf2..5d2222d04 100644 --- a/ui/app/templates/jobs/index.hbs +++ b/ui/app/templates/jobs/index.hbs @@ -2,9 +2,9 @@ {{#if isForbidden}} {{partial "partials/forbidden-message"}} {{else}} -
- {{#if filteredJobs.length}} -
+
+ {{#if visibleJobs.length}} +
{{search-box data-test-jobs-search searchTerm=(mut searchTerm) @@ -12,8 +12,13 @@ placeholder="Search jobs..."}}
{{/if}} -
-
+ {{#if (media "isMobile")}} +
+ {{#link-to "jobs.run" data-test-run-job class="button is-primary"}}Run Job{{/link-to}} +
+ {{/if}} +
+
{{multi-select-dropdown data-test-type-facet label="Type" @@ -40,9 +45,11 @@ onSelect=(action setFacetQueryParam "qpPrefix")}}
-
- {{#link-to "jobs.run" data-test-run-job class="button is-primary"}}Run Job{{/link-to}} -
+ {{#if (not (media "isMobile"))}} +
+ {{#link-to "jobs.run" data-test-run-job class="button is-primary"}}Run Job{{/link-to}} +
+ {{/if}}
{{#list-pagination source=sortedJobs