Improved look of issue display
[viewgit.git] / templates / summary.php
blob735ebffe2b2b01f772ecebca4995d5515780501a
1 <?php
2 require_once('templates/shortlog.php');
3 ?>
5 <?php
6 require_once('templates/tags.php');
7 ?>
9 <p><a href="<?php echo makelink(array('a' => 'tags', 'p' => $page['project'])) ?>">View all tags</a></p>
11 <h1>Heads</h1>
13 <table class="heads">
14 <thead>
15 <tr>
16 <th class="date">Date</th>
17 <th class="branch">Branch</th>
18 <th class="actions">Actions</th>
19 </tr>
20 </thead>
21 <tbody>
22 <?php
23 foreach ($page['heads'] as $h) {
24 echo "<tr>\n";
25 echo "\t<td>$h[date]</td>\n";
26 echo "\t<td><a href=\"". makelink(array('a' => 'shortlog', 'p' => $page['project'], 'h' => $h['fullname'])) ."\">$h[name]</a></td>\n";
27 echo "\t<td></td>\n";
28 echo "</tr>\n";
31 </tbody>
32 </table>
34 <?php
35 // call plugins that register "summary" hook
36 if (in_array('summary', array_keys(VGPlugin::$plugin_hooks))) {
37 VGPlugin::call_hooks('summary');