Parcourir la source

Added accounts merge instructions to manage accounts panel

deadtom il y a 10 heures
Parent
commit
1862d89665
1 fichiers modifiés avec 11 ajouts et 2 suppressions
  1. 11 2
      ownchatbot/templates/mgmt.html

+ 11 - 2
ownchatbot/templates/mgmt.html

@@ -129,6 +129,7 @@
         <body>
             <h3>Manage Viewer Accounts</h3>
             {% if users %}
+            To merge an account with a temporary account: Copy the email address from the temporary account, click "edit" next to the account you want to merge, paste the email address into that account, click "save".<br><br>
             <table>
                 <thead>
                     <tr>
@@ -142,12 +143,20 @@
                 <tbody>
                 {% for user in users %}
                     <tr>
-                        <td> {{ user[1] }} </td>
+                        {% if not user[1] %}
+                            <td style="color: green;"> Temporary Account </td>
+                        {% else %}
+                            <td> {{ user[1] }} </td>
+                        {% endif %}
                         {% set points_label = 'point' if user[2] == 1 else 'points' %}
                         
                         <td>{{ user[2] }} {{ points_label }}</td>
                         {% if user[4] %}
-                            <td>{{ user[4] }}</td>
+                            {% if not user[1] %}
+                                <td style="color: green;">{{ user[4] }}</td>
+                            {% else %}
+                                <td>{{ user[4] }}</td>
+                            {% endif %}
                         {% else %}
                             <td>none</td>
                         {% endif %}