Skip to content

Commit

Permalink
refactoring: updated formatting and yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatimah authored and lnielsen committed Feb 21, 2024
1 parent 487e4ef commit c783b25
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions app_data/pages.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
- url: /communities/horizen/info # The pid_value i.e. (horizen) to be replaced according to the respective branded community
title: HorizonZen - Information
description: Horizon
template: "invenio_app_rdm/default_static_page.html"
template: invenio_app_rdm/default_static_page.html
has_custom_view: True

- url: /communities/horizen/join-waiting-list # The pid_value i.e. (horizen) to be replaced according to the respective branded community
title: Join Waiting List
description: Join Waiting List
template: "invenio_app_rdm/default_static_page.html"
template: invenio_app_rdm/default_static_page.html
has_custom_view: True
25 changes: 14 additions & 11 deletions templates/themes/horizon/invenio_app_rdm/default_static_page.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{#
# This file is part of Invenio.
# Copyright (C) 2022 CERN.
# Copyright (C) 2024 CERN.
#
# Invenio is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
Expand All @@ -16,19 +16,22 @@
# along with Invenio; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
#}

{% extends "invenio_communities/base.html" %}

{% set title = page.title %}
{% set community_menu_active = True %}

{% block page_body %}
{% include "invenio_communities/details/header.html" %}
<div class="ui container rel-mt-2">
<div class="row">
<div class="col-xs-12">
<h1>{{ page.title|safe }}</h1>
{% block content %}{{ page.content|safe }}{% endblock %}
</div>
</div>
</div>
{% include "invenio_communities/details/header.html" %}
<div class="ui container rel-mt-2">
<div class="row">
<div class="col-xs-12 rich-input-content">
<h1>{{ page.title|safe }}</h1>
{% block content %}
{{ page.content|safe }}
{% endblock %}
</div>
</div>
</div>
{% endblock %}

0 comments on commit c783b25

Please sign in to comment.