blob: 5cf059da686dc0d53f0d92eddd309e3635a1b92c [file] [log] [blame]
Copybara854996b2021-09-07 19:36:02 +00001[if-any cue account_cue]
2
3[# Do not show cue if there is an alert shown on the page.]
4[if-any alerts.show][else]
5
6
7[# Dialog box for privacy settings.]
8[is cue "privacy_click_through"]
9 <div class="scrim cue">
10 <div id="privacy_dialog">
11 <h2>Email display settings</h2>
12
13 <p>There is a <a href="/hosting/settings" title="Settings"
14 class="dismiss_cue">setting</a> to control how your email
15 address appears on comments and issues that you post.
16
17 [if-any is_privileged_domain_user]
18 Since you are an integral part of this community, that setting
19 defaults to showing your full email address.</p>
20
21 <p>Also, you are being trusted to view email addresses of
22 non-members who post comments in your projects. Please use
23 those addresses only to request additional information about
24 the posted comments, and do not share other users' email
25 addresses beyond the site.</p>
26 [else]
27 Project members will always see your full email address. By
28 default, other users who visit the site will see an
29 abbreviated version of your email address.</p>
30
31 <p>If you do not wish your email address to be shared, there
32 are other ways to <a
33 href="http://www.chromium.org/getting-involved">get
34 involved</a> in the community. To report a problem when using
35 the Chrome browser, you may use the "Report an issue..." item
36 on the "Help" menu.</p>
37 [end]
38
39 <div class="actions">
40 <a href="#" title="Got it" class="dismiss_cue">GOT IT</a>
41 </div>
42 </div>
43 </div>
44
45[else][if-any account_cue]
46
47 <table id="alert-table" align="center" border="0" cellspacing="0" cellpadding="0">
48 <tr><td class="notice" id="notice">
49 [# Cue card to warn users who are using a child account.]
50 [is account_cue "switch_to_parent_account"]
51 <div>You are signed in to a linked account.</div>
52 <a href="[login_url]">Switch to [parent_email]</a>.
53 [end]
54 </td></tr>
55 </table>
56
57[else][is cue "code_of_conduct"]
58 [# Note: code-of-conduct cue card is implemented in cues-conduct.ezt which is
59 included from forms where users post text.]
60
61[else]
62
63 <table align="center" border="0" cellspacing="0" cellpadding="0" class="cue">
64 <tr><td><span>
65 [# Cue cards to teach users how to join a project.]
66 [is cue "how_to_join_project"]
67 <b>How-to:</b>
68 Join this project by contacting the project owners.
69 [end]
70
71 [# Cue card to teach users how to search for numbers in the issue tracker.]
72 [is cue "search_for_numbers"]
73 [if-any jump_local_id]
74 <b>Tip:</b>
75 To find issues containing "[jump_local_id]", use quotes.
76 [end]
77 [end]
78
79 [# Cue card to teach users how to search for numbers in the issue tracker.]
80 [is cue "dit_keystrokes"]
81 <b>Tip:</b>
82 Press <b>Esc</b> then <b style="font-size:130%"><tt>?</tt></b> for keyboard shortcuts.
83 [end]
84
85 [# Cue card to teach users that italics mean derived values in the issue tracker.]
86 [is cue "italics_mean_derived"]
87 <b>Note:</b>
88 <i>Italics</i> mean that a value was derived by a filter rule.
89 <a href="http://code.google.com/p/monorail/wiki/FilterRules">Learn more</a>
90 [end]
91
92 [# Teach users that color blocks mean that an issue participant may not be available.]
93 [is cue "availability_msgs"]
94 <b>Note:</b>
95 Color blocks (like <span class="availability_unsure" style="padding:0">&#9608;</span> or
96 <span class="availability_never" style="padding:0">&#9608;</span>)
97 mean that a user may not be available. Tooltip shows the reason.
98 [end]
99
100 [# Cue card to teach users that full-text indexing takes time.]
101 [is cue "stale_fulltext"]
102 <b>Note:</b>
103 Searching for text in issues may show results that are a few minutes out of date.
104 [end]
105
106 [# Cue cards to improve discoverability of people roles.]
107 [is cue "document_team_duties"]
108 [if-any read_only][else]
109 <b>Tip:</b>
110 Document <a href="people/list">each teammate's project duties</a>.
111 [end]
112 [end]
113
114 [# Cue cards to explain grid mode.]
115 [is cue "showing_ids_instead_of_tiles"]
116 <b>Note:</b>
117 Grid mode automatically switches to displaying IDs when there are many results.
118 [end]
119
120 [# Cue cards to explain ownermodified, statusmodified, and componentmodified.]
121 [is cue "issue_timestamps"]
122 <b>Note:</b>
123 ownermodified, statusmodified, and componentmodified are the times at which
124 an issue's owner, status or component were changed.
125 [end]
126
127 [# Cue card to remind the user that they have set a vacation message.]
128 [is cue "you_are_on_vacation"]
129 <b>Note:</b>
130 Your <a href="/hosting/settings">vacation message</a> is set to:
131 "[logged_in_user.avail_message_short]".
132 [end]
133
134 [# Cue card to inform user that email to them bounced and that they must reset.]
135 [is cue "your_email_bounced"]
136 <b>Action required:</b>
137 An email to you bounced. Once you can reliably receive email, clear the
138 <a href="[logged_in_user.profile_url]">bouncing status</a>.
139 [end]
140
141 [# Cue card to tell users what it means to star a hotlist]
142 [is cue "explain_hotlist_starring"]
143 <b>Note:</b>
144 Starring a hotlist will not cc you on any updates.
145 It simply adds the hotlist to your Starred hotlists category on this
146 page so that you can conveniently revisit it.
147 [end]
148
149 </span>
150 [# Link to dismiss the cue card.]
151 [if-any logged_in_user]
152 [if-any read_only][else]
153 <a href="#" title="Don't show this message again" style="margin-left: 1em" class="dismiss_cue x_icon"></a>
154 [end]
155 [end]
156 </td></tr>
157 </table>
158[end]
159[end]
160[end]
161
162
163 <script type="text/javascript" nonce="[nonce]">
164runOnLoad(function() {
165 var dismissLinks = document.querySelectorAll(".dismiss_cue");
166 for (var i = 0; i < dismissLinks.length; ++i) {
167 var dismissCue = dismissLinks[[]i];
168 dismissCue.addEventListener("click", function(event) {
169 _CS_dismissCue("[format "js"][cue][end]");
170 if (this.getAttribute("href") === "#")
171 event.preventDefault();
172 });
173 }
174});
175 </script>
176
177[end]
178[end]