File tree Expand file tree Collapse file tree 10 files changed +17
-17
lines changed Expand file tree Collapse file tree 10 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -826,7 +826,7 @@ func CompareDiff(ctx *context.Context) {
826
826
ctx .Data ["AllowMaintainerEdit" ] = false
827
827
}
828
828
829
- ctx .Data ["isShowFullName " ] = setting .UI .DefaultShowFullName
829
+ ctx .Data ["IsShowFullName " ] = setting .UI .DefaultShowFullName
830
830
831
831
ctx .HTML (http .StatusOK , tplCompare )
832
832
}
Original file line number Diff line number Diff line change @@ -455,7 +455,7 @@ func Issues(ctx *context.Context) {
455
455
}
456
456
457
457
ctx .Data ["CanWriteIssuesOrPulls" ] = ctx .Repo .CanWriteIssuesOrPulls (isPullList )
458
- ctx .Data ["isShowFullName " ] = setting .UI .DefaultShowFullName
458
+ ctx .Data ["IsShowFullName " ] = setting .UI .DefaultShowFullName
459
459
460
460
ctx .HTML (http .StatusOK , tplIssues )
461
461
}
@@ -907,7 +907,7 @@ func NewIssue(ctx *context.Context) {
907
907
}
908
908
909
909
ctx .Data ["HasIssuesOrPullsWritePermission" ] = ctx .Repo .CanWrite (unit .TypeIssues )
910
- ctx .Data ["isShowFullName " ] = setting .UI .DefaultShowFullName
910
+ ctx .Data ["IsShowFullName " ] = setting .UI .DefaultShowFullName
911
911
912
912
ctx .HTML (http .StatusOK , tplIssueNew )
913
913
}
@@ -1836,7 +1836,7 @@ func ViewIssue(ctx *context.Context) {
1836
1836
ctx .Data ["IsRepoAdmin" ] = ctx .IsSigned && (ctx .Repo .IsAdmin () || ctx .Doer .IsAdmin )
1837
1837
ctx .Data ["LockReasons" ] = setting .Repository .Issue .LockReasons
1838
1838
ctx .Data ["RefEndName" ] = git .RefEndName (issue .Ref )
1839
- ctx .Data ["isShowFullName " ] = setting .UI .DefaultShowFullName
1839
+ ctx .Data ["IsShowFullName " ] = setting .UI .DefaultShowFullName
1840
1840
1841
1841
var hiddenCommentTypes * big.Int
1842
1842
if ctx .IsSigned {
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ func MilestoneIssuesAndPulls(ctx *context.Context) {
294
294
ctx .Data ["CanWriteIssues" ] = ctx .Repo .CanWriteIssuesOrPulls (false )
295
295
ctx .Data ["CanWritePulls" ] = ctx .Repo .CanWriteIssuesOrPulls (true )
296
296
297
- ctx .Data ["isShowFullName " ] = setting .UI .DefaultShowFullName
297
+ ctx .Data ["IsShowFullName " ] = setting .UI .DefaultShowFullName
298
298
299
299
ctx .HTML (http .StatusOK , tplMilestoneIssues )
300
300
}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ func Tags(ctx *context.Context) {
24
24
if setTagsContext (ctx ) != nil {
25
25
return
26
26
}
27
- ctx .Data ["isShowFullName " ] = setting .UI .DefaultShowFullName
27
+ ctx .Data ["IsShowFullName " ] = setting .UI .DefaultShowFullName
28
28
29
29
ctx .HTML (http .StatusOK , tplTags )
30
30
}
Original file line number Diff line number Diff line change 134
134
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.SelectLabels}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{$.AssigneeID}}">{{.locale.Tr "repo.issues.filter_poster_no_select"}}</a>
135
135
{{range .Posters}}
136
136
<a class="{{if eq $.PosterID .ID}}active selected{{end}} item" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{$.AssigneeID}}&poster={{.ID}}">
137
- {{avatar $.Context .}} {{.Name}} {{if $.isShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
137
+ {{avatar $.Context .}} {{.Name}} {{if $.IsShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
138
138
</a>
139
139
{{end}}
140
140
</div>
154
154
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.SelectLabels}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&poster={{$.PosterID}}">{{.locale.Tr "repo.issues.filter_assginee_no_select"}}</a>
155
155
{{range .Assignees}}
156
156
<a class="{{if eq $.AssigneeID .ID}}active selected{{end}} item" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{$.MilestoneID}}&project={{$.ProjectID}}&assignee={{.ID}}&poster={{$.PosterID}}">
157
- {{avatar $.Context .}} {{.Name}} {{if $.isShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
157
+ {{avatar $.Context .}} {{.Name}} {{if $.IsShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
158
158
</a>
159
159
{{end}}
160
160
</div>
Original file line number Diff line number Diff line change 77
77
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.SelectLabels}}&assignee={{$.AssigneeID}}">{{.locale.Tr "repo.issues.filter_poster_no_select"}}</a>
78
78
{{range .Posters}}
79
79
<a class="{{if eq $.PosterID .ID}}active selected{{end}} item" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&assignee={{$.AssigneeID}}&poster={{.ID}}">
80
- {{avatar $.Context .}} {{.Name}} {{if $.isShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
80
+ {{avatar $.Context .}} {{.Name}} {{if $.IsShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
81
81
</a>
82
82
{{end}}
83
83
</div>
99
99
<a class="{{if eq $.AssigneeID .ID}}active selected{{end}} item" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&assignee={{.ID}}&poster={{$.PosterID}}">
100
100
{{avatar $.Context . 28 "gt-mr-2"}}
101
101
{{.Name}}
102
- {{if $.isShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
102
+ {{if $.IsShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
103
103
</a>
104
104
{{end}}
105
105
</div>
Original file line number Diff line number Diff line change 186
186
<a class="item muted" href="#" data-id="{{.ID}}" data-id-selector="#assignee_{{.ID}}">
187
187
<span class="octicon-check invisible">{{svg "octicon-check"}}</span>
188
188
<span class="text">
189
- {{avatar $.Context . 28 "gt-mr-3"}}{{.Name}} {{if $.isShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
189
+ {{avatar $.Context . 28 "gt-mr-3"}}{{.Name}} {{if $.IsShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
190
190
</span>
191
191
</a>
192
192
{{end}}
Original file line number Diff line number Diff line change 29
29
{{avatar $.Context .User 28 "gt-mr-3"}}
30
30
{{.User.Name}}
31
31
</span>
32
- {{if $.isShowFullName }}<span class="text" style="color: var(--color-text-light-2);">{{.User.FullName}}</span>{{end}}
32
+ {{if $.IsShowFullName }}<span class="text" style="color: var(--color-text-light-2);">{{.User.FullName}}</span>{{end}}
33
33
</a>
34
34
{{end}}
35
35
{{end}}
262
262
{{avatar $.Context . 28 "gt-mr-3"}}
263
263
{{.Name}}
264
264
</span>
265
- {{if $.isShowFullName }}<span class="text" style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
265
+ {{if $.IsShowFullName }}<span class="text" style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
266
266
</a>
267
267
{{end}}
268
268
</div>
Original file line number Diff line number Diff line change 50
50
{{range .Users}}
51
51
<div class="item" data-value="{{.ID}}">
52
52
{{avatar $.Context . 28 "mini"}}
53
- {{.Name}} {{if $.isShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
53
+ {{.Name}} {{if $.IsShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
54
54
</div>
55
55
{{end}}
56
56
</div>
102
102
{{range .Users}}
103
103
<div class="item" data-value="{{.ID}}">
104
104
{{avatar $.Context . 28 "mini"}}
105
- {{.Name}} {{if $.isShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
105
+ {{.Name}} {{if $.IsShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
106
106
</div>
107
107
{{end}}
108
108
</div>
182
182
{{range .Users}}
183
183
<div class="item" data-value="{{.ID}}">
184
184
{{avatar $.Context . 28 "mini"}}
185
- {{.Name}} {{if $.isShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
185
+ {{.Name}} {{if $.IsShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
186
186
</div>
187
187
{{end}}
188
188
</div>
Original file line number Diff line number Diff line change 37
37
{{range .Users}}
38
38
<div class="item" data-value="{{.ID}}">
39
39
{{avatar $.Context . 28 "mini"}}
40
- {{.Name}} {{if $.isShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
40
+ {{.Name}} {{if $.IsShowFullName }}<span style="color: var(--color-text-light-2);">{{.FullName}}</span>{{end}}
41
41
</div>
42
42
{{end}}
43
43
</div>
You can’t perform that action at this time.
0 commit comments