UX: Add a link from admin reports page to meta a topic (#24707)

* UX: Add a link from admin reports page to meta a topic
* DEV: apply prettier
This commit is contained in:
Ella E 2023-12-05 16:37:44 -07:00 committed by GitHub
parent 4ad6c9ce34
commit 47629db3db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

View File

@ -10,6 +10,11 @@
/>
</div>
<div class="alert alert-info">
{{d-icon "book"}}
{{html-safe (i18n "admin.reports.meta_doc")}}
</div>
<ul class="reports-list">
{{#each this.filteredReports as |report|}}
<li class="report">

View File

@ -29,12 +29,16 @@
color: var(--primary);
}
&.alert-info {
background-color: var(--tertiary-low);
background-color: var(--tertiary-very-low);
color: var(--primary);
&.clickable {
color: var(--tertiary);
z-index: z("base");
}
.d-icon {
color: var(--tertiary);
margin-right: 0.25em;
}
}
}

View File

@ -4721,6 +4721,7 @@ en:
reports:
title: "List of available reports"
meta_doc: "Explore our <a href='https://meta.discourse.org/t/-/240233' rel='noopener noreferrer' target='_blank'>documentation</a> for a detailed overview of the reports."
dashboard:
title: "Dashboard"