-
+
{% if messages %} {% for message in messages %} diff --git a/bmds_server/templates/includes/base/header.html b/bmds_server/templates/includes/base/header.html index 6546721c..23fa58bf 100644 --- a/bmds_server/templates/includes/base/header.html +++ b/bmds_server/templates/includes/base/header.html @@ -1,7 +1,7 @@ {% load bs4 %}
+{% endif %} diff --git a/compose/example.env b/compose/example.env index af69dac9..00823b1e 100644 --- a/compose/example.env +++ b/compose/example.env @@ -12,7 +12,6 @@ DJANGO_DB_PW=TZU8NUkThcO5FOMQeLHt-fdKHGDxJ1c5qXUnA1eGL0g # django LOGS_PATH=/app/logs PUBLIC_DATA_ROOT=/app/public -PRIVATE_DATA_ROOT=/app/public DJANGO_SETTINGS_MODULE=bmds_server.main.settings.production DJANGO_ALLOWED_HOSTS=* DJANGO_CSRF_TRUSTED_ORIGINS=https://example.com diff --git a/frontend/src/App.js b/frontend/src/App.js index e1ed11b7..169d88c3 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -19,8 +19,9 @@ class App extends Component { autorun(() => { const {analysis_name, canEdit} = this.props.mainStore, verb = canEdit ? "Update Analysis" : "Analysis", - name = analysis_name ? analysis_name : ""; - document.title = ["BMDS Online", verb, name].join(" | "); + name = analysis_name ? analysis_name : "", + app_name = this.props.mainStore.config.is_desktop ? "BMDS Desktop" : "BMDS Online"; + document.title = [app_name, verb, name].join(" | "); }); } render() { @@ -38,7 +39,7 @@ class App extends Component { {getHeader()} {isFuture ? (  FUTURE MODE  diff --git a/frontend/src/components/Main/Actions/Actions.js b/frontend/src/components/Main/Actions/Actions.js index b4b8d9b7..2411111f 100644 --- a/frontend/src/components/Main/Actions/Actions.js +++ b/frontend/src/components/Main/Actions/Actions.js @@ -5,6 +5,7 @@ import React, {Component} from "react"; import Button from "../../common/Button"; import Icon from "../../common/Icon"; +import CollectionForm from "./CollectionForm"; const getDeletionDateText = function(editSettings) { const date = editSettings.deleteDateStr, @@ -106,6 +107,13 @@ class Actions extends Component { ) : (

Please save and execute analysis.

)} + {mainStore.isDesktop ? ( + <> +
+ Collections + + + ) : null}