0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 09:20:29 +01:00

UX: Add wizard-message component to logs pane

Dieser Commit ist enthalten in:
Keegan George 2021-06-18 11:47:24 -07:00
Ursprung 10c7c8bcc0
Commit dd8513a563
3 geänderte Dateien mit 12 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -9,6 +9,8 @@ export default Controller.extend({
page: 0,
canLoadMore: true,
logs: [],
documentationUrl: "https://thepavilion.io/t/2818",
messageKey: "viewing",
loadLogs() {
if (!this.canLoadMore) {

Datei anzeigen

@ -8,6 +8,12 @@
class="refresh"}}
</div>
{{wizard-message
key=messageKey
opts=messageOpts
url=documentationUrl
component="logs"}}
{{#load-more selector=".log-list tr" action=(action "loadMore") class="wizard-logs"}}
{{#if noResults}}
<p>{{i18n "search.no_results"}}</p>

Datei anzeigen

@ -95,6 +95,10 @@ en:
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."
documentation: "Check out the submissions documentation"
logs:
viewing: "View recent logs for wizards on the forum"
documentation: "Check out the logs documentation"
editor:
show: "Show"