Add link to file from commits page
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 1 Dec 2010 06:22:04 +0000 (23:22 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 1 Dec 2010 06:22:04 +0000 (23:22 -0700)
chora/app/views/diff/diff.html.php

index 7f0fe0a..1ca1ceb 100644 (file)
@@ -1,5 +1,5 @@
 <div class="diff"<?php if ($id) echo ' id="' . $id . '"' ?>>
-<div class="diff-header"><h4><?php echo $file->queryModulePath() ?></h4></div>
+<div class="diff-header"><h4><a href="<?php echo Chora::url('co', $file->queryModulePath(), array('onb' => $r1)) ?>"><?php echo $file->queryModulePath() ?></a></h4></div>
 <?php foreach ($diff as $section): ?>
 <div class="diff-container diff-section">
  <div class="diff-left"><h3><?php printf(_("Line %s"), $section['oldline']) ?></h3></div>