|
5 | 5 | <td class="lines-num lines-num-old" data-line-num="{{if $line.LeftIdx}}{{$line.LeftIdx}}{{end}}">
|
6 | 6 | <div class="gt-df">
|
7 | 7 | {{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 5)}}
|
8 |
| - <button class="blob-excerpt button button-ghost gt-f1" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=split&direction=down&wiki={{$.PageIsWiki}}" data-anchor="{{$.Anchor}}"> |
| 8 | + <button class="code-expander-button gt-f1" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=split&direction=down&wiki={{$.PageIsWiki}}" data-anchor="{{$.Anchor}}"> |
9 | 9 | {{svg "octicon-fold-down"}}
|
10 | 10 | </button>
|
11 | 11 | {{end}}
|
12 | 12 | {{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 4)}}
|
13 |
| - <button class="blob-excerpt button button-ghost gt-f1" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=split&direction=up&wiki={{$.PageIsWiki}}" data-anchor="{{$.Anchor}}"> |
| 13 | + <button class="code-expander-button gt-f1" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=split&direction=up&wiki={{$.PageIsWiki}}" data-anchor="{{$.Anchor}}"> |
14 | 14 | {{svg "octicon-fold-up"}}
|
15 | 15 | </button>
|
16 | 16 | {{end}}
|
17 | 17 | {{if eq $line.GetExpandDirection 2}}
|
18 |
| - <button class="blob-excerpt button button-ghost gt-f1" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=split&direction=&wiki={{$.PageIsWiki}}" data-anchor="{{$.Anchor}}"> |
| 18 | + <button class="code-expander-button gt-f1" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=split&direction=&wiki={{$.PageIsWiki}}" data-anchor="{{$.Anchor}}"> |
19 | 19 | {{svg "octicon-fold"}}
|
20 | 20 | </button>
|
21 | 21 | {{end}}
|
|
50 | 50 | {{if eq .GetType 4}}
|
51 | 51 | <td colspan="2" class="lines-num">
|
52 | 52 | {{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 5)}}
|
53 |
| - <button class="blob-excerpt button button-ghost" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=unified&direction=down&wiki={{$.PageIsWiki}}" data-anchor="{{$.Anchor}}"> |
| 53 | + <button class="code-expander-button" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=unified&direction=down&wiki={{$.PageIsWiki}}" data-anchor="{{$.Anchor}}"> |
54 | 54 | {{svg "octicon-fold-down"}}
|
55 | 55 | </button>
|
56 | 56 | {{end}}
|
57 | 57 | {{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 4)}}
|
58 |
| - <button class="blob-excerpt button button-ghost" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=unified&direction=up&wiki={{$.PageIsWiki}}" data-anchor="{{$.Anchor}}"> |
| 58 | + <button class="code-expander-button" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=unified&direction=up&wiki={{$.PageIsWiki}}" data-anchor="{{$.Anchor}}"> |
59 | 59 | {{svg "octicon-fold-up"}}
|
60 | 60 | </button>
|
61 | 61 | {{end}}
|
62 | 62 | {{if eq $line.GetExpandDirection 2}}
|
63 |
| - <button class="blob-excerpt button button-ghost" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=unified&direction=&wiki={{$.PageIsWiki}}" data-anchor="{{$.Anchor}}"> |
| 63 | + <button class="code-expander-button" data-url="{{$.RepoLink}}/blob_excerpt/{{PathEscape $.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=unified&direction=&wiki={{$.PageIsWiki}}" data-anchor="{{$.Anchor}}"> |
64 | 64 | {{svg "octicon-fold"}}
|
65 | 65 | </button>
|
66 | 66 | {{end}}
|
|
0 commit comments