From fe6eabf414aace0617ca52919140e202e1889865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81bastien=20De=CC=81le=CC=80ze?= Date: Wed, 18 Mar 2020 14:43:45 +0100 Subject: [PATCH] organisations: remove test organisation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Renames organisation key from "usi" to "unisi". * Removes link for changing organisation on homepage. * Closes #115. Co-Authored-by: Sébastien Délèze --- sonar/theme/assets/scss/{usi => unisi}/_variables.scss | 0 sonar/theme/assets/scss/{usi => unisi}/theme.scss | 0 .../static/images/{usi-logo.svg => unisi-logo.svg} | 0 sonar/theme/templates/sonar/frontpage.html | 10 +++------- sonar/theme/webpack.py | 2 +- 5 files changed, 4 insertions(+), 8 deletions(-) rename sonar/theme/assets/scss/{usi => unisi}/_variables.scss (100%) rename sonar/theme/assets/scss/{usi => unisi}/theme.scss (100%) rename sonar/theme/static/images/{usi-logo.svg => unisi-logo.svg} (100%) diff --git a/sonar/theme/assets/scss/usi/_variables.scss b/sonar/theme/assets/scss/unisi/_variables.scss similarity index 100% rename from sonar/theme/assets/scss/usi/_variables.scss rename to sonar/theme/assets/scss/unisi/_variables.scss diff --git a/sonar/theme/assets/scss/usi/theme.scss b/sonar/theme/assets/scss/unisi/theme.scss similarity index 100% rename from sonar/theme/assets/scss/usi/theme.scss rename to sonar/theme/assets/scss/unisi/theme.scss diff --git a/sonar/theme/static/images/usi-logo.svg b/sonar/theme/static/images/unisi-logo.svg similarity index 100% rename from sonar/theme/static/images/usi-logo.svg rename to sonar/theme/static/images/unisi-logo.svg diff --git a/sonar/theme/templates/sonar/frontpage.html b/sonar/theme/templates/sonar/frontpage.html index 88f04d22..89b53705 100755 --- a/sonar/theme/templates/sonar/frontpage.html +++ b/sonar/theme/templates/sonar/frontpage.html @@ -61,17 +61,13 @@
{{ _('Software under development!') }}
{% endblock %} {%- block body %} -
-
+
+

{{_('The project')}}

{{_('The SONAR project aims to create a scholarly archive that collects, promotes and preserves the publications of authors affiliated with Swiss public research institutions.')}}

{{_('Further info on the project page')}} sonar.ch.

-
-

{{_('Institution views (test)')}}

- Università della Svizzera italiana -
-
+

{{_('Follow us')}}

diff --git a/sonar/theme/webpack.py b/sonar/theme/webpack.py index e4359536..1820d787 100644 --- a/sonar/theme/webpack.py +++ b/sonar/theme/webpack.py @@ -29,7 +29,7 @@ entry={ 'app': './js/app.js', 'sonar-theme': './scss/sonar/theme.scss', - 'usi-theme': './scss/usi/theme.scss' + 'unisi-theme': './scss/unisi/theme.scss' }, dependencies={ 'popper.js': '^1.15',