source: peerreviewplugin/tags/0.12/3.1/codereview/templates/peer_functions.html

Last change on this file was 17266, checked in by Cinc-th, 5 years ago

PeerReviewPlugin: record timestamp when finishing a review. The status considered as a terminal status are closed, approved, disapproved (unless configuration was changed). The finishing date is shown in the UI.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Revision Id
File size: 1.5 KB
Line 
1<div xmlns="http://www.w3.org/1999/xhtml"
2     xmlns:py="http://genshi.edgewall.org/"
3     xmlns:xi="http://www.w3.org/2001/XInclude"
4     xmlns:i18n="http://genshi.edgewall.org/i18n"
5     py:strip="">
6
7    <py:def function="review_info(review)">
8        <table class="info-table">
9            <tbody>
10            <tr>
11                <th>Name:</th>
12                <td><a href="peerReviewView?Review=${review['review_id']}">${review['name']}</a></td>
13            </tr>
14            <tr>
15                <th>Status:</th>
16                <td>${review['status']}</td>
17            </tr>
18            <tr>
19                <th>ID:</th>
20                <td>${review['review_id']}</td>
21            </tr>
22            <tr>
23                <th>Project:</th>
24                <td>${review['project']}</td>
25            </tr>
26            <tr>
27                <th>Author:</th>
28                <td>${review['owner']}</td>
29            </tr>
30            <tr>
31                <th>Creation Date:</th>
32                <td>$review.date</td>
33            </tr>
34            <tr>
35                <th>Finish Date:</th>
36                <td>$review.finish_date</td>
37            </tr>
38            </tbody>
39        </table>
40        <table py:if="review['notes']" class="info-table">
41            <tbody>
42            <tr>
43                <th>
44                    <p>Author notes:</p>
45                </th>
46                <td>
47                    $review.html_notes
48                </td>
49            </tr>
50            </tbody>
51        </table>
52    </py:def>
53
54</div>
Note: See TracBrowser for help on using the repository browser.