Browse Source

Added username variable to fulfill button url

deadtom 1 tháng trước cách đây
mục cha
commit
1f4e53e13c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      ownchatbot/templates/queue.html

+ 2 - 2
ownchatbot/templates/queue.html

@@ -133,10 +133,10 @@
                         {% if row[5] %}
                         <td>Refunded</td>
                         {% else %}
-                        <td><a href="/mgmt/refund?reward={{ row[2] }}&username={{ row[6] }}&rewarder_id={{ row[3] }}&reward_id={{ row[0] }} "><button class="button button2">Refund</button></a></td>
+                        <td><a href="/mgmt/refund?reward={{ row[2] }}&username={{ row[6] }}&rewarder_id={{ row[3] }}&reward_id={{ row[0] }}"><button class="button button2">Refund</button></a></td>
                         {% endif %}
                         {% else %}
-                        <td><a href="/mgmt/fulfill?reward_id={{ row[0] }}&username={{ row[6] }}"><button class="button button2">Fulfill</button></a></td>
+                        <td><a href="/mgmt/fulfill?reward_id={{ row[0] }}&username={{ row[6] }}&reward_name={{ row[2] }}"><button class="button button2">Fulfill</button></a></td>
                         {% endif %}
                     </tr>
                 {% endfor %}