add lists to guided tour
Takes user through the main /list page, as well as the options for creating a list.
This commit is contained in:
parent
827a63b4eb
commit
06b4a55979
3 changed files with 189 additions and 4 deletions
|
@ -16,7 +16,7 @@
|
|||
</div>
|
||||
<div class="column">
|
||||
<fieldset class="field">
|
||||
<legend class="label">{% trans "List curation:" %}</legend>
|
||||
<legend class="label" id="list-curation-legend">{% trans "List curation:" %}</legend>
|
||||
|
||||
<div class="field" data-hides="list_group_selector">
|
||||
<input
|
||||
|
@ -102,7 +102,7 @@
|
|||
{% with user|username as username %}
|
||||
{% url 'user-groups' user|username as url %}
|
||||
<div>
|
||||
<p>{% trans "You don't have any Groups yet!" %}</p>
|
||||
<p id="tour-no-groups-yet">{% trans "You don't have any Groups yet!" %}</p>
|
||||
<p>
|
||||
<a class="help has-text-weight-normal" href="{{ url }}">{% trans "Create a Group" %}</a>
|
||||
</p>
|
||||
|
@ -123,7 +123,7 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
<div class="field has-addons">
|
||||
<div class="control">
|
||||
<div class="control" id="tour-privacy-select">
|
||||
{% include 'snippets/privacy_select.html' with current=list.privacy %}
|
||||
</div>
|
||||
<div class="control">
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
</h1>
|
||||
</div>
|
||||
{% if request.user.is_authenticated %}
|
||||
<div class="column is-narrow">
|
||||
<div class="column is-narrow" id="create-list-button">
|
||||
{% trans "Create List" as button_text %}
|
||||
{% include 'snippets/toggle/open_button.html' with controls_text="create_list" icon_with_text="plus" text=button_text focus="create_list_header" %}
|
||||
</div>
|
||||
|
@ -54,3 +54,9 @@
|
|||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{% if user.show_guided_tour %}
|
||||
{% include 'guided_tour/lists.html' %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue