mirror of
https://github.com/wekan/wekan.git
synced 2026-02-05 08:01:49 +01:00
Add admin reports to admin panel
* Broken cards * Attachments * Orphaned Attachments
This commit is contained in:
parent
4de830d663
commit
0e593c7d81
9 changed files with 237 additions and 7 deletions
|
|
@ -11,9 +11,10 @@ template(name="globalSearchModalTitle")
|
|||
| {{_ 'globalSearch-title'}}
|
||||
|
||||
template(name="resultsPaged")
|
||||
h1
|
||||
= resultsHeading.get
|
||||
a.fa.fa-link(title="{{_ 'link-to-search' }}" href="{{ getSearchHref }}")
|
||||
if resultsHeading.get
|
||||
h1
|
||||
= resultsHeading.get
|
||||
a.fa.fa-link(title="{{_ 'link-to-search' }}" href="{{ getSearchHref }}")
|
||||
each card in results.get
|
||||
+resultCard(card)
|
||||
table.global-search-footer
|
||||
|
|
|
|||
|
|
@ -204,9 +204,8 @@ class GlobalSearchComponent extends CardSearchPagedComponent {
|
|||
}
|
||||
|
||||
events() {
|
||||
return [
|
||||
return super.events().concat([
|
||||
{
|
||||
...super.events()[0],
|
||||
'submit .js-search-query-form'(evt) {
|
||||
evt.preventDefault();
|
||||
this.searchAllBoards(evt.target.searchQuery.value);
|
||||
|
|
@ -259,7 +258,7 @@ class GlobalSearchComponent extends CardSearchPagedComponent {
|
|||
this.hasResults.set(false);
|
||||
},
|
||||
},
|
||||
];
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue