Configure shop app, admin sidebar, media routing, and Stripe dependencies
This commit is contained in:
commit
93d83a0d63
188 files changed
+9220
No files matched your search
@@ -0,0 +1,26 @@
|
||||
{% load slx_brand %}
|
||||
<dialog class="chapter-finish" data-chapter-finish aria-labelledby="chapter-finish-title">
|
||||
<div class="chapter-finish-card">
|
||||
<form method="dialog"><button class="fan-button chapter-finish-close" aria-label="Close chapter prompt" autofocus>×</button></form>
|
||||
{% if next_readable and next_cover %}<img class="chapter-finish-cover" src="{{ next_cover.url }}" alt="Cover for {{ next_chapter.title }}" loading="lazy" decoding="async">{% endif %}
|
||||
<div>
|
||||
<p class="kicker">Chapter complete</p>
|
||||
{% if next_readable %}
|
||||
<h2 id="chapter-finish-title">Read the next chapter?</h2>
|
||||
<p>#{{ next_chapter.number|stringformat:"03d" }} · {{ next_chapter.title|slx_brand }}</p>
|
||||
{% elif next_chapter %}
|
||||
<h2 id="chapter-finish-title">The next chapter is locked</h2>
|
||||
<p>You’ll need access before you can read it.</p>
|
||||
{% else %}
|
||||
<h2 id="chapter-finish-title">You’re caught up</h2>
|
||||
<p>There’s no next chapter available right now.</p>
|
||||
{% endif %}
|
||||
<div class="actions">
|
||||
{% if next_readable %}<a class="cta" href="{% url 'chapter' next_chapter.number %}">Read now</a>
|
||||
{% elif next_chapter %}<a class="cta" href="{% url 'chapter' next_chapter.number %}">See access options</a>
|
||||
{% else %}<a class="cta secondary" href="{% url 'chapters' %}">Chapter archive</a>{% endif %}
|
||||
<form method="dialog"><button class="fan-button" type="submit">Back to page</button></form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</dialog>
|
||||
Reference in new issue
Block a user