Skip to content

Commit

Permalink
Allows moderator to stop work after work submitted
Browse files Browse the repository at this point in the history
  • Loading branch information
SaptakS committed Sep 13, 2018
1 parent 97ecd80 commit d8610b1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions app/dashboard/templates/bounty/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,22 @@ <h5 class="bounty-heading">{% trans "Funder" %}</h5>
<span class="bounty-text">[[:fulfillment_id]]</span>
</div>
[[/if]]
[[if slash_possible]]
<div class="stop-work">
<span title="<div class='tooltip-info tooltip-sm'>Remove this user's started work on the bounty</div>">
<a id="remove-[[:name]]" class="button button--primary" role="button" href="remove-handle">
<span class="font-smaller-4">Stop work</span>
</a>
</span>
</div>
<div class="stop-work">
<span title="<div class='tooltip-info tooltip-sm'>Remove this user's started work on the bounty and ding rep</div>">
<a id="remove-slash-[[:name]]" class="button button--primary admin-only" role="button" href="remove-handle">
<span class="font-smaller-4">Stop work + Ding Rep</span>
</a>
</span>
</div>
[[/if]]
</div>
[[else activity_type == 'start_work' || activity_type == 'worker_approved' || activity_type == 'bounty_abandonment_warning' || activity_type == 'worker_applied']]
<div class="col-12 col-md-7 started-status-column">
Expand Down

0 comments on commit d8610b1

Please sign in to comment.