[scrobbles] Fix note display to be sticky notes
All checks were successful
build & deploy / test (push) Successful in 1m44s
build & deploy / deploy (push) Successful in 21s

This commit is contained in:
2026-03-24 15:20:03 -04:00
parent 4121915aa3
commit 06acc9ec2b
6 changed files with 58 additions and 7 deletions

View File

@ -12,11 +12,13 @@
<h1>{{ object.media_obj }} - {{object.media_type}}</h1>
{% with notes_string=object.logdata.notes_as_str %}
{% if notes_string %}
{% with notes_html=object.logdata.notes_as_html %}
{% if notes_html %}
<div class="mb-3">
<h5>Notes</h5>
<pre>{{ notes_string }}</pre>
<div class="sticky-notes-container">
{{ notes_html|safe }}
</div>
</div>
{% endif %}
{% endwith %}