Show debug information in record details
This commit is contained in:
@@ -102,6 +102,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<details class="mt-4 px-4 text-zinc-700 hover:text-zinc-500 dark:text-zinc-400 dark:hover:text-zinc-300">
|
||||
<summary class="text-xs sm:text-sm"><%= gettext("MusicBrainz data") %></summary>
|
||||
<pre><code class="text-xs sm:text-sm"><%= Jason.encode!(@record.musicbrainz_data, pretty: true) %></code></pre>
|
||||
</details>
|
||||
|
||||
<div class="mt-8">
|
||||
<.back navigate={@back_url}>
|
||||
<%= gettext("Back to records") %>
|
||||
|
||||
@@ -95,6 +95,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<details class="mt-4 px-4 text-zinc-700 hover:text-zinc-500 dark:text-zinc-400 dark:hover:text-zinc-300">
|
||||
<summary class="text-xs sm:text-sm"><%= gettext("MusicBrainz data") %></summary>
|
||||
<pre><code class="text-xs sm:text-sm"><%= Jason.encode!(@record.musicbrainz_data, pretty: true) %></code></pre>
|
||||
</details>
|
||||
|
||||
<div class="mt-8">
|
||||
<.back navigate={@back_url}>
|
||||
<%= gettext("Back to wishlist") %>
|
||||
|
||||
@@ -29,12 +29,12 @@ msgstr ""
|
||||
msgid "Attempting to reconnect"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/live/record_live/show.html.heex:107
|
||||
#: lib/music_library_web/live/record_live/show.html.heex:112
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Back to records"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/live/wishlist_live/show.html.heex:100
|
||||
#: lib/music_library_web/live/wishlist_live/show.html.heex:105
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Back to wishlist"
|
||||
msgstr ""
|
||||
@@ -351,3 +351,9 @@ msgstr ""
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Copy MusicBrainz ID to clipboard"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/live/record_live/show.html.heex:106
|
||||
#: lib/music_library_web/live/wishlist_live/show.html.heex:99
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "MusicBrainz data"
|
||||
msgstr ""
|
||||
|
||||
Reference in New Issue
Block a user