Просмотр исходного кода

Set authentication message to only show if user is not authenticated

deadtom 3 недель назад
Родитель
Сommit
8140082906
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      ownchatbot/templates/userpanel.html

+ 1 - 1
ownchatbot/templates/userpanel.html

@@ -73,12 +73,12 @@
         {% endif %}
         {% endif %}
         {% endif %}
         {% endif %}
         </table>
         </table>
+            {% for user in users %}
             {% if user[3] %}
             {% if user[3] %}
             <br>
             <br>
             {% else %}
             {% else %}
             <br><span style="color: orange;"><i>You must be authenticated with Owncast to earn points for donations.</i></span><br>
             <br><span style="color: orange;"><i>You must be authenticated with Owncast to earn points for donations.</i></span><br>
             {% endif %}
             {% endif %}
-            {% for user in users %}
             
             
             <div>
             <div>
                 {% if user[3] %}
                 {% if user[3] %}