|
|
@ -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> |
|
|
|