fixing page titles, fleshing out readme
This commit is contained in:
parent
c79a67b345
commit
2fe6f4c174
8 changed files with 86 additions and 6 deletions
lib/shift73k_web/live
shift_assign_live
shift_import_live
shift_live
shift_template_live
user
|
@ -13,6 +13,7 @@ defmodule Shift73kWeb.ShiftAssignLive.Index do
|
|||
def mount(_params, session, socket) do
|
||||
socket
|
||||
|> assign_defaults(session)
|
||||
|> assign(:page_title, "Schedule Shifts")
|
||||
|> assign(:custom_shift, @custom_shift)
|
||||
|> assign(:show_template_btn_active, false)
|
||||
|> assign(:show_template_details, false)
|
||||
|
|
|
@ -13,6 +13,7 @@ defmodule Shift73kWeb.ShiftImportLive.Index do
|
|||
|
||||
socket
|
||||
|> assign_defaults(session)
|
||||
|> assign(:page_title, "iCal Import")
|
||||
|> assign(:url_valid, false)
|
||||
|> assign(:url_validated, false)
|
||||
|> assign(:tz_valid, true)
|
||||
|
|
|
@ -35,7 +35,7 @@ defmodule Shift73kWeb.ShiftLive.Index do
|
|||
|
||||
defp apply_action(socket, :index, _params) do
|
||||
socket
|
||||
|> assign(:page_title, "Listing Shifts")
|
||||
|> assign(:page_title, "My Shifts")
|
||||
|> assign(:shift, nil)
|
||||
end
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ defmodule Shift73kWeb.ShiftTemplateLive.Index do
|
|||
|
||||
defp apply_action(socket, :index, _params) do
|
||||
socket
|
||||
|> assign(:page_title, "Listing Shift templates")
|
||||
|> assign(:page_title, "My Shift Templates")
|
||||
|> assign(:shift_template, nil)
|
||||
end
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ defmodule Shift73kWeb.UserLive.Settings do
|
|||
def mount(_params, session, socket) do
|
||||
socket
|
||||
|> assign_defaults(session)
|
||||
|> assign(:page_title, "User Settings")
|
||||
|> alert_email_verified?()
|
||||
|> live_okreply()
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue