Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
Minor tweaks
Dieser Commit ist enthalten in:
Ursprung
6ef29a2a3b
Commit
c6d671b90a
2 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
|
@ -62,6 +62,7 @@
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
padding-bottom: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -119,7 +119,7 @@ after_initialize do
|
||||||
end
|
end
|
||||||
|
|
||||||
def complete_custom_wizard
|
def complete_custom_wizard
|
||||||
if requires_completion = CustomWizard::Wizard.prompt_completion(scope.user)
|
if scope.user && requires_completion = CustomWizard::Wizard.prompt_completion(scope.user)
|
||||||
requires_completion.map { |w| { name: w[:name], url: "/w/#{w[:id]}" } }
|
requires_completion.map { |w| { name: w[:name], url: "/w/#{w[:id]}" } }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Laden …
In neuem Issue referenzieren