File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -198,9 +198,14 @@ defmodule AlgoraWeb.Forms.ContractForm do
198198 < dl class = "space-y-4 " >
199199 < div class = "flex justify-between " >
200200 < dt class = "text-foreground " >
201- Total amount for
201+ Total payment for
202202 < span class = "font-semibold " > { get_change ( @ form . source , :hours_per_week ) } </ span >
203203 hours
204+ <%= if contractor = get_field ( @ form . source , :contractor ) do %>
205+ < span class = "text-xs text-muted-foreground " >
206+ ({ contractor . name } 's availability)
207+ </ span >
208+ <% end %>
204209 < div class = "text-xs text-muted-foreground " >
205210 (includes all platform and payment processing fees)
206211 </ div >
@@ -220,9 +225,6 @@ defmodule AlgoraWeb.Forms.ContractForm do
220225 Draft contract < . icon name = "tabler-arrow-right " class = "-mr-1 ml-2 h-4 w-4 " />
221226 </ . button >
222227 </ div >
223- < p class = "pt-4 text-sm text-muted-foreground " >
224- You can edit the contract after it's created
225- </ p >
226228 </ . form >
227229 """
228230 end
Original file line number Diff line number Diff line change @@ -2004,7 +2004,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
20042004 < . drawer_content :if = { @ selected_developer } class = "mt-4 " >
20052005 < div class = "grid grid-cols-1 md:grid-cols-2 gap-8 " >
20062006 < . share_drawer_developer_info selected_developer = { @ selected_developer } />
2007- <%= if incomplete? ( @ achievements , :connect_github_status ) do %>
2007+ <%= if @ live_action == :preview or incomplete? ( @ achievements , :connect_github_status ) do %>
20082008 < div class = "relative " >
20092009 < div class = "absolute inset-0 z-10 bg-background/50 " />
20102010 < div class = "pointer-events-none " >
You can’t perform that action at this time.
0 commit comments