Deployment and lifecycle management for Nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

web: disable some unsupported buttons

-11
-5
apps/sower/lib/sower_web/live/agent_live/index.html.heex
··· 1 1 <Layouts.app flash={@flash} current_user={@current_user}> 2 2 <.header> 3 3 Listing Agents 4 - <:actions> 5 - <.link patch={~p"/agents/new"}> 6 - <.button>New Agent</.button> 7 - </.link> 8 - </:actions> 9 4 </.header> 10 5 11 6 <.table
-6
apps/sower/lib/sower_web/live/agent_live/show.html.heex
··· 4 4 <.online state={@online} /> 5 5 <span>Agent: {@agent.name}</span> 6 6 </div> 7 - 8 - <:actions> 9 - <.link patch={~p"/agents/#{@agent}/show/edit"} phx-click={JS.push_focus()}> 10 - <.button>Edit agent</.button> 11 - </.link> 12 - </:actions> 13 7 </.header> 14 8 15 9 <div class="mt-8 space-y-10">