UX: Add wizard-message component to logs pane
Dieser Commit ist enthalten in:
Ursprung
10c7c8bcc0
Commit
dd8513a563
3 geänderte Dateien mit 12 neuen und 0 gelöschten Zeilen
|
@ -9,6 +9,8 @@ export default Controller.extend({
|
||||||
page: 0,
|
page: 0,
|
||||||
canLoadMore: true,
|
canLoadMore: true,
|
||||||
logs: [],
|
logs: [],
|
||||||
|
documentationUrl: "https://thepavilion.io/t/2818",
|
||||||
|
messageKey: "viewing",
|
||||||
|
|
||||||
loadLogs() {
|
loadLogs() {
|
||||||
if (!this.canLoadMore) {
|
if (!this.canLoadMore) {
|
||||||
|
|
|
@ -8,6 +8,12 @@
|
||||||
class="refresh"}}
|
class="refresh"}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{wizard-message
|
||||||
|
key=messageKey
|
||||||
|
opts=messageOpts
|
||||||
|
url=documentationUrl
|
||||||
|
component="logs"}}
|
||||||
|
|
||||||
{{#load-more selector=".log-list tr" action=(action "loadMore") class="wizard-logs"}}
|
{{#load-more selector=".log-list tr" action=(action "loadMore") class="wizard-logs"}}
|
||||||
{{#if noResults}}
|
{{#if noResults}}
|
||||||
<p>{{i18n "search.no_results"}}</p>
|
<p>{{i18n "search.no_results"}}</p>
|
||||||
|
|
|
@ -95,6 +95,10 @@ en:
|
||||||
select: "Select a wizard to see its submissions"
|
select: "Select a wizard to see its submissions"
|
||||||
viewing: "You're viewing the logs of the %{wizardName}. Click 'Download' on the right to download them."
|
viewing: "You're viewing the logs of the %{wizardName}. Click 'Download' on the right to download them."
|
||||||
documentation: "Check out the submissions documentation"
|
documentation: "Check out the submissions documentation"
|
||||||
|
logs:
|
||||||
|
viewing: "View recent logs for wizards on the forum"
|
||||||
|
documentation: "Check out the logs documentation"
|
||||||
|
|
||||||
|
|
||||||
editor:
|
editor:
|
||||||
show: "Show"
|
show: "Show"
|
||||||
|
|
Laden …
In neuem Issue referenzieren