From: Michael Tremer Date: Thu, 14 Dec 2023 14:36:07 +0000 (+0000) Subject: docs: Show watch checkbox when pages are created X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3aad4da8dc8030d1c154fd721f1ea511667ef414;p=ipfire.org.git docs: Show watch checkbox when pages are created Signed-off-by: Michael Tremer --- diff --git a/src/templates/docs/edit.html b/src/templates/docs/edit.html index 4e68b062..a4be792d 100644 --- a/src/templates/docs/edit.html +++ b/src/templates/docs/edit.html @@ -96,17 +96,18 @@ - {% if page and not page.is_watched_by(current_user) %} -
+ {% if not page or not page.is_watched_by(current_user) %} +
- - +
- +

{{_("Get notified when this page is changed") }} - +

{% end %}