Link to packages and screenshots (highlighted) from logs view

This commit is contained in:
Christoph Haas 2021-03-06 20:47:33 +01:00
parent 9a16bad007
commit 330536cb7e
4 changed files with 17 additions and 4 deletions

View file

@ -29,12 +29,12 @@
td #{log.section}
td
- if log.package
= log.package.name
= link_to log.package.name, log.package
- else
' -
td
- if log.screenshot
= log.screenshot.id
= link_to log.screenshot.id, package_path(log.package, highlight: log.screenshot.id)
- else
' -
td