commit: show all parents.
[viewgit.git] / templates / commitdiff.php
blobeeac791f5e67d91c1d069f71b88be5e07fb355ea
1 <h1><?php echo htmlentities($page['message_firstline']); ?></h1>
3 <div class="authorinfo">
4 <?php
5 echo htmlentities($page['author_name']);
6 echo ' ['. $page['author_datetime'] .']';
7 ?>
8 </div>
10 <div class="commitmessage">
11 <pre>
12 <?php echo htmlentities($page['message_full']); ?>
13 </pre>
14 </div>
16 <div class="filelist">
17 <table>
18 <thead>
19 <tr>
20 <th>Filename</th>
21 <th>Links</th>
22 </tr>
23 </thead>
24 <tbody>
25 <?php
26 // pathname | patch | blob | history
27 foreach ($page['files'] as $file => $url) {
28 echo "<tr>\n";
29 echo "<td><a href=\"#$url\">$file</a></td>";
30 echo "<td>blob | history</td>";
31 echo "</tr>\n";
34 </tbody>
35 </table>
36 </div>
38 <div class="diff">
39 <pre>
40 <?php echo $page['diffdata']; ?>
41 </pre>
42 </div>