settings: Challenge can never ends

This commit is contained in:
nemunaire 2023-05-12 14:53:15 +02:00
commit aad95f1e53
12 changed files with 36 additions and 22 deletions

View file

@ -510,7 +510,7 @@
</div>
</div>
<div ng-controller="CountdownController" style="position: fixed; bottom: {{ display.hideCarousel?'0':'109px' }}; right: 0; width: 33vw; overflow: hidden; padding-top: 25px;" ng-if="!display.hideCountdown" ng-cloak>
<div ng-controller="CountdownController" style="position: fixed; bottom: {{ display.hideCarousel?'0':'109px' }}; right: 0; width: 33vw; overflow: hidden; padding-top: 25px;" ng-if="!display.hideCountdown && time.end" ng-cloak>
<div class="bg-light text-center text-dark" ng-if="time.hours === 0 || time.hours" style="margin-top: -5px; width: inherit; {{ display.customCountdown?'':'box-shadow: white 0px -10px 15px 0px;' }}">
<div class="clock" ng-class="{expired: time.expired, end: time.end}" style="font-size: 50px">
<span id="hours">{{ time.hours | time }}</span>
@ -594,7 +594,7 @@
<td>{{ settings.start | date:"HH'&nbsp;h&nbsp;'mm" }}</td>
<td>Début du challenge</td>
</tr>
<tr>
<tr ng-if="settings.end">
<td>{{ settings.end | date:"HH'&nbsp;h&nbsp;'mm" }}</td>
<td>Fin du challenge</td>
</tr>