Porównaj commity

...

2 Commity

Autor SHA1 Wiadomość Data
Aonrud 2dcdfea1d7 fix: sentence case object poll data list 2023-02-06 11:51:25 +00:00
Aonrud 203fad3235 feat(polls): widen range of available poll durations 2023-02-06 11:36:03 +00:00
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -68,11 +68,11 @@
<p class="form-group">
<label for="poll_type">Poll Duration</label>
<select name="poll_duration">
<option value="5">ends in 5 minutes</option>
<option value="30">ends in 30 minutes</option>
<option value="60">ends in 1 hour</option>
<option value="360">ends in 6 hours</option>
<option value="1440">ends in 1 day</option>
<option value="2880">ends in 2 days</option>
<option value="10080">ends in 1 week</option>
</select>
</p>
<div class="form-group">

Wyświetl plik

@ -624,7 +624,7 @@
{% if object.poll_end_time %}
<li>
<span class="fas fa-bars-progress"></span>
{% if object.is_poll_ended %}ended{% else %}ends{% endif %}
{% if object.is_poll_ended %}Ended{% else %}Ends{% endif %}
<time title="{{ object.poll_end_time.replace(microsecond=0).isoformat() }}">
{{ object.poll_end_time | timeago }}
</time>