|
4 | 4 | {{if eq .GetType 4}}
|
5 | 5 | <td class="lines-num lines-num-old" data-line-num="{{if $line.LeftIdx}}{{$line.LeftIdx}}{{end}}">
|
6 | 6 | {{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 5) }}
|
7 |
| - <a role="button" class="blob-excerpt" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=split&direction=down" data-anchor="{{$.Anchor}}"> |
| 7 | + <a role="button" class="blob-excerpt" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=split&direction=down&wiki={{$.PageIsUncyclo}}" data-anchor="{{$.Anchor}}"> |
8 | 8 | {{svg "octicon-fold-down"}}
|
9 | 9 | </a>
|
10 | 10 | {{end}}
|
11 | 11 | {{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 4) }}
|
12 |
| - <a role="button" class="blob-excerpt" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=split&direction=up" data-anchor="{{$.Anchor}}"> |
| 12 | + <a role="button" class="blob-excerpt" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=split&direction=up&wiki={{$.PageIsUncyclo}}" data-anchor="{{$.Anchor}}"> |
13 | 13 | {{svg "octicon-fold-up"}}
|
14 | 14 | </a>
|
15 | 15 | {{end}}
|
16 | 16 | {{if eq $line.GetExpandDirection 2}}
|
17 |
| - <a role="button" class="blob-excerpt" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=split&direction=" data-anchor="{{$.Anchor}}"> |
| 17 | + <a role="button" class="blob-excerpt" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=split&direction=&wiki={{$.PageIsUncyclo}}" data-anchor="{{$.Anchor}}"> |
18 | 18 | {{svg "octicon-fold"}}
|
19 | 19 | </a>
|
20 | 20 | {{end}}
|
|
43 | 43 | {{if eq .GetType 4}}
|
44 | 44 | <td colspan="2" class="lines-num">
|
45 | 45 | {{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 5) }}
|
46 |
| - <a role="button" class="blob-excerpt" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=unified&direction=down" data-anchor="{{$.Anchor}}"> |
| 46 | + <a role="button" class="blob-excerpt" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=unified&direction=down&wiki={{$.PageIsUncyclo}}" data-anchor="{{$.Anchor}}"> |
47 | 47 | {{svg "octicon-fold-down"}}
|
48 | 48 | </a>
|
49 | 49 | {{end}}
|
50 | 50 | {{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 4) }}
|
51 |
| - <a role="button" class="blob-excerpt" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=unified&direction=up" data-anchor="{{$.Anchor}}"> |
| 51 | + <a role="button" class="blob-excerpt" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=unified&direction=up&wiki={{$.PageIsUncyclo}}" data-anchor="{{$.Anchor}}"> |
52 | 52 | {{svg "octicon-fold-up"}}
|
53 | 53 | </a>
|
54 | 54 | {{end}}
|
55 | 55 | {{if eq $line.GetExpandDirection 2}}
|
56 |
| - <a role="button" class="blob-excerpt" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=unified&direction=" data-anchor="{{$.Anchor}}"> |
| 56 | + <a role="button" class="blob-excerpt" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=unified&direction=&wiki={{$.PageIsUncyclo}}" data-anchor="{{$.Anchor}}"> |
57 | 57 | {{svg "octicon-fold"}}
|
58 | 58 | </a>
|
59 | 59 | {{end}}
|
|
0 commit comments