mirror of
https://github.com/wekan/wekan.git
synced 2026-02-17 21:48:07 +01:00
Add Boards Report to Admin Reports
This commit is contained in:
parent
84d0817894
commit
d9c290deda
4 changed files with 107 additions and 0 deletions
|
|
@ -26,6 +26,11 @@ template(name="adminReports")
|
|||
i.fa.fa-magic
|
||||
| {{_ 'rulesReportTitle'}}
|
||||
|
||||
li
|
||||
a.js-report-boards(data-id="report-boards")
|
||||
i.fa.fa-magic
|
||||
| {{_ 'boardsReportTitle'}}
|
||||
|
||||
li
|
||||
a.js-report-cards(data-id="report-cards")
|
||||
i.fa.fa-magic
|
||||
|
|
@ -42,6 +47,8 @@ template(name="adminReports")
|
|||
+orphanedFilesReport
|
||||
else if showRulesReport.get
|
||||
+rulesReport
|
||||
else if showBoardsReport.get
|
||||
+boardsReport
|
||||
else if showCardsReport.get
|
||||
+cardsReport
|
||||
|
||||
|
|
@ -139,3 +146,20 @@ template(name="cardsReport")
|
|||
td {{userNames card.assignees }}
|
||||
else
|
||||
div {{_ 'no-results' }}
|
||||
|
||||
template(name="boardsReport")
|
||||
h1 {{_ 'boardsReportTitle'}}
|
||||
if resultsCount
|
||||
table.table
|
||||
tr
|
||||
th Title
|
||||
th Id
|
||||
th Members
|
||||
|
||||
each board in results
|
||||
tr
|
||||
td {{abbreviate board.title }}
|
||||
td {{abbreviate board._id }}
|
||||
td {{userNames board.members }}
|
||||
else
|
||||
div {{_ 'no-results' }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue