diff --git a/src/ui/templates/account.html b/src/ui/templates/account.html index 5b540467d..ab9eec2f9 100644 --- a/src/ui/templates/account.html +++ b/src/ui/templates/account.html @@ -1,6 +1,20 @@ {% extends "base.html" %} {% block content %} + {% set pro_setting = {} %} + {% for plugin in plugins %} + {% if plugin.get('name')|lower == 'pro' %} + {% if pro_setting.update({'method' : plugin.get('method', 'ui')}) %}{% endif %} + + {% for setting, value in plugin.get('settings').items() %} + {% if setting == "PRO_LICENSE_KEY" %} + {% if pro_setting.update({'value' : value.get('value', '')}) %}{% endif %} + {% endif %} + {% endfor %} + + {% endif %} + {% endfor %} {% set attribute_name = "account" %} +