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

Side by Side Diff: appengine/monorail/templates/sitewide/project-list-row.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 [# This displays one list row of the project search results.
2
3 No parameters are used, but it expects the "projects" loop variable to
4 hold the current project.]
5
6 [# Project name link to this project]
7 <td style="width:10%">
8 <a href="[projects.relative_home_url]/" style="font-size:medium">
9 [projects.project_name]
10 </a>
11 </td>
12
13 [# Display membership and star only if user is logged in]
14 [if-any logged_in_user]
15 [# User's membership status of this project]
16 <td style="width:10%">
17 [if-any projects.membership_desc][projects.membership_desc][end]
18 </td>
19
20 [# Display star for logged in user to star this project]
21 <td style="width:5%">
22 [if-any logged_in_user]
23 <a class="star"
24 style="color:[if-any projects.starred]cornflowerblue[else]gray[end]"
25 title="[if-any projects.starred]Un-s[else]S[end]tar this project" data-pr oject-name="[projects.project_name]">
26 [if-any projects.starred]&#9733;[else]&#9734;[end]
27 </a>
28 [end]
29 </td>
30 [end]
31
32 [# Display how many have starred this project]
33 <td style="width:10%">
34 [is projects.num_stars "0"]
35 [else]
36 Stars: <span id="star_count-[projects.project_name]">[projects.num_stars]</s pan>
37 [end]
38 </td>
39
40 [# When project was last updated]
41 <td style="width:20%">
42 [if-any projects.last_updated_exists]
43 Updated: [projects.recent_activity]
44 [end]
45 </td>
46
47 [# The short summary of this project]
48 <td style="width:45%">
49 [is projects.limited_summary ""][else]
50 [projects.limited_summary]<br>
51 [end]
52 </td>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698