Made 'Runde tippen' also available for non-admins
This commit is contained in:
parent
7295166781
commit
e7c58fd769
2 changed files with 9 additions and 2 deletions
7
.gi
Normal file
7
.gi
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
:X
|
||||||
|
Merge branch 'master' of https://bitbucket.org/Terminon/tippspiel
|
||||||
|
# Please enter a commit message to explain why this merge is necessary,
|
||||||
|
# especially if it merges an updated upstream into a topic branch.
|
||||||
|
#
|
||||||
|
# Lines starting with '#' will be ignored, and an empty message aborts
|
||||||
|
# the commit.
|
||||||
|
|
@ -69,9 +69,9 @@
|
||||||
<!-- 4 in 1 functionality -->
|
<!-- 4 in 1 functionality -->
|
||||||
|
|
||||||
@if(App\Round::hasLockedGame($round->id)!=true)
|
@if(App\Round::hasLockedGame($round->id)!=true)
|
||||||
@if (Auth::user()->admin)
|
|
||||||
<a href="/tipps/edit4/{{$game->round_id}}">Runde Tippen</a>
|
<a href="/tipps/edit4/{{$game->round_id}}">Runde Tippen</a>
|
||||||
@endif
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue