Skip to content

Commit 9f28d01

Browse files
committed
Merge branch 'main' of github.com:algora-io/console into feat/exclusive-bounties
2 parents 327705b + 4639b3e commit 9f28d01

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lib/algora_web/live/org/dashboard_live.ex

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
306306
<div
307307
role="tablist"
308308
aria-orientation="horizontal"
309-
class="-ml-1 grid h-full w-full grid-cols-2 items-center justify-center gap-1 rounded-md p-1 bg-muted text-card-foreground"
309+
class="-ml-1 grid h-full w-full grid-cols-2 items-center justify-center gap-1 rounded-lg p-1 bg-muted/40 text-card-foreground"
310310
tabindex="0"
311311
data-orientation="horizontal"
312312
style="outline: none;"
@@ -731,9 +731,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
731731
{:noreply,
732732
socket
733733
|> assign(:show_share_drawer, false)
734-
|> assign_contracts()
735-
|> assign_achievements()
736-
|> put_flash(:info, "Contract offer sent to #{socket.assigns.selected_developer.name}")}
734+
|> redirect(to: ~p"/org/#{socket.assigns.current_org.handle}/contracts/#{contract.id}")}
737735

738736
{:error, changeset} ->
739737
{:noreply, put_flash(socket, :error, "Failed to create contract: #{inspect(changeset.errors)}")}
@@ -1585,7 +1583,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
15851583
<.drawer_header>
15861584
<.drawer_title>Offer Contract</.drawer_title>
15871585
<.drawer_description>
1588-
Once you send an offer, {@selected_developer.name} will be notified and can accept or decline.
1586+
{@selected_developer.name} will be notified and can accept or decline. You can auto-renew or cancel the contract at the end of each period.
15891587
</.drawer_description>
15901588
</.drawer_header>
15911589
"""

0 commit comments

Comments
 (0)