blob: 1f2c79cf8bb3291822782229ec1f4e8e3b0bc1aa [file] [log] [blame]
Copybara854996b2021-09-07 19:36:02 +00001[# common form fields for changing user settings ]
2<input type="hidden" name="token" value="[form_token]">
3
4
5<h4>Privacy</h4>
6<div style="margin:0 0 2em 2em">
7 <input type="checkbox" name="obscure_email" id="obscure_email" value="1"
8 [if-any read_only]disabled="disabled"[end]
9 [if-any settings_user_pb.obscure_email_bool]checked="checked"[end] >
10 <label for="obscure_email">
11 When [if-any self]I participate[else]this user participates[end]
12 in projects, show non-members [if-any self]my[else]this user's[end] email address as
13 "[settings_user.obscured_username]...@[settings_user.domain]", instead of
14 showing the full address.
15 </label>
16
17 <br><br>
18</div>
19
20<h4>Notifications</h4>
21<div style="margin:0 0 2em 2em">
22 [# TODO(jrobbins): re-implement issue preview on hover in polymer.]
23
24 <p>
25 Whenever an issue is changed by another user, send
26 [if-any self]me[else]this user[end] an email:
27 </p>
28 <input type="checkbox" name="notify" id="notify" value="1"
29 [if-any read_only]disabled="disabled"[end]
30 [if-any settings_user_pb.notify_issue_change_bool]checked="checked"[end] >
31 <label for="notify">
32 If [if-any self]I am[else]this user is[end] in the issue's <b>owner</b> or <b>CC</b> fields.
33 </label><br>
34 <input type="checkbox" name="notify_starred" id="notify_starred" value="1"
35 [if-any read_only]disabled="disabled"[end]
36 [if-any settings_user_pb.notify_starred_issue_change_bool]checked="checked"[end] >
37 <label for="notify_starred">
38 If [if-any self]I[else]this user[end] <b>starred</b> the issue.
39 </label>
40
41 <p>
42 When a date specified in an issue arrives, and that date field is configured to notify
43 issue participants:
44 </p>
45 <input type="checkbox" name="notify_starred_ping" id="notify_starred_ping" value="1"
46 [if-any read_only]disabled="disabled"[end]
47 [if-any settings_user_pb.notify_starred_ping_bool]checked="checked"[end] >
48 <label for="notify_starred_ping">
49 Also send a notification if [if-any self]I[else]this user[end] <b>starred</b> the issue.
50 </label><br>
51
52 <p>
53 Email notifications sent to me should:
54 </p>
55 <input type="checkbox" name="email_compact_subject" id="email_compact_subject" value="1"
56 [if-any read_only]disabled="disabled"[end]
57 [if-any settings_user_pb.email_compact_subject_bool]checked="checked"[end] >
58 <label for="email_compact_subject">
59 Format the subject line compactly
60 </label><br>
61 <input type="checkbox" name="email_view_widget" id="email_view_widget" value="1"
62 [if-any read_only]disabled="disabled"[end]
63 [if-any settings_user_pb.email_view_widget_bool]checked="checked"[end] >
64 <label for="email_view_widget">
65 Include a "View Issue" button in Gmail
66 </label><br>
67 <br>
68</div>
69
70<h4>Community interactions</h4>
71<div style="margin:0 0 2em 2em">
72 <input type="checkbox" name="restrict_new_issues" id="restrict_new_issues" value="1"
73 [if-any read_only]disabled="disabled"[end]
74 [if-any settings_user_prefs.restrict_new_issues]checked="checked"[end] >
75 <label for="restrict_new_issues">
76 When entering a new issue, add Restrict-View-Google to the form.
77 </label><br>
78
79 <input type="checkbox" name="public_issue_notice" id="public_issue_notice" value="1"
80 [if-any read_only]disabled="disabled"[end]
81 [if-any settings_user_prefs.public_issue_notice]checked="checked"[end] >
82 <label for="public_issue_notice">
83 When viewing a public issue, display a banner.
84 </label><br>
85</div>
86
87<h4>Availability</h4>
88<div style="margin:0 0 2em 2em">
89 Vacation message:
90 <input type="text" size="50" name="vacation_message" id="vacation_message"
91 value="[settings_user_pb.vacation_message]"
92 [if-any read_only]disabled="disabled"[end] >
93</div>