Skip to content

Commit ab1cebf

Browse files
committed
enable tribes bounties popovers
1 parent 150e750 commit ab1cebf

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

app/dashboard/templates/profiles/tribes-vue.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,6 +1569,17 @@ <h4 class="px-2 pt-3 font-body text-muted">{% trans "Top ideas" %}</h4>
15691569
$('body').bootstrapTooltip({
15701570
selector: '[data-toggle="tooltip"]'
15711571
});
1572+
$('body').popover({
1573+
selector: '.bounty_row',
1574+
html: true,
1575+
trigger: 'hover',
1576+
placement: 'auto',
1577+
template: `<div class="popover popover-bounty" role="tooltip">
1578+
<div class="arrow"></div>
1579+
<div class="popover-body p-0"></div>
1580+
<h3 class="popover-header"></h3>
1581+
</div>`
1582+
});
15721583
const csrftoken = jQuery("[name=csrfmiddlewaretoken]").val();
15731584
document.tokens = tokens(document.web3network);
15741585
document.currentProfile = JSON.parse(document.getElementById('current-profile').textContent);

0 commit comments

Comments
 (0)