Skip to content

Commit ea563b3

Browse files
committed
fix: prompts for slash bounty command in bounty forms
1 parent f5b2c40 commit ea563b3

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

lib/algora_web/live/crowdfund.ex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,11 @@ defmodule AlgoraWeb.CrowdfundLive do
177177
<div class="text-sm text-muted-foreground">No credit card required</div>
178178
</div>
179179
</.form>
180+
<div class="lg:col-span-3 text-sm text-muted-foreground">
181+
<.icon name="tabler-sparkles" class="size-4 text-current mr-1" /> Comment
182+
<code class="px-1 py-0.5 text-success">/bounty $1000</code>
183+
on GitHub issues and PRs (requires GitHub auth)
184+
</div>
180185
</div>
181186
<div class="pt-20 sm:pt-40 grid grid-cols-1 gap-16">
182187
<.link

lib/algora_web/live/org/dashboard_live.ex

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1543,15 +1543,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
15431543
<p class="text-sm text-muted-foreground">
15441544
<.icon name="tabler-sparkles" class="size-4 text-current mr-1" /> Comment
15451545
<code class="px-1 py-0.5 text-success">/bounty $100</code>
1546-
on GitHub issues
1547-
<button
1548-
:if={@installations == []}
1549-
type="button"
1550-
phx-click="install_app"
1551-
class="hover:underline"
1552-
>
1553-
(requires the Algora app)
1554-
</button>
1546+
on GitHub issues (requires GitHub auth)
15551547
</p>
15561548
<div class="flex justify-end gap-4">
15571549
<.button>Submit</.button>
@@ -1592,15 +1584,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
15921584
<p class="text-sm text-muted-foreground">
15931585
<.icon name="tabler-sparkles" class="size-4 text-current mr-1" /> Comment
15941586
<code class="px-1 py-0.5 text-success">/tip $100 @handle</code>
1595-
on GitHub issues and PRs
1596-
<button
1597-
:if={@installations == []}
1598-
type="button"
1599-
phx-click="install_app"
1600-
class="hover:underline"
1601-
>
1602-
(requires the Algora app)
1603-
</button>
1587+
on GitHub issues and PRs (requires GitHub auth)
16041588
</p>
16051589
<div class="flex justify-end gap-4">
16061590
<.button>Submit</.button>

0 commit comments

Comments
 (0)