restore the 10 award limit for me

remotes/1693045480750635534/spooky-22
Aevann1 2022-09-19 19:10:52 +02:00
parent 4519db0e57
commit 2026a1a9c7
2 changed files with 498 additions and 498 deletions

View File

@ -457,7 +457,7 @@ def admin_userawards_post(v):
if value:
if int(value) > 100 or (int(value) > 10 and v.id != AEVANN_ID): abort(403)
if int(value) > 10: abort(403)
if int(value): notify_awards[key] = int(value)

View File

@ -53,7 +53,7 @@
<tr>
<td><i class="{{a['icon']}} {{a['color']}}" style="font-size: 30px"></i></td>
<td>{{a['title']}}</td>
<td><input autocomplete="off" type="number" class="form-control" name="{{a['kind']}}" min="0" {% if v.id != AEVANN_ID %}max="10"{% endif %} placeholder="Enter number..."></td>
<td><input autocomplete="off" type="number" class="form-control" name="{{a['kind']}}" min="0" max="10" placeholder="Enter number..."></td>
</tr>
{% endfor %}
</table>