mirror of
https://github.com/mynodebtc/mynode.git
synced 2025-01-11 11:29:27 +00:00
Add is_beta to application data
This commit is contained in:
parent
384a4c8af2
commit
05a552760c
|
@ -20,6 +20,7 @@ def create_application(name="NAME",
|
|||
short_name="SHORT_NAME",
|
||||
app_tile_name=None,
|
||||
is_premium=False,
|
||||
is_beta=False,
|
||||
can_reinstall=True,
|
||||
can_uninstall=False,
|
||||
requires_lightning=False,
|
||||
|
@ -50,6 +51,7 @@ def create_application(name="NAME",
|
|||
app["is_premium"] = is_premium
|
||||
app["current_version"] = get_app_current_version(short_name)
|
||||
app["latest_version"] = get_app_latest_version(short_name)
|
||||
app["is_beta"] = is_beta
|
||||
app["is_installed"] = is_installed(app["current_version"])
|
||||
app["can_reinstall"] = can_reinstall
|
||||
app["can_uninstall"] = can_uninstall
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
<div class="app_tile">
|
||||
<div class="app_status_icon {% if app.can_enable_disable %}clear{% endif %}" id="{{app.short_name}}_status_icon"></div>
|
||||
<div class="app_logo"><img class="app_logo_icon" src="{{ url_for('static', filename="images/")}}{{app.short_name}}.png"/></div>
|
||||
{% if app.is_beta %}
|
||||
<img class="app_beta_tag_image" src="{{ url_for('static', filename="images/beta.png")}}"/>
|
||||
{% endif %}
|
||||
<div class="app_title">{{app.app_tile_name}}</div>
|
||||
<div class="app_status"id="{{app.short_name}}_status"></div>
|
||||
<div class="app_contents">
|
||||
|
|
Loading…
Reference in New Issue
Block a user