ui: remove comingsoon rule

* there is a more general solution used now.
This commit is contained in:
Christoph Ladurner
2024-01-25 21:18:07 +01:00
parent 2dcb7c1fab
commit 4c3ebcee23
2 changed files with 1 additions and 22 deletions

View File

@@ -1,15 +0,0 @@
{#
Copyright (C) 2020-2023 Graz University of Technology.
invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.
#}
{%- extends config.INVENIO_THEME_TUGRAZ_BASE_TEMPLATE %}
{%- block page_body %}
<div class="ui container">
<h1 style="text-align: center;">comingsoon</h1>
</div>
{%- endblock %}

View File

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Copyright (C) 2020-2021 Graz University of Technology. # Copyright (C) 2020-2024 Graz University of Technology.
# #
# invenio-theme-tugraz is free software; you can redistribute it and/or # invenio-theme-tugraz is free software; you can redistribute it and/or
# modify it under the terms of the MIT License; see LICENSE file for more # modify it under the terms of the MIT License; see LICENSE file for more
@@ -93,7 +93,6 @@ def ui_blueprint(app):
routes = app.config.get("TUG_ROUTES") routes = app.config.get("TUG_ROUTES")
blueprint.add_url_rule(routes["index"], view_func=index) blueprint.add_url_rule(routes["index"], view_func=index)
blueprint.add_url_rule(routes["comingsoon"], view_func=comingsoon)
return blueprint return blueprint
@@ -111,8 +110,3 @@ def index():
return render_template( return render_template(
"invenio_theme_tugraz/index.html", records=records_serializer(records) "invenio_theme_tugraz/index.html", records=records_serializer(records)
) )
def comingsoon():
"""Comingsoon."""
return render_template("invenio_theme_tugraz/comingsoon.html")