Negative Stimmen abgeschafft.
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
<div class="panel-body">
|
||||
<img src="{{$image}}" class="pull-left thumbnail" style="max-height: 100px; margin-right: 15px;">
|
||||
<h4>{{$topfilm->name}}</h4>
|
||||
<p><span class="glyphicon glyphicon-thumbs-up"></span> {{$topfilm->upvotes}}
|
||||
<span class="glyphicon glyphicon-thumbs-down"></span> {{$topfilm->downvotes}}</p>
|
||||
<p><span class="glyphicon glyphicon-thumbs-up"></span> {{$topfilm->upvotes}}
|
||||
<span class="glyphicon glyphicon-sort-by-attributes"></span> {{$topfilm->downvotes + $topfilm->upvotes}}</p>
|
||||
@if(!is_null(Auth::user()) && Auth::user()->admin)
|
||||
<a href='{{ url('view-next/' . $topfilm->id) }}' class='btn btn-success btn-xs'>Als nächstes sehen</a>
|
||||
@endif
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
<div class="list-group">
|
||||
{{ link_to_route('film', "Filmdetails", array($topfilm->id), array('class' => 'list-group-item'))}}
|
||||
{{ link_to('beliebt', 'Mehr beliebte Filme', array('class' => 'list-group-item')); }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -50,7 +51,8 @@
|
||||
<div class="list-group">
|
||||
@foreach ($vorgeschlagen as $film)
|
||||
<a href="{{ route('film', array($film->id)); }}" class="list-group-item">{{$film->name}} <small>({{ $film->besitzer->name }})</small></a>
|
||||
@endforeach
|
||||
@endforeach
|
||||
{{ link_to('vorgeschlagen', 'Mehr...', array('class' => 'list-group-item')); }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -61,7 +63,8 @@
|
||||
<div class="list-group">
|
||||
@foreach ($gesehen as $film)
|
||||
{{ link_to_route('film', $film->name, array($film->id), array('class' => 'list-group-item'))}}
|
||||
@endforeach
|
||||
@endforeach
|
||||
{{ link_to('gesehen', 'Mehr...', array('class' => 'list-group-item')); }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user