aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/alert
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/default/alert')
-rw-r--r--templates/web/default/alert/list.html4
-rw-r--r--templates/web/default/alert/updates.html2
2 files changed, 5 insertions, 1 deletions
diff --git a/templates/web/default/alert/list.html b/templates/web/default/alert/list.html
index 38007ea62..36bfaffd9 100644
--- a/templates/web/default/alert/list.html
+++ b/templates/web/default/alert/list.html
@@ -116,10 +116,14 @@ for the county council.' ) %]
[% loc('or') %]
</p>
+[% UNLESS c.user_exists %]
+
<p>
[% loc('Your email:') %] <input type="text" id="rznvy" name="rznvy" value="[% rznvy | html %]" size="30">
</p>
+[% END %]
+
<p>
<input type="submit" name="alert" value="[% loc('Subscribe me to an email alert') %]">
</p>
diff --git a/templates/web/default/alert/updates.html b/templates/web/default/alert/updates.html
index 88b014ff6..76b5ef23e 100644
--- a/templates/web/default/alert/updates.html
+++ b/templates/web/default/alert/updates.html
@@ -11,7 +11,7 @@
<form action="/alert/subscribe" method="post">
<label class="n" for="alert_rznvy">[% loc('Email:') %]</label>
-<input type="text" name="rznvy" id="alert_rznvy" value="[% email | html %]" size="30">
+<input type="email" name="rznvy" id="alert_rznvy" value="[% email | html %]" size="30">
<input type="hidden" name="id" value="[% problem_id | html %]">
<input type="hidden" name="type" value="updates">
<input type="submit" value="[% loc('Subscribe') %]">