blob: 353232f5b126985579ba449c1b46e2562ce234c5 [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
Adrià Vilanova Martínezac4a6442022-05-15 19:05:13 +020014 showing the full address. <b>NOTE:</b> Site Administrators and some API clients
15 (eg. bots) will still have access to your full email address.
Copybara854996b2021-09-07 19:36:02 +000016 </label>
17
18 <br><br>
19</div>
20
21<h4>Notifications</h4>
22<div style="margin:0 0 2em 2em">
23 [# TODO(jrobbins): re-implement issue preview on hover in polymer.]
24
25 <p>
26 Whenever an issue is changed by another user, send
27 [if-any self]me[else]this user[end] an email:
28 </p>
29 <input type="checkbox" name="notify" id="notify" value="1"
30 [if-any read_only]disabled="disabled"[end]
31 [if-any settings_user_pb.notify_issue_change_bool]checked="checked"[end] >
32 <label for="notify">
33 If [if-any self]I am[else]this user is[end] in the issue's <b>owner</b> or <b>CC</b> fields.
34 </label><br>
35 <input type="checkbox" name="notify_starred" id="notify_starred" value="1"
36 [if-any read_only]disabled="disabled"[end]
37 [if-any settings_user_pb.notify_starred_issue_change_bool]checked="checked"[end] >
38 <label for="notify_starred">
39 If [if-any self]I[else]this user[end] <b>starred</b> the issue.
40 </label>
41
42 <p>
43 When a date specified in an issue arrives, and that date field is configured to notify
44 issue participants:
45 </p>
46 <input type="checkbox" name="notify_starred_ping" id="notify_starred_ping" value="1"
47 [if-any read_only]disabled="disabled"[end]
48 [if-any settings_user_pb.notify_starred_ping_bool]checked="checked"[end] >
49 <label for="notify_starred_ping">
50 Also send a notification if [if-any self]I[else]this user[end] <b>starred</b> the issue.
51 </label><br>
52
53 <p>
54 Email notifications sent to me should:
55 </p>
56 <input type="checkbox" name="email_compact_subject" id="email_compact_subject" value="1"
57 [if-any read_only]disabled="disabled"[end]
58 [if-any settings_user_pb.email_compact_subject_bool]checked="checked"[end] >
59 <label for="email_compact_subject">
60 Format the subject line compactly
61 </label><br>
62 <input type="checkbox" name="email_view_widget" id="email_view_widget" value="1"
63 [if-any read_only]disabled="disabled"[end]
64 [if-any settings_user_pb.email_view_widget_bool]checked="checked"[end] >
65 <label for="email_view_widget">
66 Include a "View Issue" button in Gmail
67 </label><br>
68 <br>
69</div>
70
71<h4>Community interactions</h4>
72<div style="margin:0 0 2em 2em">
73 <input type="checkbox" name="restrict_new_issues" id="restrict_new_issues" value="1"
74 [if-any read_only]disabled="disabled"[end]
75 [if-any settings_user_prefs.restrict_new_issues]checked="checked"[end] >
76 <label for="restrict_new_issues">
77 When entering a new issue, add Restrict-View-Google to the form.
78 </label><br>
79
80 <input type="checkbox" name="public_issue_notice" id="public_issue_notice" value="1"
81 [if-any read_only]disabled="disabled"[end]
82 [if-any settings_user_prefs.public_issue_notice]checked="checked"[end] >
83 <label for="public_issue_notice">
84 When viewing a public issue, display a banner.
85 </label><br>
86</div>
87
88<h4>Availability</h4>
89<div style="margin:0 0 2em 2em">
90 Vacation message:
91 <input type="text" size="50" name="vacation_message" id="vacation_message"
92 value="[settings_user_pb.vacation_message]"
93 [if-any read_only]disabled="disabled"[end] >
94</div>