blob: 4c45bd3fca96fc2ad08ddcec0b7e128de1df99de [file] [log] [blame]
Copybara854996b2021-09-07 19:36:02 +00001[define category_css]css/ph_detail.css[end]
2[include "../framework/header.ezt" "showtabs"]
3[# TODO: add UI element permissions when I add editing elements to this page. ]
4[define show_star][if-any project_stars_enabled][if-any logged_in_user][if-any read_only][else]yes[end][end][end][end]
5
6<h4>Project: [projectname]</h4>
7<div class="section">
8 <div><i>[project_summary]</i></div>
9
10 [if-any show_star]
11 <div>
12 <a class="star" id="star"
13 style="color:[if-any is_project_starred]cornflowerblue[else]gray[end];"
14 title="[if-any is_project_starred]Un-s[else]S[end]tar this project">
15 [if-any is_project_starred]&#9733;[else]&#9734;[end]
16 </a>
17 Starred by [num_stars] user[plural]
18 </div>
19 [end]
20</div>
21
22
23<h4>Project description</h4>
24<div class="section">
25 [format "raw"][formatted_project_description][end]
26</div>
27
28<h4>Project access</h4>
29<div class="section">
30 [access_level.name]
31</div>
32
33
34[if-any home_page]
35 <h4>Project home page</h4>
36 <div class="section">
37 <a href="[home_page]">[home_page]</a>
38 </div>
39[end]
40
41[if-any docs_url]
42 <h4>Project documentation</h4>
43 <div class="section">
44 <a href="[docs_url]">[docs_url]</a>
45 </div>
46[end]
47
48[if-any source_url]
49 <h4>Project source browser</h4>
50 <div class="section">
51 <a href="[source_url]">[source_url]</a>
52 </div>
53[end]
54
55<!-- TODO(jrobbins): expose this later when it is more fully baked.
56
57<h4>Issue tracking process</h4>
58<div class="section">
59 Brief paragraph about how you intend this issue tracker to be used.
60
61</div>
62
63
64<h4>Ground rules</h4>
65 <ul>
66 <li>Non-members may enter new issues, but they will be moderated...</li>
67 <li>Please keep to the facts of the issue, don't try to advocate.</li>
68 <li>We are not currently looking for feature requests from non-members.</li>
69 </ul>
70
71
72
73<h4>Guidelines</h4>
74 <ul>
75 <li>Make sure the defect is verified with the latest build</li>
76 <li>Another bullet item describing how to collaborate in this project</li>
77 <li>A few more</li>
78 <li>And going into a little detail</li>
79 <li>But not too much... also need good defaults and examples</li>
80 </ul>
81
82
83<h4>For more information</h4>
84 <ul>
85 <li>Link to external docs</li>
86 <li>And discussion forums</li>
87 </ul>
88
89-->
90
91<script type="text/javascript" nonce="[nonce]">
92runOnLoad(function() {
93 if ($("star")) {
94 [# The user viewing this page wants to star the project *on* this page]
95 $("star").addEventListener("click", function () {
96 _TKR_toggleStar($("star"), "[projectname]");
97 });
98 }
99});
100</script>
101
102[include "../framework/footer.ezt"]