Skip to content

Commit 1e86d01

Browse files
idealsealarthurzam
authored andcommitted
feat: add link to browse files on github
Closes: #35 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
1 parent 223a178 commit 1e86d01

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/app/handler/packages/overview.templ

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,12 @@ templ overview(pkg *models.Package) {
452452
Git repository browser
453453
</a>
454454
</dd>
455+
<dd>
456+
<span class="fa fa-fw fa-github"></span>
457+
<a href={ templ.URL("https://github.com/gentoo/gentoo/tree/master/" + pkg.Atom) } target="_blank">
458+
GitHub repository browser
459+
</a>
460+
</dd>
455461
<dd>
456462
<span class="fa fa-fw fa-history"></span>
457463
<a href={ templ.URL("https://gitweb.gentoo.org/repo/gentoo.git/log/" + pkg.Atom + "?showmsg=1") } title="Git log" target="_blank">Git log</a>

0 commit comments

Comments
 (0)