diff --git a/dashmachine/main/routes.py b/dashmachine/main/routes.py index fbb4e0f..dc12a50 100755 --- a/dashmachine/main/routes.py +++ b/dashmachine/main/routes.py @@ -76,7 +76,9 @@ def app_view(app_id): if not check_groups(settings.home_access_groups, current_user): return redirect(url_for("user_system.login")) app_db = Apps.query.filter_by(id=app_id).first() - return render_template("main/app-view.html", url=f"{app_db.prefix}{app_db.url}") + return render_template( + "main/app-view.html", url=f"{app_db.prefix}{app_db.url}", title=app_db.name + ) @main.route("/load_data_source", methods=["GET"]) diff --git a/dashmachine/templates/main/base.html b/dashmachine/templates/main/base.html index b35a682..68f68e8 100644 --- a/dashmachine/templates/main/base.html +++ b/dashmachine/templates/main/base.html @@ -21,7 +21,7 @@ content="Another web application bookmark dashboard, with fun features."> {% if title %} - DashMachine - {{ title }} + {{ title }} - DashMachine {% else %} DashMachine {% endif %} diff --git a/dashmachine/templates/main/home.html b/dashmachine/templates/main/home.html index d36bb1c..0b4595a 100644 --- a/dashmachine/templates/main/home.html +++ b/dashmachine/templates/main/home.html @@ -69,9 +69,17 @@ {% endif %}
-
{{ app.name }} +
{{ app.name }}
- {{ app.description }} + {% if app.description %} + {{ app.description }} + {% else %} + + {% endif %}
diff --git a/dashmachine/version.py b/dashmachine/version.py index 1ab9ee6..280f0eb 100755 --- a/dashmachine/version.py +++ b/dashmachine/version.py @@ -1 +1 @@ -version = "v0.31" +version = "v0.32"