Skip to content

Commit

Permalink
Fixes #1347 - Improve Github links on pages (#1357)
Browse files Browse the repository at this point in the history
  • Loading branch information
saputran authored Mar 19, 2022
1 parent 474de8d commit 1a986d0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dashboard/templates/base.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load static %}
{% load static %}
{% load tz %}

<!DOCTYPE html>
Expand Down Expand Up @@ -47,8 +47,9 @@
{% if user.is_superuser and git_version %}
<td style="text-align: left">
Git version:
<a href="{{ git_version.repo }}/commit/{{ git_version.commit }}">{{ git_version.commit_abbrev }}</a>
(commit), {{ git_version.branch }} (branch)
<a href="{{ git_version.repo }}/commit/{{ git_version.commit }}" target="_blank">{{ git_version.commit_abbrev }}</a>
(commit)
<a href="{{ git_version.repo }}/tree/{{ git_version.branch }}" target="_blank"> {{ git_version.branch }}</a> (branch)
</td>
{% endif %}
<td style="text-align: left">
Expand Down

0 comments on commit 1a986d0

Please sign in to comment.