upgrade to phoenix 1.7
This commit is contained in:
.formatter.exsmix.exsmix.lock
config
lib
cannery
cannery_web.excannery_web
components
container_table_component.excore_components.ex
core_components
email_html.exemail_html
confirm_email.html.heexconfirm_email.txt.eexreset_password.html.heexreset_password.txt.eexupdate_email.html.heexupdate_email.txt.eex
layouts.exlayouts
move_pack_component.exshot_record_table_component.extype_table_component.excontrollers
email_controller.exerror_html.ex
endpoint.exerror_helpers.exhtml_helpers.exerror_html
error_json.exhome_controller.exhome_html.exuser_auth.exuser_confirmation_controller.exuser_confirmation_html.exuser_confirmation_html
user_registration_controller.exuser_registration_html.exuser_registration_html
user_reset_password_controller.exuser_reset_password_html.exuser_reset_password_html
user_session_controller.exuser_session_html.exuser_session_html
user_settings_controller.exuser_settings_html.exuser_settings_html
live
router.extemplates
layout
views
priv/gettext
test
cannery
cannery_web
controllers
error_html_test.exserror_json_test.exsexport_controller_test.exshome_controller_test.exsuser_auth_test.exsuser_confirmation_controller_test.exsuser_registration_controller_test.exsuser_reset_password_controller_test.exsuser_session_controller_test.exsuser_settings_controller_test.exs
live
container_live_test.exshome_live_test.exsinvite_live_test.exspack_live_test.exsrange_live_test.exstag_live_test.exstype_live_test.exs
views
support
@ -9,11 +9,11 @@
|
||||
<%= display_emoji("😔") %>
|
||||
</h1>
|
||||
|
||||
<.link patch={Routes.invite_index_path(Endpoint, :new)} class="btn btn-primary">
|
||||
<.link patch={~p"/invites/new"} class="btn btn-primary">
|
||||
<%= dgettext("actions", "Invite someone new!") %>
|
||||
</.link>
|
||||
<% else %>
|
||||
<.link patch={Routes.invite_index_path(Endpoint, :new)} class="btn btn-primary">
|
||||
<.link patch={~p"/invites/new"} class="btn btn-primary">
|
||||
<%= dgettext("actions", "Create Invite") %>
|
||||
</.link>
|
||||
<% end %>
|
||||
@ -40,7 +40,7 @@
|
||||
</form>
|
||||
</:code_actions>
|
||||
<.link
|
||||
patch={Routes.invite_index_path(Endpoint, :edit, invite)}
|
||||
patch={~p"/invites/#{invite}/edit"}
|
||||
class="text-primary-600 link"
|
||||
aria-label={
|
||||
dgettext("actions", "Edit invite for %{invite_name}", invite_name: invite.name)
|
||||
@ -149,14 +149,14 @@
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<.modal :if={@live_action in [:new, :edit]} return_to={Routes.invite_index_path(Endpoint, :index)}>
|
||||
<.modal :if={@live_action in [:new, :edit]} return_to={~p"/invites"}>
|
||||
<.live_component
|
||||
module={CanneryWeb.InviteLive.FormComponent}
|
||||
id={@invite.id || :new}
|
||||
title={@page_title}
|
||||
action={@live_action}
|
||||
invite={@invite}
|
||||
return_to={Routes.invite_index_path(Endpoint, :index)}
|
||||
return_to={~p"/invites"}
|
||||
current_user={@current_user}
|
||||
/>
|
||||
</.modal>
|
||||
|
Reference in New Issue
Block a user