2026-01-27 13:48:59 -05:00
|
|
|
{% extends "core/base.html" %}
|
2026-03-03 16:10:49 -05:00
|
|
|
{% load lyric_extras %}
|
2026-01-27 13:48:59 -05:00
|
|
|
|
rename: Note→Post/Line (dashboard); Recognition→Note (drama); new-post/my-posts to billboard
- dashboard: Note→Post, Item→Line across models, forms, views, API, urls & tests
- new-post (9×3) & my-posts (3×3) applets migrate from dashboard→billboard context; billboard view passes form & recent_posts
- drama: Recognition→Note, related_name notes; billboard URL /recognition/→/my-notes/, set-palette at /note/<slug>/set-palette
- recognition.js→note.js (module Note, data.note key); recognition-page.js→note-page.js; .recog-*→.note-*
- _recognition.scss→_note.scss; BillNotes page header; applet slug billboard-recognition→billboard-notes (My Notes)
- NoteSpec.js replaces RecognitionSpec.js; test_recognition.py→test_applet_my_notes.py
- 4 migrations applied: dashboard 0004, applets 0011+0012, drama 0005; 683 ITs green
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 22:32:34 -04:00
|
|
|
{% block title_text %}Dashpost{% endblock title_text %}
|
|
|
|
|
{% block header_text %}<span>Dash</span>post{% endblock header_text %}
|
2026-01-27 13:48:59 -05:00
|
|
|
|
|
|
|
|
|
2026-02-08 21:43:58 -05:00
|
|
|
{% block extra_header %}
|
rename: Note→Post/Line (dashboard); Recognition→Note (drama); new-post/my-posts to billboard
- dashboard: Note→Post, Item→Line across models, forms, views, API, urls & tests
- new-post (9×3) & my-posts (3×3) applets migrate from dashboard→billboard context; billboard view passes form & recent_posts
- drama: Recognition→Note, related_name notes; billboard URL /recognition/→/my-notes/, set-palette at /note/<slug>/set-palette
- recognition.js→note.js (module Note, data.note key); recognition-page.js→note-page.js; .recog-*→.note-*
- _recognition.scss→_note.scss; BillNotes page header; applet slug billboard-recognition→billboard-notes (My Notes)
- NoteSpec.js replaces RecognitionSpec.js; test_recognition.py→test_applet_my_notes.py
- 4 migrations applied: dashboard 0004, applets 0011+0012, drama 0005; 683 ITs green
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 22:32:34 -04:00
|
|
|
{% url "view_post" post.id as form_action %}
|
2026-02-08 21:43:58 -05:00
|
|
|
{% include "apps/dashboard/_partials/_form.html" with form=form form_action=form_action %}
|
|
|
|
|
{% endblock extra_header %}
|
2026-01-27 13:48:59 -05:00
|
|
|
|
2026-02-08 21:43:58 -05:00
|
|
|
{% block content %}
|
|
|
|
|
<div class="row justify-content-center">
|
|
|
|
|
<div class="col-lg-6">
|
rename: Note→Post/Line (dashboard); Recognition→Note (drama); new-post/my-posts to billboard
- dashboard: Note→Post, Item→Line across models, forms, views, API, urls & tests
- new-post (9×3) & my-posts (3×3) applets migrate from dashboard→billboard context; billboard view passes form & recent_posts
- drama: Recognition→Note, related_name notes; billboard URL /recognition/→/my-notes/, set-palette at /note/<slug>/set-palette
- recognition.js→note.js (module Note, data.note key); recognition-page.js→note-page.js; .recog-*→.note-*
- _recognition.scss→_note.scss; BillNotes page header; applet slug billboard-recognition→billboard-notes (My Notes)
- NoteSpec.js replaces RecognitionSpec.js; test_recognition.py→test_applet_my_notes.py
- 4 migrations applied: dashboard 0004, applets 0011+0012, drama 0005; 683 ITs green
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 22:32:34 -04:00
|
|
|
<small>Post created by: <span id="id_post_owner">{{ post.owner|display_name }}</span></small>
|
|
|
|
|
<table id="id_post_table" class="table">
|
|
|
|
|
{% for line in post.lines.all %}
|
|
|
|
|
<tr><td>{{ forloop.counter }}. {{ line.text }}</td></tr>
|
2026-02-08 21:43:58 -05:00
|
|
|
{% endfor %}
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-02-18 13:53:05 -05:00
|
|
|
|
|
|
|
|
<div class="row justify-content-center">
|
|
|
|
|
<div class="col-lg-6">
|
|
|
|
|
|
rename: Note→Post/Line (dashboard); Recognition→Note (drama); new-post/my-posts to billboard
- dashboard: Note→Post, Item→Line across models, forms, views, API, urls & tests
- new-post (9×3) & my-posts (3×3) applets migrate from dashboard→billboard context; billboard view passes form & recent_posts
- drama: Recognition→Note, related_name notes; billboard URL /recognition/→/my-notes/, set-palette at /note/<slug>/set-palette
- recognition.js→note.js (module Note, data.note key); recognition-page.js→note-page.js; .recog-*→.note-*
- _recognition.scss→_note.scss; BillNotes page header; applet slug billboard-recognition→billboard-notes (My Notes)
- NoteSpec.js replaces RecognitionSpec.js; test_recognition.py→test_applet_my_notes.py
- 4 migrations applied: dashboard 0004, applets 0011+0012, drama 0005; 683 ITs green
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 22:32:34 -04:00
|
|
|
<form method="POST" action="{% url "share_post" post.id %}">
|
2026-02-18 13:53:05 -05:00
|
|
|
{% csrf_token %}
|
|
|
|
|
<input
|
|
|
|
|
id="id_recipient"
|
|
|
|
|
name="recipient"
|
2026-03-02 15:45:12 -05:00
|
|
|
class="form-control form-control-lg{% if form.errors.recipient %} is-invalid{% endif %}"
|
2026-02-18 13:53:05 -05:00
|
|
|
placeholder="friend@example.com"
|
|
|
|
|
aria-describedby="id_recipient_feedback"
|
|
|
|
|
required
|
|
|
|
|
/>
|
2026-03-02 15:45:12 -05:00
|
|
|
{% if form.errors.recipient %}
|
2026-02-18 13:53:05 -05:00
|
|
|
<div id="id_recipient_feedback" class="invalid-feedback">
|
|
|
|
|
{{ form.errors.recipient.0 }}
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
2026-04-06 03:02:37 -04:00
|
|
|
<button type="submit" class="btn btn-primary">Share</button>
|
2026-02-18 13:53:05 -05:00
|
|
|
</form>
|
rename: Note→Post/Line (dashboard); Recognition→Note (drama); new-post/my-posts to billboard
- dashboard: Note→Post, Item→Line across models, forms, views, API, urls & tests
- new-post (9×3) & my-posts (3×3) applets migrate from dashboard→billboard context; billboard view passes form & recent_posts
- drama: Recognition→Note, related_name notes; billboard URL /recognition/→/my-notes/, set-palette at /note/<slug>/set-palette
- recognition.js→note.js (module Note, data.note key); recognition-page.js→note-page.js; .recog-*→.note-*
- _recognition.scss→_note.scss; BillNotes page header; applet slug billboard-recognition→billboard-notes (My Notes)
- NoteSpec.js replaces RecognitionSpec.js; test_recognition.py→test_applet_my_notes.py
- 4 migrations applied: dashboard 0004, applets 0011+0012, drama 0005; 683 ITs green
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 22:32:34 -04:00
|
|
|
<small>Post shared with:
|
|
|
|
|
{% for user in post.shared_with.all %}
|
|
|
|
|
<span class="post-recipient">{{ user|display_name }}</span>
|
2026-02-18 13:53:05 -05:00
|
|
|
{% endfor %}
|
|
|
|
|
</small>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-02-08 21:43:58 -05:00
|
|
|
{% endblock content %}
|
|
|
|
|
|
|
|
|
|
{% block scripts %}
|
|
|
|
|
{% include "apps/dashboard/_partials/_scripts.html" %}
|
|
|
|
|
{% endblock scripts %}
|