Skip to content

Commit 02cc517

Browse files
committed
(refs #12)Fix condition to display fork button
1 parent ddb9243 commit 02cc517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/twirl/gitbucket/gist/header.scala.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<a href="@path/gist/@gist.userName/@gist.repositoryName/edit" class="btn btn-small">Edit</a>
1717
<a href="@path/gist/@gist.userName/@gist.repositoryName/delete" class="btn btn-small" id="delete">Delete</a>
1818
}
19-
@if(gist.userName.isEmpty){
19+
@if(gist.originUserName.isEmpty){
2020
<div class="input-prepend" style="margin-bottom: 0px;">
2121
@if(loginAccount.isEmpty){
2222
<a title="You must be signed in to fork a repository" href="@path/signin" class="btn btn-small">Fork</a>

0 commit comments

Comments
 (0)