- Westfälische Wilhelms-Universität Münster
+ Westfälische Wilhelms-Universität Münster
Institut für Geoinformatik - o2r Project Team
Heisenbergstraße 2
D-48149 Münster
@@ -16,7 +23,7 @@ class Impressum extends Component {
Notice of Liability
- Although we check the content carefully, we cannot accept responsibility for the content of external links.
+ Although we check the content carefully, we cannot accept responsibility for the content of external links.
The linked sites’ carriers are responsible for their sites’ content.
@@ -24,4 +31,4 @@ class Impressum extends Component {
}
}
-export default Impressum;
\ No newline at end of file
+export default Impressum;
diff --git a/ui/src/components/app/footerLinks/Privacy.js b/ui/src/components/app/footerLinks/Privacy.js
index c146c857..be3530cd 100644
--- a/ui/src/components/app/footerLinks/Privacy.js
+++ b/ui/src/components/app/footerLinks/Privacy.js
@@ -1,8 +1,15 @@
import React, { Component } from "react";
+import config from '../../../helpers/config';
class Privacy extends Component {
+
+ componentDidMount(){
+ document.title = "Privacy" + config.title;
+
+ }
+
render() {
- return (
+ return (
Privacy Policy
User Data
@@ -40,4 +47,4 @@ class Privacy extends Component {
}
}
-export default Privacy;
\ No newline at end of file
+export default Privacy;
diff --git a/ui/src/components/authorView/Author.js b/ui/src/components/authorView/Author.js
index cae73a4e..00c40da9 100644
--- a/ui/src/components/authorView/Author.js
+++ b/ui/src/components/authorView/Author.js
@@ -3,6 +3,7 @@ import React, { Component } from "react";
import httpRequests from '../../helpers/httpRequests';
import ResultList from './resultList'
import { Grid, Paper } from "@material-ui/core";
+import config from '../../helpers/config';
class Author extends Component {
@@ -16,6 +17,7 @@ class Author extends Component {
}
componentDidMount() {
this.getCompendia();
+ document.title = "Author View" + config.title;
}
goToErc = (erc) => {
@@ -88,4 +90,4 @@ class Author extends Component {
}
}
-export default Author;
\ No newline at end of file
+export default Author;
diff --git a/ui/src/components/createERC/CreateERC.js b/ui/src/components/createERC/CreateERC.js
index 2b501139..0788cafe 100644
--- a/ui/src/components/createERC/CreateERC.js
+++ b/ui/src/components/createERC/CreateERC.js
@@ -7,7 +7,7 @@ import RequiredMetadata from './requiredMetadata/RequiredMetadata';
import SpatioTemporalMetadata from './spatioTemporalMetadata/SpatioTemporalMetadata';
import Bindings from './bindings/Bindings';
import httpRequests from '../../helpers/httpRequests';
-
+import config from '../../helpers/config';
function TabContainer(props) {
@@ -35,7 +35,7 @@ class CreateERC extends Component {
spatioTemporalChanged: false,
authorsValid: false,
candidate: true,
- showProgress: false,
+ showProgress: false
}
}
@@ -146,17 +146,21 @@ class CreateERC extends Component {
this.setState({ authorsValid: valid });
};
-
- componentDidMount = () => this.getMetadata();
+ componentDidMount = () => {
+ this.getMetadata();
+ document.title = "Create ERC" + config.title;
+ }
handleClose = () => {
this.setState({ open: false })
+
+
}
render() {
const { value } = this.state;
return (
-
+
Publish
-
+ {props.candidate
+ ?
+ :
+ }
)}
@@ -472,7 +477,7 @@ class Bindings extends Component {
}
analyzeIfConditions = (analyzedCode, codelines) => {
-
+
for (var codeItem of analyzedCode) {
if (codeItem.type === "if" || codeItem.type === "while" ) {
if(codeItem.code[0].func && codeItem.code[0].func.id ==="install.packages"){
@@ -530,8 +535,8 @@ class Bindings extends Component {
/*handleMouseUp ( e ) {
if (this.state.creationStep === 1) {
try {
- this.setCode(window.getSelection().getRangeAt(0).toString());
- } catch (error) {
+ this.setCode(window.getSelection().getRangeAt(0).toString());
+ } catch (error) {
}
} else if (this.state.creationStep === 2) {
this.setState({
@@ -627,13 +632,13 @@ class Bindings extends Component {
saveErc = () => {
this.props.setChangedFalse("all")
this.props.updateMetadata(this.props.metadata, true)
-
+
}
goToErc= () => {
this.props.goToErc();
}
-
+
clearBinding() {
let state = this.state;
//state.codeview=true;
@@ -808,4 +813,4 @@ export default Bindings;
}
}
}
-*/
\ No newline at end of file
+*/
diff --git a/ui/src/components/createERC/requiredMetadata/Form.js b/ui/src/components/createERC/requiredMetadata/Form.js
index 0d7637e3..4364de63 100644
--- a/ui/src/components/createERC/requiredMetadata/Form.js
+++ b/ui/src/components/createERC/requiredMetadata/Form.js
@@ -333,12 +333,20 @@ export const Form = props => {
>
Publish
-