|
Last change
on this file was
15496,
checked in by Cinc-th, 7 years ago
|
|
PeerReviewPlugin: add report page to PeerReviewPlugin
- Page can be opened using context navigation menu
- All Trac reports (see TracReports) are shown which include a wiki comment in the description saying codereview=1
- Each report is given the parameter PROJECT=none to prevent warnings for reports using this user selectable parameter (you don't need to use it)
- You have to define your own reports atm
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Revision Id
|
|
File size:
1.6 KB
|
| Line | |
|---|
| 1 | <!DOCTYPE html |
|---|
| 2 | PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
|---|
| 3 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|---|
| 4 | <html xmlns="http://www.w3.org/1999/xhtml" |
|---|
| 5 | xmlns:py="http://genshi.edgewall.org/" |
|---|
| 6 | xmlns:xi="http://www.w3.org/2001/XInclude"> |
|---|
| 7 | <xi:include href="layout.html"/> |
|---|
| 8 | <head> |
|---|
| 9 | <title>Codereview Reports</title> |
|---|
| 10 | </head> |
|---|
| 11 | <body> |
|---|
| 12 | <div id="content" class="report"> |
|---|
| 13 | <h1>Codereview Reports</h1> |
|---|
| 14 | <p>The reports are specially crafted for Codereviews. Following a link will open the report result page. |
|---|
| 15 | Depending on the report it may be necessary to add parameters on the report page so results are shown.</p> |
|---|
| 16 | <p>More reports can be found on the Trac <a title="Report Page" href="${href.report()}">report page</a>. |
|---|
| 17 | </p> |
|---|
| 18 | |
|---|
| 19 | <h2>Available Codereview Reports</h2> |
|---|
| 20 | <div class="reports"> |
|---|
| 21 | <py:for each="report in reports"> |
|---|
| 22 | <div> |
|---|
| 23 | <h3> |
|---|
| 24 | <a title="$report.title" href="${href.report(report.id, PROJECT='none')}"><em>{$report.id}</em> $report.title</a> |
|---|
| 25 | </h3> |
|---|
| 26 | <div py:if="report.desc" class="description" xml:space="preserve"> |
|---|
| 27 | ${wiki_to_html(context.child('report', report.id), report.desc)} |
|---|
| 28 | </div> |
|---|
| 29 | </div> |
|---|
| 30 | </py:for> |
|---|
| 31 | <p py:if="not reports">There are no Codereview reports defined.</p> |
|---|
| 32 | </div> |
|---|
| 33 | </div> |
|---|
| 34 | </body> |
|---|
| 35 | </html> |
|---|
Note: See
TracBrowser
for help on using the repository browser.