|
|
@ -10,7 +10,7 @@ defmodule DecentralisedBookIndexWeb.DbiServerLive.Show do
|
|
|
|
{@dbi_server.name}
|
|
|
|
{@dbi_server.name}
|
|
|
|
|
|
|
|
|
|
|
|
<:actions>
|
|
|
|
<:actions>
|
|
|
|
<%= if is_nil(@dbi_server.dbi_server) and @current_user != nil and Role.can_administrate?(@current_user.role) do %>
|
|
|
|
<%= if @current_user != nil and Role.can_administrate?(@current_user.role) do %>
|
|
|
|
<.link patch={~p"/servers/#{@dbi_server}/edit"} phx-click={JS.push_focus()}>
|
|
|
|
<.link patch={~p"/servers/#{@dbi_server}/edit"} phx-click={JS.push_focus()}>
|
|
|
|
<.edit_button>
|
|
|
|
<.edit_button>
|
|
|
|
Edit
|
|
|
|
Edit
|
|
|
|