mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-09 18:52:40 +02:00
-Ui Changes
-Brew Steps added -Clean AddOn Dialog
This commit is contained in:
@@ -44,9 +44,8 @@ def init(cbpi):
|
||||
:param app: the flask app
|
||||
:return: None
|
||||
"""
|
||||
print "INITIALIZE MESSAGE MODULE"
|
||||
|
||||
msg = {"id": len(cbpi.cache["messages"]), "type": "info", "headline": "Support CraftBeerPi with your donation", "message": "You will find the PayPay Donation button in the system menu" , "read": False}
|
||||
cbpi.cache["messages"].append(msg)
|
||||
if cbpi.get_config_parameter("donation_notification", "YES") == "YES":
|
||||
msg = {"id": len(cbpi.cache["messages"]), "type": "info", "headline": "Support CraftBeerPi with your donation", "message": "You will find the PayPay Donation button in the system menu" , "read": False}
|
||||
cbpi.cache["messages"].append(msg)
|
||||
|
||||
NotificationView.register(cbpi.app, route_base='/api/notification')
|
||||
|
||||
Reference in New Issue
Block a user