Skip to content

Commit

Permalink
feat: link to actual commit from hash
Browse files Browse the repository at this point in the history
Co-Authored-By: Rink <[email protected]>
  • Loading branch information
tomudding and rinkp committed Sep 11, 2024
1 parent 1e3ddce commit aa92b6e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions module/Application/view/partial/admin.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,11 @@ use Laminas\View\Renderer\PhpRenderer;
</li>
<?php endif; ?>
<li class="stick-to-bottom">
<a href="https://github.com/gewis/gewisweb">
<span class="fab fa-github"></span> <?= getenv('GIT_COMMIT') ?>
<?php
$commit = getenv('GIT_COMMIT');
?>
<a href="https://github.com/gewis/gewisweb/commit/<?= $commit ?>">
<span class="fab fa-github"></span> <?= $commit ?>
</a>
</li>
</ul>
Expand Down

0 comments on commit aa92b6e

Please sign in to comment.