File tree 6 files changed +7
-7
lines changed 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 9
9
{{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 4) }}
10
10
<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>
11
11
{{end}}
12
- {{if or ( eq $line.GetExpandDirection 2) }}
12
+ {{if eq $line.GetExpandDirection 2}}
13
13
<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>
14
14
{{end}}
15
15
</td>
35
35
{{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 5) }}
36
36
<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>
37
37
{{end}}
38
- {{if or ( eq $line.GetExpandDirection 2) }}
38
+ {{if eq $line.GetExpandDirection 2}}
39
39
<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>
40
40
{{end}}
41
41
</td>
Original file line number Diff line number Diff line change 132
132
{{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 4) }}
133
133
<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="diff-{{Sha1 $file.Name}}K{{$line.SectionInfo.RightIdx}}"></i>
134
134
{{end}}
135
- {{if or ( eq $line.GetExpandDirection 2) }}
135
+ {{if eq $line.GetExpandDirection 2}}
136
136
<span class="ui blob-excerpt" data-url="{{$.RepoLink}}/blob_excerpt/{{$.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=split&direction=" data-anchor="diff-{{Sha1 $file.Name}}K{{$line.SectionInfo.RightIdx}}">{{svg "octicon-fold" 16}}</span>
137
137
{{end}}
138
138
</td>
Original file line number Diff line number Diff line change 11
11
{{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 4) }}
12
12
<i class="ui blob-excerpt fa fa-caret-up" data-url="{{$.root.RepoLink}}/blob_excerpt/{{$.root.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=unified&direction=up" data-anchor="diff-{{Sha1 $file.Name}}K{{$line.SectionInfo.RightIdx}}"></i>
13
13
{{end}}
14
- {{if or ( eq $line.GetExpandDirection 2) }}
14
+ {{if eq $line.GetExpandDirection 2}}
15
15
<span class="ui blob-excerpt" data-url="{{$.root.RepoLink}}/blob_excerpt/{{$.root.AfterCommitID}}" data-query="{{$line.GetBlobExcerptQuery}}&style=unified&direction=" data-anchor="diff-{{Sha1 $file.Name}}K{{$line.SectionInfo.RightIdx}}">{{svg "octicon-fold" 16}}</span>
16
16
{{end}}
17
17
</td>
Original file line number Diff line number Diff line change 66
66
{{ template "repo/issue/view_content/pull". }}
67
67
{{end}}
68
68
{{if .IsSigned}}
69
- {{ if and (or .IsRepoAdmin .HasIssuesOrPullsWritePermission (or ( not .Issue.IsLocked) )) (not .Repository.IsArchived) }}
69
+ {{ if and (or .IsRepoAdmin .HasIssuesOrPullsWritePermission (not .Issue.IsLocked)) (not .Repository.IsArchived) }}
70
70
<div class="timeline-item comment form">
71
71
<a class="timeline-avatar" href="{{.SignedUser.HomeLink}}">
72
72
<img src="{{.SignedUser.RelAvatarLink}}">
Original file line number Diff line number Diff line change 21
21
{{else if and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)}}
22
22
<input id="repo-clone-url" value="{{$.WikiCloneLink.SSH}}" readonly>
23
23
{{end}}
24
- {{if or (( not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH) ))}}
24
+ {{if or (not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH))}}
25
25
<button class="ui basic icon button poping up clipboard" id="clipboard-btn" data-original="{{.i18n.Tr "repo.copy_link"}}" data-success="{{.i18n.Tr "repo.copy_link_success"}}" data-error="{{.i18n.Tr "repo.copy_link_error"}}" data-content="{{.i18n.Tr "repo.copy_link"}}" data-variation="inverted tiny" data-clipboard-target="#repo-clone-url">
26
26
{{svg "octicon-clippy" 16}}
27
27
</button>
Original file line number Diff line number Diff line change 94
94
<p class="text light grey has-emoji">{{index .GetIssueInfos 1}}</p>
95
95
{{else if eq .GetOpType 11}}
96
96
<p class="text light grey has-emoji">{{index .GetIssueInfos 1}}</p>
97
- {{else if ( or (or ( eq .GetOpType 12) (eq .GetOpType 13)) (or ( eq .GetOpType 14) (eq .GetOpType 15)) )}}
97
+ {{else if or (eq .GetOpType 12) (eq .GetOpType 13) ( eq .GetOpType 14) (eq .GetOpType 15)}}
98
98
<span class="text truncate issue title has-emoji">{{.GetIssueTitle}}</span>
99
99
{{end}}
100
100
<p class="text italic light grey">{{TimeSince .GetCreate $.i18n.Lang}}</p>
You can’t perform that action at this time.
0 commit comments