diff options
Diffstat (limited to 'templates/repo/diff/blob_excerpt.tmpl')
-rw-r--r-- | templates/repo/diff/blob_excerpt.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/diff/blob_excerpt.tmpl b/templates/repo/diff/blob_excerpt.tmpl index ad5e3b1b10..cff5e6385d 100644 --- a/templates/repo/diff/blob_excerpt.tmpl +++ b/templates/repo/diff/blob_excerpt.tmpl @@ -9,7 +9,7 @@ {{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 4) }} <i class="ui blob-excerpt fa fa-caret-up" data-url="{{$.RepoLink}}/blob_excerpt/{{$.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=split&direction=up" data-anchor="{{$.Anchor}}"></i> {{end}} - {{if or (eq $line.GetExpandDirection 2)}} + {{if eq $line.GetExpandDirection 2}} <span class="ui blob-excerpt" data-url="{{$.RepoLink}}/blob_excerpt/{{$.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=split&direction=" data-anchor="{{$.Anchor}}">{{svg "octicon-fold" 16}}</span> {{end}} </td> @@ -35,7 +35,7 @@ {{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 5) }} <i class="ui blob-excerpt fa fa-caret-down" data-url="{{$.RepoLink}}/blob_excerpt/{{$.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=unified&direction=down" data-anchor="{{$.Anchor}}"></i> {{end}} - {{if or (eq $line.GetExpandDirection 2)}} + {{if eq $line.GetExpandDirection 2}} <span class="ui blob-excerpt" data-url="{{$.RepoLink}}/blob_excerpt/{{$.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=unified&direction=" data-anchor="{{$.Anchor}}">{{svg "octicon-fold" 16}}</span> {{end}} </td> |