From: Michael Tremer Date: Mon, 3 Dec 2018 17:54:21 +0000 (+0000) Subject: wiki: Don't show watch checkbox when a page is already being watched X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=917d9cfa5ef15fd3a611fc9df57e7cdbb2c2d73d;p=ipfire.org.git wiki: Don't show watch checkbox when a page is already being watched Signed-off-by: Michael Tremer --- diff --git a/src/templates/wiki/edit.html b/src/templates/wiki/edit.html index 1c6598a3..8bfef5d0 100644 --- a/src/templates/wiki/edit.html +++ b/src/templates/wiki/edit.html @@ -34,10 +34,12 @@ -
- - -
+ {% if page and not page.is_watching(current_user) %} +
+ + +
+ {% end %}