From 38a050c8151b9894c62b2d49ef482807412ea98c Mon Sep 17 00:00:00 2001 From: Melodi <62381002+Melodi17@users.noreply.github.com> Date: Wed, 28 Oct 2026 19:48:59 +1000 Subject: feat: ui changes; ci: add tests --- src/marlin.web/Controllers/JobsController.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/marlin.web/Controllers/JobsController.cs') diff --git a/src/marlin.web/Controllers/JobsController.cs b/src/marlin.web/Controllers/JobsController.cs index 9aaf6eb..5d5a716 100644 --- a/src/marlin.web/Controllers/JobsController.cs +++ b/src/marlin.web/Controllers/JobsController.cs @@ -106,4 +106,16 @@ public class JobsController(ApplicationDbContext dbContext) : Controller return this.View(job); } + + public async Task Logs(Guid id) + { + var job = await dbContext.Jobs + .Include(x => x.Logs.OrderBy(x => x.At)) + .FirstOrDefaultAsync(x => x.Id == id); + + if (job == null) + return this.NotFound(); + + return this.View(job); + } } \ No newline at end of file -- cgit v1.3.1