Chris Hill-Scott
3dab9c2915
Refactor to make it logic clearer
...
The logic around what gets shown on the uploads page was hard to follow.
This commit makes three changes to hopefully make it easier:
- remove the passing-around of a string containing the contents of a
rendered partial
- encapsulate everything in one `show_scheduled_jobs` variable, rather
than mixing between `scheduled_jobs` and
`current_service.scheduled_jobs`
- adds a comment to explain why we still render `_jobs.html` even when
we know we have no jobs
2020-02-24 16:38:09 +00:00
..
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 16:38:07 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 16:38:09 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-17 11:36:05 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:59:43 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-17 11:36:05 +00:00
2020-02-20 11:58:58 +00:00
2020-02-20 11:58:58 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 12:45:17 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-24 11:56:38 +00:00
2020-02-17 11:36:05 +00:00