Link fullscreen page from tournament page
This commit is contained in:
parent
2d525eb576
commit
4df2537ad7
|
|
@ -41,6 +41,7 @@ function StatusBar(props) {
|
|||
<ButtonGroup className='me-auto'>
|
||||
<EditButton tournamentId={props.tournament.id} isOwner={props.isOwner} isSignedIn={props.isSignedIn}/>
|
||||
<StatisticsButton tournamentId={props.tournament.id}/>
|
||||
<FullscreenButton tournamentId={props.tournament.id}/>
|
||||
</ButtonGroup>
|
||||
</TournamentStatusBar>);
|
||||
}
|
||||
|
|
@ -51,6 +52,12 @@ function StatisticsButton(props) {
|
|||
</LinkButton>);
|
||||
}
|
||||
|
||||
function FullscreenButton(props) {
|
||||
return (<TournamentStatusBarButton href={'/t/' + props.tournamentId + '/fullscreen'}>
|
||||
Vollbild-Ansicht
|
||||
</TournamentStatusBarButton>);
|
||||
}
|
||||
|
||||
|
||||
function mapStateToTournamentPageProperties(state) {
|
||||
const {isSignedIn, username} = state.userinfo;
|
||||
|
|
|
|||
Loading…
Reference in New Issue