Admin Reports, more detailed column header + add boardId and cardId to table

This commit is contained in:
Martin Filser 2022-04-10 19:50:29 +02:00
parent f1a52c99c5
commit b7ab79efef

View file

@ -57,7 +57,7 @@ template(name="brokenCardsReport")
template(name="rulesReport") template(name="rulesReport")
h1 {{_ 'rulesReportTitle'}} h1 {{_ 'rulesReportTitle'}}
if resultsCount if resultsCount
table.table table
tr tr
th Rule Title th Rule Title
th Board Title th Board Title
@ -76,12 +76,14 @@ template(name="rulesReport")
template(name="filesReport") template(name="filesReport")
h1 {{_ 'filesReportTitle'}} h1 {{_ 'filesReportTitle'}}
if resultsCount if resultsCount
table.table table
tr tr
th Filename th Filename
th.right Size (kB) th.right Size (kB)
th MIME Type th MIME Type
th ID th Attachment ID
th Board ID
th Card ID
each att in results each att in results
tr tr
@ -89,6 +91,8 @@ template(name="filesReport")
td.right {{fileSize att.size }} td.right {{fileSize att.size }}
td {{ att.type }} td {{ att.type }}
td {{ att._id }} td {{ att._id }}
td {{ att.meta.boardId }}
td {{ att.meta.cardId }}
else else
div {{_ 'no-results' }} div {{_ 'no-results' }}