Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: appengine/monorail/templates/framework/project-access-part.ezt

Issue 1868553004: Open Source Monorail (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 [# Diplay a widget to choose project access level, or read-only text showing
2 the access level. Read-only text is used when the user does not have
3 permission to edit, or if there is only one available choice.
4 ]
5
6 [define access_menu_was_shown]False[end]
7
8 [if-any read_only][else]
9 [if-any offer_access_level]
10 <select name="access" id="access">
11 <option value="" disabled="disabled" [if-any initial_access][else]selected ="selected"[end]>
12 Select an access level...
13 </option>
14 [for available_access_levels]
15 <option value="[available_access_levels.key]"
16 [if-any initial_access]
17 [is initial_access.key available_access_levels.key]selected="selecte d"[end]
18 [end]>
19 [available_access_levels.name]
20 </option>
21 [end]
22 </select>
23 [define access_menu_was_shown]True[end]
24 [end]
25 [end]
26
27 [is access_menu_was_shown "False"]
28 [initial_access.name]
29 <input type="hidden" name="access" value="[initial_access.key]">
30 [end]
31
32 <div class="formerror">
33 [if-any errors.access]
34 <div class="emphasis">[errors.access]</div>
35 [end]
36 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698