Bugfix: Gesamtsumme der Stimmen auf /beliebt wieder korrekt. Auf Film-Seite, inaktive Nutzer gekennzeichnet.
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
<dt>Dafür</dt>
|
||||
<dd>
|
||||
@foreach($pv as $v)
|
||||
<span class="badge">
|
||||
<span class="badge" {{ $v->getSetting('disabled') ? 'style="color: #c77; font-style: italic;"' : '' }}>
|
||||
<img class="img-circle" src="{{ $v->getAvatar() }}" width="20"> {{$v->name}}
|
||||
</span>
|
||||
@endforeach
|
||||
@@ -118,7 +118,7 @@
|
||||
<dt>Nicht dafür</dt>
|
||||
<dd>
|
||||
@foreach($nv as $v)
|
||||
<span class="badge">
|
||||
<span class="badge" {{ $v->getSetting('disabled') ? 'style="color: #c77; font-style: italic"' : '' }}>
|
||||
<img class="img-circle" src="{{ $v->getAvatar() }}" width="20"> {{$v->name}}
|
||||
</span>
|
||||
@endforeach
|
||||
|
@@ -27,7 +27,7 @@
|
||||
$vp = $film->upvotes;
|
||||
$np = $film->downvotes;
|
||||
?>
|
||||
<span class="glyphicon glyphicon-transfer"></span> {{ $vp + $np }}
|
||||
<span class="glyphicon glyphicon-transfer"></span> {{ $np != null ? $vp + $np : $film->votes }}
|
||||
</td>
|
||||
<td>
|
||||
@if(($vp) > 0) <span class="label label-default">+{{$vp}}</span>
|
||||
|
Reference in New Issue
Block a user