diff --git a/js/components/TournamentInformationView.js b/js/components/TournamentInformationView.js
index 3d6622b..99c465c 100644
--- a/js/components/TournamentInformationView.js
+++ b/js/components/TournamentInformationView.js
@@ -6,7 +6,8 @@ import {
Col,
Container,
ListGroup,
- ListGroupItem
+ ListGroupItem,
+ Row
} from 'reactstrap';
@@ -17,22 +18,27 @@ class PrivateTournamentInformationView extends React.Component {
return (
-
-
-
- {tournament.description}
-
-
- {tournament.isPublic ? 'Das Turnier ist öffentlich.' : 'Das Turnier ist privat.'}
-
- Turnier-Code: {tournament.code}
- von {tournament.owner_username}
-
+
+
+
+ {tournament.description}
+
+
+
+
+ {tournament.isPublic ? 'Das Turnier ist öffentlich.' : 'Das Turnier ist privat.'}
+
+ Turnier-Code: {tournament.code}
+ von {tournament.owner_username}
+
+
+
);
}
@@ -53,21 +59,21 @@ function ButtonsBadge(props) {
switch(currentpage) {
case 'statistics':
return (
-
+
);
case 'tournament':
return (
-
+
);
case 'edit':
return (
-
+
@@ -78,7 +84,7 @@ function ButtonsBadge(props) {
function TournamentButton(props) {
const { id } = props;
- return ;
+ return ;
}
function EditButton(props) {
@@ -86,7 +92,7 @@ function EditButton(props) {
if(isSignedIn && ownerName === username) {
return (
-
+
);
} else {
return null;
@@ -95,22 +101,6 @@ function EditButton(props) {
function StatisticsButton(props) {
const { id } = props;
- return ;
+ return ;
}
-
-
-/*
-
-
- {description}
-
-
- {isPublic ? 'Das Turnier ist öffentlich.' : 'Das Turnier ist privat.'}
-
- Turnier-Code: {code}
- von {ownerUsername}
-
-
-
-*/