standardise ids for tour anchors
To make it harder to accidentally mess up the tour when making changes to pages, this commit adds ids with 'tour' prefixes to (nearly) all elements used by the guided tour as anchor points. The exception is where an element already had an id that is being used by something else in Bookwyrm. Some minor changes also made to clean up the wording of the tour.
This commit is contained in:
parent
a8940b8e12
commit
3f67bc3b61
23 changed files with 75 additions and 75 deletions
|
@ -210,7 +210,7 @@
|
|||
|
||||
{% with work=book.parent_work %}
|
||||
<p>
|
||||
<a href="{{ work.local_path }}/editions" id="other-editions-link">
|
||||
<a href="{{ work.local_path }}/editions" id="tour-other-editions-link">
|
||||
{% blocktrans trimmed count counter=work.editions.count with count=work.editions.count|intcomma %}
|
||||
{{ count }} edition
|
||||
{% plural %}
|
||||
|
@ -254,7 +254,7 @@
|
|||
<h2 class="title is-5">{% trans "Your reading activity" %}</h2>
|
||||
</div>
|
||||
<div class="column is-narrow">
|
||||
<button class="button is-small" data-modal-open="add-readthrough">
|
||||
<button class="button is-small" data-modal-open="add-readthrough" id="tour-add-readthrough">
|
||||
<span class="icon icon-plus m-mobile-0" aria-hidden="true"></span>
|
||||
<span class="is-sr-only-mobile">
|
||||
{% trans "Add read dates" %}
|
||||
|
@ -392,7 +392,7 @@
|
|||
</section>
|
||||
{% endif %}
|
||||
|
||||
<section class="content block" id="book-file-links">
|
||||
<section class="content block" id="tour-book-file-links">
|
||||
{% include "book/file_links/links.html" %}
|
||||
</section>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue