Link fullscreen page from tournament page
This commit is contained in:
parent
20d7a76c89
commit
5141c19cb7
|
|
@ -45,6 +45,7 @@ function StatusBar(props) {
|
|||
{props.tournament.name}
|
||||
<EditButton tournamentId={props.tournament.id} isOwner={props.isOwner} isSignedIn={props.isSignedIn}/>
|
||||
<StatisticsButton tournamentId={props.tournament.id}/>
|
||||
<FullscreenButton tournamentId={props.tournament.id}/>
|
||||
</Navbar.Brand>
|
||||
</TournamentStatusBar>);
|
||||
}
|
||||
|
|
@ -55,6 +56,12 @@ function StatisticsButton(props) {
|
|||
</TournamentStatusBarButton>);
|
||||
}
|
||||
|
||||
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