X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=resources%2Fjs%2Fcomponents%2Ftournament%2FDetail.js;h=bb9b9284461ebe85ea7c4a818cb417c8c7df43f6;hb=5d62356b37c464f6fb91deb7beb62347fd9cdd9c;hp=cfea60d2bcd8100bb164282bd89017880e15f0da;hpb=a748d5724c8acff6e3bb3fe6c20aa5968b65d58a;p=alttp.git diff --git a/resources/js/components/tournament/Detail.js b/resources/js/components/tournament/Detail.js index cfea60d..bb9b928 100644 --- a/resources/js/components/tournament/Detail.js +++ b/resources/js/components/tournament/Detail.js @@ -3,19 +3,25 @@ import React from 'react'; import { Button, Col, Container, Row } from 'react-bootstrap'; import { withTranslation } from 'react-i18next'; +import ApplyButton from './ApplyButton'; import Scoreboard from './Scoreboard'; +import ScoreChartButton from './ScoreChartButton'; +import SettingsButton from './SettingsButton'; +import ApplicationsButton from '../applications/Button'; import Protocol from '../protocol/Protocol'; import Rounds from '../rounds/List'; import Box from '../users/Box'; import { isRunner, mayAddRounds, + mayUpdateTournament, mayViewProtocol, } from '../../helpers/permissions'; import { getTournamentAdmins, getTournamentMonitors, hasRunners, + hasScoreboard, hasTournamentAdmins, hasTournamentMonitors, } from '../../helpers/Tournament'; @@ -44,40 +50,54 @@ const Detail = ({