Skip to content

Commit 384dc75

Browse files
authored
Addons: split single checkbox into two (#513)
Instead of showing one checkbox to enable "Show notification on latest and non-stable versions" we have two checkboxes now: - "Show notification on latest version" - "Show notification on non-stable versions" ![Screenshot_2024-10-29_15-52-36](https://github.com/user-attachments/assets/60a35c09-cf9d-4429-af53-41515f00ecac) Requires readthedocs/addons#414 Requires readthedocs/readthedocs.org#11718
1 parent 35a8a66 commit 384dc75

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

readthedocsext/theme/templates/projects/addons_form.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,10 @@
7676

7777
{% block addons_notifications %}
7878
<div class="ui tab" data-tab="notifications">
79-
{{ form.external_version_warning_enabled | as_crispy_field }}
80-
{{ form.stable_latest_version_warning_enabled | as_crispy_field }}
79+
{{ form.notifications_enabled | as_crispy_field }}
80+
{{ form.notifications_show_on_external | as_crispy_field }}
81+
{{ form.notifications_show_on_latest | as_crispy_field }}
82+
{{ form.notifications_show_on_non_stable | as_crispy_field }}
8183
</div>
8284
{% endblock addons_notifications %}
8385

0 commit comments

Comments
 (0)