backlink to other notes in notes
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| defmodule MemexWeb.NoteLive.Show do | ||||
|   use MemexWeb, :live_view | ||||
|  | ||||
|   import MemexWeb.Components.NoteContent | ||||
|   alias Memex.{Accounts.User, Notes, Notes.Note} | ||||
|  | ||||
|   @impl true | ||||
|   | ||||
| @@ -5,14 +5,7 @@ | ||||
|  | ||||
|   <p><%= if @note.tags, do: @note.tags |> Enum.join(", ") %></p> | ||||
|  | ||||
|   <textarea | ||||
|     id="show-note-content" | ||||
|     class="input input-primary h-128 min-h-128" | ||||
|     phx-hook="MaintainAttrs" | ||||
|     phx-update="ignore" | ||||
|     readonly | ||||
|     phx-no-format | ||||
|   ><%= @note.content %></textarea> | ||||
|   <.note_content note={@note} /> | ||||
|  | ||||
|   <p class="self-end"> | ||||
|     <%= gettext("Visibility: %{visibility}", visibility: @note.visibility) %> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user