mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-24 19:31:16 -07:00
Directly use bindings in banner pages
CURA-8564
This commit is contained in:
parent
f1ef1c283e
commit
e5c8d5456d
4 changed files with 8 additions and 33 deletions
|
|
@ -11,12 +11,12 @@ Packages
|
|||
{
|
||||
pageTitle: catalog.i18nc("@header", "Manage packages")
|
||||
|
||||
bannerVisible: CuraApplication.shouldShowMarketPlaceManagePackagesBanner()
|
||||
bannerVisible: UM.Preferences.getValue("cura/market_place_show_manage_packages_banner");
|
||||
bannerIcon: "ArrowDoubleCircleRight"
|
||||
bannerBody: catalog.i18nc("@text", "Manage your Ultimaker Cura plugins and material profiles here. Make sure to keep your plugins up to date and backup your setup regularly.")
|
||||
readMoreUrl: "" // TODO add when support page is ready
|
||||
onRemoveBanner: function() {
|
||||
CuraApplication.closeMarketPlaceManagePackagesBanner();
|
||||
UM.Preferences.setValue("cura/market_place_show_manage_packages_banner", false);
|
||||
bannerVisible = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue