aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/report/display_tools.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/web/base/report/display_tools.html b/templates/web/base/report/display_tools.html
index be788a50d..4ba8c8b2c 100644
--- a/templates/web/base/report/display_tools.html
+++ b/templates/web/base/report/display_tools.html
@@ -43,13 +43,15 @@
</a>
[% loc('Receive email when updates are left on this problem.' ) %]</p>
<fieldset>
+ [% IF c.user_exists %]
+ <input class="green-btn" type="submit" name="alert" value="[% loc('Subscribe') %]">
+ [% ELSE %]
<label for="alert_rznvy">[% loc('Your email') %]</label>
<div class="form-txt-submit-box">
- [% IF NOT c.user_exists %]
<input type="email" class="form-control" name="rznvy" id="alert_rznvy" value="[% email | html %]" size="30">
- [% END %]
- <input class="green-btn" type="submit" value="[% loc('Subscribe') %]">
+ <input class="green-btn" type="submit" name="alert" value="[% loc('Subscribe') %]">
</div>
+ [% END %]
<input type="hidden" name="token" value="[% csrf_token %]">
<input type="hidden" name="id" value="[% problem.id %]">
<input type="hidden" name="type" value="updates">