Removed "Orphaned Files" from Admin-Reports

- not necessary with Meteor-Files
This commit is contained in:
Martin Filser 2022-04-07 11:14:03 +02:00
parent dace63d4dc
commit e75f423edd
4 changed files with 0 additions and 71 deletions

View file

@ -11,11 +11,6 @@ template(name="adminReports")
i.fa.fa-chain-broken
| {{_ 'broken-cards'}}
li
a.js-report-files(data-id="report-orphaned-files")
i.fa.fa-paperclip
| {{_ 'orphanedFilesReportTitle'}}
li
a.js-report-files(data-id="report-files")
i.fa.fa-paperclip
@ -43,8 +38,6 @@ template(name="adminReports")
+brokenCardsReport
else if showFilesReport.get
+filesReport
else if showOrphanedFilesReport.get
+orphanedFilesReport
else if showRulesReport.get
+rulesReport
else if showBoardsReport.get
@ -99,27 +92,6 @@ template(name="filesReport")
else
div {{_ 'no-results' }}
template(name="orphanedFilesReport")
h1 {{_ 'orphanedFilesReportTitle'}}
if resultsCount
table.table
tr
th Filename
th.right Size (kB)
th MIME Type
th MD5 Sum
th ID
each att in results
tr
td {{ att.filename }}
td.right {{fileSize att.length }}
td {{ att.contentType }}
td {{ att.md5 }}
td {{ att._id.toHexString }}
else
div {{_ 'no-results' }}
template(name="cardsReport")
h1 {{_ 'cardsReportTitle'}}
if resultsCount