Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit e33b60c

Browse files
committed
initial commit / fix missing branch value
1 parent 0955cd2 commit e33b60c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/views/games/releases.jade

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,11 @@ append gameContent
7373
else
7474
include releases-controls
7575
h4.release-data: strong Commit
76-
a(href="#{game.repository}/commits/#{release.commitId}" data-toggle="tooltip" title="View Commit")=release.commitId.substr(0,7)
76+
a(href="#{game.repository}/commits/#{release.commitId}" data-toggle="tooltip" title="View Commit")=' '+release.commitId.substr(0,7)
7777

78-
h4.release-data: strong Branch
79-
a(href="#{game.repository}/browse?at=refs/heads/#{release.branch.replace('origin/', '')}" data-toggle="tooltip" title="View Branch")=release.branch
78+
if release.branch
79+
h4.release-data: strong Branch
80+
a(href="#{game.repository}/browse?at=refs/heads/#{release.branch.replace('origin/', '')}" data-toggle="tooltip" title="View Branch")=' '+release.branch
8081

8182
.help-block.updated
8283
span Updated

0 commit comments

Comments
 (0)