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
198
198
< dl class = "space-y-4 " >
199
199
< div class = "flex justify-between " >
200
200
< dt class = "text-foreground " >
201
- Total amount for
201
+ Total payment for
202
202
< span class = "font-semibold " > { get_change ( @ form . source , :hours_per_week ) } </ span >
203
203
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 %>
204
209
< div class = "text-xs text-muted-foreground " >
205
210
(includes all platform and payment processing fees)
206
211
</ div >
@@ -220,9 +225,6 @@ defmodule AlgoraWeb.Forms.ContractForm do
220
225
Draft contract < . icon name = "tabler-arrow-right " class = "-mr-1 ml-2 h-4 w-4 " />
221
226
</ . button >
222
227
</ div >
223
- < p class = "pt-4 text-sm text-muted-foreground " >
224
- You can edit the contract after it's created
225
- </ p >
226
228
</ . form >
227
229
"""
228
230
end
Original file line number Diff line number Diff line change @@ -1975,7 +1975,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
1975
1975
< . drawer_content :if = { @ selected_developer } class = "mt-4 " >
1976
1976
< div class = "grid grid-cols-1 md:grid-cols-2 gap-8 " >
1977
1977
< . share_drawer_developer_info selected_developer = { @ selected_developer } />
1978
- <%= if incomplete? ( @ achievements , :connect_github_status ) do %>
1978
+ <%= if @ live_action == :preview or incomplete? ( @ achievements , :connect_github_status ) do %>
1979
1979
< div class = "relative " >
1980
1980
< div class = "absolute inset-0 z-10 bg-background/50 " />
1981
1981
< div class = "pointer-events-none " >
You can’t perform that action at this time.
0 commit comments