BioTorrents.de’s version of Gazelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

edit-bounty.twig 2.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <div class="thin">
  2. <div class="header">
  3. <h2>Edit request bounty</h2>
  4. <h3><a href="requests.php?action=view&amp;id={{ id }}">{{ title }}</a></h3>
  5. </div>
  6. <div class="box pad">
  7. <p>This panel can be used to refund or remove bounty on a request. If the
  8. bounty is refunded, the buffer is returned to the user who added to the
  9. question (if buffer tax is enabled, the portion deducted from tax is not
  10. refunded). If the bounty is removed, nothing is credited back to the user.
  11. The latter should be used for cheaters.</p>
  12. <p>If a request has been filled, the bounty will be removed from the stats
  13. of the filler. In this case, they will receive a PM explaining the
  14. situation. PMs are not sent to the people whose bounties are removed or
  15. refunded. In all cases, a note is made on the user profiles of those
  16. affected.</p>
  17. <p>To avoid accidents when removing bounty, you must select both the
  18. radio button in the Remove column <b>and</b> also check the box.</p>
  19. <form action="" method="post" id="request_form">
  20. <div>
  21. <input type="hidden" name="id" value="{{ id }}" />
  22. <input type="hidden" name="auth" value="{{ auth }}" />
  23. <input type="hidden" name="action" value="takebounty" />
  24. </div>
  25. <table class="layout">
  26. <tr>
  27. <td class="label" style="text-align: left; width: 40%;">User</td>
  28. <td class="label" style="text-align: left; width: 40%;">Bounty</td>
  29. <td class="label" style="width: 60px;">Keep</td>
  30. <td class="label" style="width: 60px;">Refund</td>
  31. <td class="label" style="width: 60px;"><strong class="important_text">Remove</strong></td>
  32. </tr>
  33. {% for b in bounty %}
  34. <tr>
  35. <td>{{ b.UserID|user_full }}</td>
  36. <td title="{{ b.Bounty|number_format }}">{{ b.bounty_size }}</td>
  37. <td><input type="radio" title="No change" name="action-{{ b.UserID }}" value="keep" checked="checked" /></td>
  38. <td><input type="radio" title="Refund" name="action-{{ b.UserID }}" value="refund" /></td>
  39. <td><input type="radio" title="Remove (Danger!)" name="action-{{ b.UserID }}" value="remove" />&nbsp;<input type="checkbox" name="check-{{ b.UserID }}" /></td>
  40. </tr>
  41. {% endfor %}
  42. <tr>
  43. <td colspan="5">
  44. <input type="submit" id="button" value="Edit bounty" />
  45. </td>
  46. </tr>
  47. </table>
  48. </form>
  49. </div>
  50. </div>