Update web/templates/entry_view.html
This commit is contained in:
parent
cefd4c361f
commit
266eec88e7
@ -38,7 +38,22 @@
|
|||||||
Share
|
Share
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
<!-- Share button ... -->
|
||||||
|
|
||||||
|
<button class="btn btn-secondary" id="ttsBtn"
|
||||||
|
title="Read aloud"
|
||||||
|
aria-label="Read illustration out loud"
|
||||||
|
data-illustration="{{ entry.illustration|default_if_none:''|escapejs }}"
|
||||||
|
data-application="{{ entry.application|default_if_none:''|escapejs }}">
|
||||||
|
<!-- Speaker icon (inline SVG) -->
|
||||||
|
<svg width="16" height="16" viewBox="0 0 24 24" aria-hidden="true" style="vertical-align:middle;">
|
||||||
|
<path d="M3 10v4h4l5 4V6L7 10H3z"></path>
|
||||||
|
<path d="M16.5 12c0-1.77-1-3.29-2.5-4.03v8.06A4.49 4.49 0 0 0 16.5 12z"></path>
|
||||||
|
<path d="M14 3.23v2.06c3.39.49 6 3.39 6 6.71s-2.61 6.22-6 6.71v2.06c4.45-.52 8-4.3 8-8.77s-3.55-8.25-8-8.77z"></path>
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<!-- Edit button ... -->
|
||||||
{% if user.is_authenticated and user.is_staff %}
|
{% if user.is_authenticated and user.is_staff %}
|
||||||
<!-- Just the label changed to 'Edit'; link unchanged -->
|
<!-- Just the label changed to 'Edit'; link unchanged -->
|
||||||
<a class="btn btn-outline" href="{% url 'entry_edit' entry.id %}">Edit</a>
|
<a class="btn btn-outline" href="{% url 'entry_edit' entry.id %}">Edit</a>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user