diff --git a/templates/base_project.html b/templates/base_project.html index 3fa4a5b..9b9b11a 100644 --- a/templates/base_project.html +++ b/templates/base_project.html @@ -19,11 +19,13 @@ {% endcomment %} -{% if request.user in project.subscribers.all %} +{% if request.user.is_authenticated %} +{% if request.user.email and request.user in project.subscribers.all %}
  • Unwatch
  • {% else %}
  • Watch
  • {% endif %} +{% endif %} {% if perm.manage_project_permission or perm.modify_project or perm.delete_project %}