Skip to content

Commit

Permalink
remove override and allow close button clickable by admin (#8697)
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostone-mc authored Mar 26, 2021
1 parent 161d949 commit aa4c9fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/dashboard/templates/bounty/details2.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
</span>
<a v-for="link in quickLinks" class="btn btn-outline-primary px-2 mx-2 btn-sm" :href="[[link.href]]" :title="[[ link.title ]]">[[ link.label ]]</a>
<button class="btn btn-outline-primary px-2 mx-2 btn-sm" @click="contactFunder()">Contact Funder</button>
<button class="btn btn-outline-primary px-2 mx-2 btn-sm" @click="overrideStatus()">Override Status</button>
</div>
<div class="col-12" v-if="loadingState === 'resolved'">
{% if event_tag %}
Expand Down Expand Up @@ -157,7 +156,7 @@ <h4 id="title" class="font-title p-0 text-center text-lg-left" v-html="bounty.ti

<div class="row">
<div id="right_actions" class="col-12 d-block bounty-actions mt-4 pt-2 pb-1 text-center text-lg-left" v-if="bounty.action_urls">
<template v-if="isOwner">
<template v-if="isOwner || contxt.is_staff">
<div v-if="hasAcceptedFulfillments().length && bounty.status != 'done' " class="d-inline-block">
<a class="btn btn-primary btn-sm mr-2 px-3 font-caption text-white" @click="closeBounty()" title="This bounty can be closed since it's been paid out">
<i class="fas fa-check mr-2"></i>
Expand Down

0 comments on commit aa4c9fe

Please sign in to comment.