Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f171dd0

Browse files
committedAug 18, 2022
Add whitespace removal around inside template curly brackes
1 parent 3d12018 commit f171dd0

30 files changed

+109
-102
lines changed
 

‎Makefile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,9 @@ clean:
242242

243243
.PHONY: fmt
244244
fmt:
245-
@echo "Running gitea-fmt (with gofumpt)..."
246245
@MISSPELL_PACKAGE=$(MISSPELL_PACKAGE) GOFUMPT_PACKAGE=$(GOFUMPT_PACKAGE) $(GO) run build/code-batch-process.go gitea-fmt -w '{file-list}'
246+
$(eval TEMPLATES := $(wildcard templates/**/*.tmpl))
247+
@$(SED_INPLACE) -e 's/{{[ ]\{1,\}/{{/g' -e '/^[ ]\{1,\}}}/! s/[ ]\{1,\}}}/}}/g' $(TEMPLATES)
247248

248249
.PHONY: vet
249250
vet:
@@ -288,13 +289,19 @@ errcheck:
288289

289290
.PHONY: fmt-check
290291
fmt-check:
291-
# get all go files and run gitea-fmt (with gofmt) on them
292+
@# get all go files and run gitea-fmt (with gofmt) on them
292293
@diff=$$(MISSPELL_PACKAGE=$(MISSPELL_PACKAGE) GOFUMPT_PACKAGE=$(GOFUMPT_PACKAGE) $(GO) run build/code-batch-process.go gitea-fmt -l '{file-list}'); \
293294
if [ -n "$$diff" ]; then \
294295
echo "Please run 'make fmt' and commit the result:"; \
295296
echo "$${diff}"; \
296297
exit 1; \
297298
fi
299+
@diff2=$$(git diff templates); \
300+
if [ -n "$$diff2" ]; then \
301+
echo "Please run 'make fmt' and commit the result:"; \
302+
echo "$${diff2}"; \
303+
exit 1; \
304+
fi
298305

299306
.PHONY: checks
300307
checks: checks-frontend checks-backend

‎templates/admin/config.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<dt>{{.locale.Tr "admin.config.reverse_auth_user"}}</dt>
5151
<dd>{{.ReverseProxyAuthUser}}</dd>
5252

53-
{{if .EnvVars }}
53+
{{if .EnvVars}}
5454
<div class="ui divider"></div>
5555
{{range .EnvVars}}
5656
<dt>{{.Name}}</dt>

‎templates/admin/cron.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
<td>{{$.locale.Tr (printf "admin.dashboard.%s" .Name)}}</td>
2323
<td>{{.Spec}}</td>
2424
<td>{{DateFmtLong .Next}}</td>
25-
<td>{{if gt .Prev.Year 1 }}{{DateFmtLong .Prev}}{{else}}N/A{{end}}</td>
25+
<td>{{if gt .Prev.Year 1}}{{DateFmtLong .Prev}}{{else}}N/A{{end}}</td>
2626
<td>{{.ExecTimes}}</td>
27-
<td {{if ne .Status ""}}class="tooltip" data-content="{{.FormatLastMessage $.locale}}"{{end}} >{{if eq .Status "" }}—{{else if eq .Status "finished"}}{{svg "octicon-check" 16}}{{else}}{{svg "octicon-x" 16}}{{end}}</td>
27+
<td {{if ne .Status ""}}class="tooltip" data-content="{{.FormatLastMessage $.locale}}"{{end}} >{{if eq .Status ""}}—{{else if eq .Status "finished"}}{{svg "octicon-check" 16}}{{else}}{{svg "octicon-x" 16}}{{end}}</td>
2828
</tr>
2929
{{end}}
3030
</tbody>

‎templates/admin/notice.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</tr>
3535
{{end}}
3636
</tbody>
37-
{{ if .Notices }}
37+
{{if .Notices}}
3838
<tfoot class="full-width">
3939
<tr>
4040
<th></th>
@@ -65,11 +65,11 @@
6565
</th>
6666
</tr>
6767
</tfoot>
68-
{{ end }}
68+
{{end}}
6969
</table>
7070
</div>
7171

72-
{{ template "base/paginate" . }}
72+
{{template "base/paginate" .}}
7373
</div>
7474
</div>
7575

‎templates/admin/process-row.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="item">
22
<div class="df ac">
3-
<div class="icon ml-3 mr-3">{{if eq .Process.Type "request"}}{{svg "octicon-globe" 16 }}{{else if eq .Process.Type "system"}}{{svg "octicon-cpu" 16 }}{{else}}{{svg "octicon-terminal" 16 }}{{end}}</div>
3+
<div class="icon ml-3 mr-3">{{if eq .Process.Type "request"}}{{svg "octicon-globe" 16}}{{else if eq .Process.Type "system"}}{{svg "octicon-cpu" 16}}{{else}}{{svg "octicon-terminal" 16}}{{end}}</div>
44
<div class="content f1">
55
<div class="header">{{.Process.Description}}</div>
66
<div class="description"><span title="{{DateFmtLong .Process.Start}}">{{TimeSince .Process.Start .root.locale}}</span></div>

‎templates/admin/queue.tmpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
</tbody>
3131
</table>
3232
</div>
33-
{{if lt $sum 0 }}
33+
{{if lt $sum 0}}
3434
<h4 class="ui top attached header">
3535
{{.locale.Tr "admin.monitor.queue.nopool.title"}}
3636
</h4>
3737
<div class="ui attached segment">
38-
{{if eq .Queue.Type "wrapped" }}
38+
{{if eq .Queue.Type "wrapped"}}
3939
<p>{{.locale.Tr "admin.monitor.queue.wrapped.desc"}}</p>
4040
{{else if eq .Queue.Type "persistable-channel"}}
4141
<p>{{.locale.Tr "admin.monitor.queue.persistable-channel.desc"}}</p>
@@ -58,7 +58,7 @@
5858
</div>
5959
<div class="inline field">
6060
<label for="timeout">{{.locale.Tr "admin.monitor.queue.settings.timeout"}}</label>
61-
<input name="timeout" type="text" placeholder="{{.locale.Tr "admin.monitor.queue.settings.timeout.placeholder" .Queue.BoostTimeout }}">
61+
<input name="timeout" type="text" placeholder="{{.locale.Tr "admin.monitor.queue.settings.timeout.placeholder" .Queue.BoostTimeout}}">
6262
</div>
6363
<div class="inline field">
6464
<label for="number">{{.locale.Tr "admin.monitor.queue.settings.numberworkers"}}</label>
@@ -166,7 +166,7 @@
166166
</tr>
167167
{{else}}
168168
<tr>
169-
<td colspan="4">{{.locale.Tr "admin.monitor.queue.pool.workers.none" }}
169+
<td colspan="4">{{.locale.Tr "admin.monitor.queue.pool.workers.none"}}
170170
</tr>
171171
{{end}}
172172
</tbody>

‎templates/admin/stacktrace-row.tmpl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
<div class="df ac">
33
<div class="icon ml-3 mr-3">
44
{{if eq .Process.Type "request"}}
5-
{{svg "octicon-globe" 16 }}
5+
{{svg "octicon-globe" 16}}
66
{{else if eq .Process.Type "system"}}
7-
{{svg "octicon-cpu" 16 }}
7+
{{svg "octicon-cpu" 16}}
88
{{else if eq .Process.Type "normal"}}
9-
{{svg "octicon-terminal" 16 }}
9+
{{svg "octicon-terminal" 16}}
1010
{{else}}
11-
{{svg "octicon-code" 16 }}
11+
{{svg "octicon-code" 16}}
1212
{{end}}
1313
</div>
1414
<div class="content f1">
1515
<div class="header">{{.Process.Description}}</div>
1616
<div class="description">{{if ne .Process.Type "none"}}<span title="{{DateFmtLong .Process.Start}}">{{TimeSince .Process.Start .root.locale}}</span>{{end}}</div>
1717
</div>
1818
<div>
19-
{{if or (eq .Process.Type "request") (eq .Process.Type "normal") }}
19+
{{if or (eq .Process.Type "request") (eq .Process.Type "normal")}}
2020
<a class="delete-button icon" href="" data-url="{{.root.Link}}/cancel/{{.Process.PID}}" data-id="{{.Process.PID}}" data-name="{{.Process.Description}}">{{svg "octicon-trash" 16 "text-red"}}</a>
2121
{{end}}
2222
</div>
@@ -29,7 +29,7 @@
2929
<summary>
3030
<div class="dif content">
3131
<div class="header ml-3">
32-
<span class="icon mr-3">{{svg "octicon-code" 16 }}</span>{{.Description}}{{if gt .Count 1}} * {{.Count}}{{end}}
32+
<span class="icon mr-3">{{svg "octicon-code" 16}}</span>{{.Description}}{{if gt .Count 1}} * {{.Count}}{{end}}
3333
</div>
3434
<div class="description">
3535
{{range .Labels}}
@@ -41,7 +41,7 @@
4141
<div class="list">
4242
{{range .Entry}}
4343
<div class="item df ac">
44-
<span class="icon mr-4">{{svg "octicon-dot-fill" 16 }}</span>
44+
<span class="icon mr-4">{{svg "octicon-dot-fill" 16}}</span>
4545
<div class="content f1">
4646
<div class="header"><code>{{.Function}}</code></div>
4747
<div class="description"><code>{{.File}}:{{.Line}}</code></div>

‎templates/base/footer.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- Third-party libraries -->
1717
{{if .EnableCaptcha}}
1818
{{if eq .CaptchaType "recaptcha"}}
19-
<script src='{{ URLJoin .RecaptchaURL "api.js"}}' async></script>
19+
<script src='{{URLJoin .RecaptchaURL "api.js"}}' async></script>
2020
{{end}}
2121
{{if eq .CaptchaType "hcaptcha"}}
2222
<script src='https://hcaptcha.com/1/api.js' async></script>

‎templates/base/head.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565
<meta property="og:description" content="{{MetaDescription}}">
6666
{{end}}
6767
<meta property="og:site_name" content="{{AppName}}">
68-
{{if .IsSigned }}
69-
{{ if ne .SignedUser.Theme "gitea" }}
68+
{{if .IsSigned}}
69+
{{if ne .SignedUser.Theme "gitea"}}
7070
<link rel="stylesheet" href="{{AssetUrlPrefix}}/css/theme-{{.SignedUser.Theme | PathEscape}}.css?v={{MD5 AppVer}}">
7171
{{end}}
7272
{{else if ne DefaultTheme "gitea"}}

‎templates/base/head_script.tmpl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ If you introduce mistakes in it, Gitea JavaScript code wouldn't run correctly.
2020
enableTimeTracking: {{EnableTimetracking}},
2121
{{if .RequireTribute}}
2222
tributeValues: Array.from(new Map([
23-
{{ range .Participants }}
23+
{{range .Participants}}
2424
['{{.Name}}', {key: '{{.Name}} {{.FullName}}', value: '{{.Name}}',
2525
name: '{{.Name}}', fullname: '{{.FullName}}', avatar: '{{.AvatarLink}}'}],
26-
{{ end }}
27-
{{ range .Assignees }}
26+
{{end}}
27+
{{range .Assignees}}
2828
['{{.Name}}', {key: '{{.Name}} {{.FullName}}', value: '{{.Name}}',
2929
name: '{{.Name}}', fullname: '{{.FullName}}', avatar: '{{.AvatarLink}}'}],
30-
{{ end }}
31-
{{ range .MentionableTeams }}
30+
{{end}}
31+
{{range .MentionableTeams}}
3232
['{{$.MentionableTeamsOrg}}/{{.Name}}', {key: '{{$.MentionableTeamsOrg}}/{{.Name}}', value: '{{$.MentionableTeamsOrg}}/{{.Name}}',
3333
name: '{{$.MentionableTeamsOrg}}/{{.Name}}', avatar: '{{$.MentionableTeamsOrgAvatar}}'}],
34-
{{ end }}
34+
{{end}}
3535
]).values()),
3636
{{end}}
3737
mermaidMaxSourceCharacters: {{MermaidMaxSourceCharacters}},

‎templates/explore/code.tmpl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@
44
<div class="ui container">
55
<form class="ui form ignore-dirty" style="max-width: 100%">
66
<div class="ui fluid action input">
7-
<input name="q" value="{{.Keyword}}"{{if .CodeIndexerUnavailable }} disabled{{end}} placeholder="{{.locale.Tr "explore.search"}}..." autofocus>
8-
<div class="ui dropdown selection{{if .CodeIndexerUnavailable }} disabled{{end}}">
9-
<input name="t" type="hidden" value="{{.queryType}}"{{if .CodeIndexerUnavailable }} disabled{{end}}>{{svg "octicon-triangle-down" 14 "dropdown icon"}}
7+
<input name="q" value="{{.Keyword}}"{{if .CodeIndexerUnavailable}} disabled{{end}} placeholder="{{.locale.Tr "explore.search"}}..." autofocus>
8+
<div class="ui dropdown selection{{if .CodeIndexerUnavailable}} disabled{{end}}">
9+
<input name="t" type="hidden" value="{{.queryType}}"{{if .CodeIndexerUnavailable}} disabled{{end}}>{{svg "octicon-triangle-down" 14 "dropdown icon"}}
1010
<div class="text">{{.locale.Tr (printf "explore.search.%s" (or .queryType "fuzzy"))}}</div>
1111
<div class="menu transition hidden" tabindex="-1" style="display: block !important;">
1212
<div class="item" data-value="">{{.locale.Tr "explore.search.fuzzy"}}</div>
1313
<div class="item" data-value="match">{{.locale.Tr "explore.search.match"}}</div>
1414
</div>
1515
</div>
16-
<button class="ui primary button"{{if .CodeIndexerUnavailable }} disabled{{end}}>{{.locale.Tr "explore.search"}}</button>
16+
<button class="ui primary button"{{if .CodeIndexerUnavailable}} disabled{{end}}>{{.locale.Tr "explore.search"}}</button>
1717
</div>
1818
</form>
1919
<div class="ui divider"></div>
2020
<div class="ui user list">
21-
{{if .CodeIndexerUnavailable }}
21+
{{if .CodeIndexerUnavailable}}
2222
<div class="ui error message">
2323
<p>{{$.locale.Tr "explore.code_search_unavailable"}}</p>
2424
</div>
2525
{{else if .SearchResults}}
2626
<h3>
27-
{{.locale.Tr "explore.code_search_results" (.Keyword|Escape) | Str2html }}
27+
{{.locale.Tr "explore.code_search_results" (.Keyword|Escape) | Str2html}}
2828
</h3>
2929
<div class="df ac fw">
3030
{{range $term := .SearchResultLanguages}}

‎templates/explore/repo_list.tmpl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{{$avatar}}
99
{{end}}
1010
<a class="name" href="{{.Link}}">
11-
{{if or $.PageIsExplore $.PageIsProfileStarList }}{{if .Owner}}{{.Owner.Name}} / {{end}}{{end}}{{.Name}}
11+
{{if or $.PageIsExplore $.PageIsProfileStarList}}{{if .Owner}}{{.Owner.Name}} / {{end}}{{end}}{{.Name}}
1212
</a>
1313
<div class="labels df ac fw">
1414
{{if .IsArchived}}
@@ -39,9 +39,9 @@
3939
</div>
4040
</div>
4141
<div class="metas df ac">
42-
{{if .PrimaryLanguage }}
42+
{{if .PrimaryLanguage}}
4343
<a href="{{$.Link}}?q={{$.Keyword}}&sort={{$.SortType}}&language={{.PrimaryLanguage.Language}}">
44-
<span class="text grey df ac mr-3"><i class="color-icon mr-3" style="background-color: {{.PrimaryLanguage.Color}}"></i>{{ .PrimaryLanguage.Language }}</span>
44+
<span class="text grey df ac mr-3"><i class="color-icon mr-3" style="background-color: {{.PrimaryLanguage.Color}}"></i>{{.PrimaryLanguage.Language}}</span>
4545
</a>
4646
{{end}}
4747
{{if not $.DisableStars}}
@@ -51,12 +51,12 @@
5151
</div>
5252
</div>
5353
<div class="description">
54-
{{ $description := .DescriptionHTML $.Context}}
54+
{{$description := .DescriptionHTML $.Context}}
5555
{{if $description}}<p>{{$description}}</p>{{end}}
56-
{{if .Topics }}
56+
{{if .Topics}}
5757
<div class="ui tags">
5858
{{range .Topics}}
59-
{{if ne . "" }}<a href="{{AppSubUrl}}/explore/repos?q={{.}}&topic=1"><div class="ui small label topic">{{.}}</div></a>{{end}}
59+
{{if ne . ""}}<a href="{{AppSubUrl}}/explore/repos?q={{.}}&topic=1"><div class="ui small label topic">{{.}}</div></a>{{end}}
6060
{{end}}
6161
</div>
6262
{{end}}

‎templates/mail/release.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
</head>
1313

14-
{{$release_url := printf "<a href='%s'>%s</a>" (.Release.HTMLURL | Escape) (.Release.TagName | Escape) }}
14+
{{$release_url := printf "<a href='%s'>%s</a>" (.Release.HTMLURL | Escape) (.Release.TagName | Escape)}}
1515
{{$repo_url := printf "<a href='%s'>%s</a>" (.Release.Repo.HTMLURL | Escape) (.Release.Repo.FullName | Escape)}}
1616
<body>
1717
<p>

‎templates/repo/activity.tmpl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<a class="table-cell tiny background light grey"></a>
4242
</div>
4343
{{end}}
44-
{{.locale.TrN .Activity.ActivePRCount "repo.activity.active_prs_count_1" "repo.activity.active_prs_count_n" .Activity.ActivePRCount | Safe }}
44+
{{.locale.TrN .Activity.ActivePRCount "repo.activity.active_prs_count_1" "repo.activity.active_prs_count_n" .Activity.ActivePRCount | Safe}}
4545
</div>
4646
{{end}}
4747
{{if .Permission.CanRead $.UnitTypeIssues}}
@@ -56,7 +56,7 @@
5656
<a class="table-cell tiny background light grey"></a>
5757
</div>
5858
{{end}}
59-
{{.locale.TrN .Activity.ActiveIssueCount "repo.activity.active_issues_count_1" "repo.activity.active_issues_count_n" .Activity.ActiveIssueCount | Safe }}
59+
{{.locale.TrN .Activity.ActiveIssueCount "repo.activity.active_issues_count_1" "repo.activity.active_issues_count_n" .Activity.ActiveIssueCount | Safe}}
6060
</div>
6161
{{end}}
6262
</div>
@@ -87,25 +87,25 @@
8787
{{if .Permission.CanRead $.UnitTypeCode}}
8888
{{if eq .Activity.Code.CommitCountInAllBranches 0}}
8989
<div class="ui center aligned segment">
90-
<h4 class="ui header">{{.locale.Tr "repo.activity.no_git_activity" }}</h4>
90+
<h4 class="ui header">{{.locale.Tr "repo.activity.no_git_activity"}}</h4>
9191
</div>
9292
{{end}}
9393
{{if gt .Activity.Code.CommitCountInAllBranches 0}}
9494
<div class="ui attached segment horizontal segments">
9595
<div class="ui attached segment text">
96-
{{.locale.Tr "repo.activity.git_stats_exclude_merges" }}
96+
{{.locale.Tr "repo.activity.git_stats_exclude_merges"}}
9797
<strong>{{.locale.TrN .Activity.Code.AuthorCount "repo.activity.git_stats_author_1" "repo.activity.git_stats_author_n" .Activity.Code.AuthorCount}}</strong>
9898
{{.locale.TrN .Activity.Code.AuthorCount "repo.activity.git_stats_pushed_1" "repo.activity.git_stats_pushed_n"}}
9999
<strong>{{.locale.TrN .Activity.Code.CommitCount "repo.activity.git_stats_commit_1" "repo.activity.git_stats_commit_n" .Activity.Code.CommitCount}}</strong>
100-
{{.locale.Tr "repo.activity.git_stats_push_to_branch" .Repository.DefaultBranch }}
100+
{{.locale.Tr "repo.activity.git_stats_push_to_branch" .Repository.DefaultBranch}}
101101
<strong>{{.locale.TrN .Activity.Code.CommitCountInAllBranches "repo.activity.git_stats_commit_1" "repo.activity.git_stats_commit_n" .Activity.Code.CommitCountInAllBranches}}</strong>
102-
{{.locale.Tr "repo.activity.git_stats_push_to_all_branches" }}
103-
{{.locale.Tr "repo.activity.git_stats_on_default_branch" .Repository.DefaultBranch }}
102+
{{.locale.Tr "repo.activity.git_stats_push_to_all_branches"}}
103+
{{.locale.Tr "repo.activity.git_stats_on_default_branch" .Repository.DefaultBranch}}
104104
<strong>{{.locale.TrN .Activity.Code.ChangedFiles "repo.activity.git_stats_file_1" "repo.activity.git_stats_file_n" .Activity.Code.ChangedFiles}}</strong>
105105
{{.locale.TrN .Activity.Code.ChangedFiles "repo.activity.git_stats_files_changed_1" "repo.activity.git_stats_files_changed_n"}}
106-
{{.locale.Tr "repo.activity.git_stats_additions" }}
106+
{{.locale.Tr "repo.activity.git_stats_additions"}}
107107
<strong class="text green">{{.locale.TrN .Activity.Code.Additions "repo.activity.git_stats_addition_1" "repo.activity.git_stats_addition_n" .Activity.Code.Additions}}</strong>
108-
{{.locale.Tr "repo.activity.git_stats_and_deletions" }}
108+
{{.locale.Tr "repo.activity.git_stats_and_deletions"}}
109109
<strong class="text red">{{.locale.TrN .Activity.Code.Deletions "repo.activity.git_stats_deletion_1" "repo.activity.git_stats_deletion_n" .Activity.Code.Deletions}}</strong>.
110110
</div>
111111
<div class="ui attached segment">

‎templates/repo/commit_page.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
{{.CsrfTokenHtml}}
8888
<div class="field">
8989
<label>
90-
{{.locale.Tr "repo.branch.new_branch_from" "<span class=\"text\" id=\"modal-create-branch-from-span\"></span>" | Safe }}
90+
{{.locale.Tr "repo.branch.new_branch_from" "<span class=\"text\" id=\"modal-create-branch-from-span\"></span>" | Safe}}
9191
</label>
9292
</div>
9393
<div class="required field">
@@ -112,7 +112,7 @@
112112
<input type="hidden" name="create_tag" value="true">
113113
<div class="field">
114114
<label>
115-
{{.locale.Tr "repo.tag.create_tag_from" "<span class=\"text\" id=\"modal-create-tag-from-span\"></span>" | Safe }}
115+
{{.locale.Tr "repo.tag.create_tag_from" "<span class=\"text\" id=\"modal-create-tag-from-span\"></span>" | Safe}}
116116
</label>
117117
</div>
118118
<div class="required field">

‎templates/repo/commits_list.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
<span class="message-wrapper">
6363
{{if $.PageIsWiki}}
6464
<span class="commit-summary {{if gt .ParentCount 1}} grey text{{end}}" title="{{.Summary}}">{{.Summary | RenderEmoji}}</span>
65-
{{else }}
66-
{{ $commitLink:= printf "%s/commit/%s" $commitRepoLink (PathEscape .ID.String) }}
65+
{{else}}
66+
{{$commitLink:= printf "%s/commit/%s" $commitRepoLink (PathEscape .ID.String)}}
6767
<span class="commit-summary {{if gt .ParentCount 1}} grey text{{end}}" title="{{.Summary}}">{{RenderCommitMessageLinkSubject $.Context .Message $commitRepoLink $commitLink $.Repository.ComposeMetas}}</span>
6868
{{end}}
6969
</span>

‎templates/repo/commits_list_small.tmpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
{{ $index := 0}}
1+
{{$index := 0}}
22
<div class="timeline-item commits-list">
33
{{range .comment.Commits}}
4-
{{ $tag := printf "%s-%d" $.comment.HashTag $index }}
5-
{{ $index = Add $index 1}}
4+
{{$tag := printf "%s-%d" $.comment.HashTag $index}}
5+
{{$index = Add $index 1}}
66
<div class="singular-commit" id="{{$tag}}">
77
<span class="badge badge-commit">{{svg "octicon-git-commit"}}</span>
88
{{if .User}}
@@ -46,7 +46,7 @@
4646
{{end}}
4747
</span>
4848

49-
{{ $commitLink:= printf "%s/commit/%s" $.comment.Issue.PullRequest.BaseRepo.Link (PathEscape .ID.String) }}
49+
{{$commitLink:= printf "%s/commit/%s" $.comment.Issue.PullRequest.BaseRepo.Link (PathEscape .ID.String)}}
5050
<span class="mono commit-summary {{if gt .ParentCount 1}} grey text{{end}}" title="{{.Summary}}">{{RenderCommitMessageLinkSubject $.root.Context .Message ($.comment.Issue.PullRequest.BaseRepo.Link|Escape) $commitLink $.comment.Issue.PullRequest.BaseRepo.ComposeMetas}}</span>
5151
{{if IsMultilineCommitMessage .Message}}
5252
<button class="ui button ellipsis-button" aria-expanded="false">...</button>

‎templates/repo/commits_table.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{if or .PageIsCommits (gt .CommitCount 0)}}
44
{{.CommitCount}} {{.locale.Tr "repo.commits.commits"}} {{if .RefName}}({{.RefName}}){{end}}
55
{{else if .IsNothingToCompare}}
6-
{{.locale.Tr "repo.commits.nothing_to_compare" }} {{if .RefName}}({{.RefName}}){{end}}
6+
{{.locale.Tr "repo.commits.nothing_to_compare"}} {{if .RefName}}({{.RefName}}){{end}}
77
{{else}}
88
{{.locale.Tr "repo.commits.no_commits" $.BaseBranch $.HeadBranch}} {{if .RefName}}({{.RefName}}){{end}}
99
{{end}}

‎templates/repo/forks.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
</div>
2020
</div>
2121

22-
{{ template "base/paginate" . }}
22+
{{template "base/paginate" .}}
2323
</div>
2424
{{template "base/footer" .}}

‎templates/repo/graph.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
</h2>
5353
<div class="ui dividing"></div>
5454
<div class="ui segment loading hide" id="loading-indicator"></div>
55-
{{ template "repo/graph/svgcontainer" .}}
56-
{{ template "repo/graph/commits" .}}
55+
{{template "repo/graph/svgcontainer" .}}
56+
{{template "repo/graph/commits" .}}
5757
</div>
5858
</div>
5959
</div>

‎templates/repo/header.tmpl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
{{end}}
6767
<form method="post" action="{{$.RepoLink}}/action/{{if $.IsWatchingRepo}}un{{end}}watch?redirect_to={{$.Link}}">
6868
{{$.CsrfTokenHtml}}
69-
<div class="ui labeled button{{if not $.IsSigned}} tooltip{{end}}" tabindex="0"{{if not $.IsSigned}} data-content="{{$.locale.Tr "repo.watch_guest_user" }}" data-position="top center"{{end}}>
69+
<div class="ui labeled button{{if not $.IsSigned}} tooltip{{end}}" tabindex="0"{{if not $.IsSigned}} data-content="{{$.locale.Tr "repo.watch_guest_user"}}" data-position="top center"{{end}}>
7070
<button type="submit" class="ui compact small basic button"{{if not $.IsSigned}} disabled{{end}}>
7171
{{if $.IsWatchingRepo}}{{svg "octicon-eye-closed" 16}}{{$.locale.Tr "repo.unwatch"}}{{else}}{{svg "octicon-eye"}}{{$.locale.Tr "repo.watch"}}{{end}}
7272
</button>
@@ -78,7 +78,7 @@
7878
{{if not $.DisableStars}}
7979
<form method="post" action="{{$.RepoLink}}/action/{{if $.IsStaringRepo}}un{{end}}star?redirect_to={{$.Link}}">
8080
{{$.CsrfTokenHtml}}
81-
<div class="ui labeled button{{if not $.IsSigned}} tooltip{{end}}" tabindex="0"{{if not $.IsSigned}} data-content="{{$.locale.Tr "repo.star_guest_user" }}" data-position="top center"{{end}}>
81+
<div class="ui labeled button{{if not $.IsSigned}} tooltip{{end}}" tabindex="0"{{if not $.IsSigned}} data-content="{{$.locale.Tr "repo.star_guest_user"}}" data-position="top center"{{end}}>
8282
<button type="submit" class="ui compact small basic button"{{if not $.IsSigned}} disabled{{end}}>
8383
{{if $.IsStaringRepo}}{{svg "octicon-star-fill"}}{{$.locale.Tr "repo.unstar"}}{{else}}{{svg "octicon-star"}}{{$.locale.Tr "repo.star"}}{{end}}
8484
</button>
@@ -182,21 +182,21 @@
182182
{{end}}
183183

184184
{{if .Permission.CanRead $.UnitTypePackages}}
185-
<a href="{{.RepoLink}}/packages" class="{{ if .IsPackagesPage }}active{{end}} item">
185+
<a href="{{.RepoLink}}/packages" class="{{if .IsPackagesPage}}active{{end}} item">
186186
{{svg "octicon-package"}} {{.locale.Tr "packages.title"}}
187187
</a>
188188
{{end}}
189189

190-
{{ if and (not .UnitProjectsGlobalDisabled) (.Permission.CanRead $.UnitTypeProjects)}}
191-
<a href="{{.RepoLink}}/projects" class="{{ if .IsProjectsPage }}active{{end}} item">
190+
{{if and (not .UnitProjectsGlobalDisabled) (.Permission.CanRead $.UnitTypeProjects)}}
191+
<a href="{{.RepoLink}}/projects" class="{{if .IsProjectsPage}}active{{end}} item">
192192
{{svg "octicon-project"}} {{.locale.Tr "repo.project_board"}}
193193
{{if .Repository.NumOpenProjects}}
194194
<span class="ui primary small label">{{CountFmt .Repository.NumOpenProjects}}</span>
195195
{{end}}
196196
</a>
197-
{{ end }}
197+
{{end}}
198198

199-
{{if and (.Permission.CanRead $.UnitTypeReleases) (not .IsEmptyRepo) }}
199+
{{if and (.Permission.CanRead $.UnitTypeReleases) (not .IsEmptyRepo)}}
200200
<a class="{{if .PageIsReleaseList}}active{{end}} item" href="{{.RepoLink}}/releases">
201201
{{svg "octicon-tag"}} {{.locale.Tr "repo.releases"}}
202202
{{if .NumReleases}}

‎templates/repo/home.tmpl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
{{template "base/alert" .}}
66
<div class="ui repo-description">
77
<div id="repo-desc">
8-
{{ $description := .Repository.DescriptionHTML $.Context}}
8+
{{$description := .Repository.DescriptionHTML $.Context}}
99
{{if $description}}<span class="description">{{$description}}</span>{{else if .IsRepositoryAdmin}}<span class="no-description text-italic">{{.locale.Tr "repo.no_desc"}}</span>{{end}}
1010
<a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a>
1111
</div>
1212
{{if .RepoSearchEnabled}}
1313
<div class="ui repo-search">
1414
<form class="ui form ignore-dirty" action="{{.RepoLink}}/search" method="get">
1515
<div class="field">
16-
<div class="ui action input{{if .CodeIndexerUnavailable }} disabled left icon tooltip{{end}}"{{if .CodeIndexerUnavailable }} data-content="{{.locale.Tr "repo.search.code_search_unavailable"}}"{{end}}>
17-
<input name="q" value="{{.Keyword}}"{{if .CodeIndexerUnavailable }} disabled{{end}} placeholder="{{.locale.Tr "repo.search.search_repo"}}">
18-
{{if .CodeIndexerUnavailable }}
16+
<div class="ui action input{{if .CodeIndexerUnavailable}} disabled left icon tooltip{{end}}"{{if .CodeIndexerUnavailable}} data-content="{{.locale.Tr "repo.search.code_search_unavailable"}}"{{end}}>
17+
<input name="q" value="{{.Keyword}}"{{if .CodeIndexerUnavailable}} disabled{{end}} placeholder="{{.locale.Tr "repo.search.search_repo"}}">
18+
{{if .CodeIndexerUnavailable}}
1919
<i class="icon df ac jc">{{svg "octicon-alert"}}</i>
2020
{{end}}
21-
<button class="ui icon button"{{if .CodeIndexerUnavailable }} disabled{{end}} type="submit">
21+
<button class="ui icon button"{{if .CodeIndexerUnavailable}} disabled{{end}} type="submit">
2222
{{svg "octicon-search"}}
2323
</button>
2424
</div>
@@ -63,8 +63,8 @@
6363
<div class="repo-button-row df ac sb fw">
6464
<div class="df ac">
6565
{{template "repo/branch_dropdown" dict "root" .}}
66-
{{ $n := len .TreeNames}}
67-
{{ $l := Subtract $n 1}}
66+
{{$n := len .TreeNames}}
67+
{{$l := Subtract $n 1}}
6868
<!-- If home page, show new PR. If not, show breadcrumb -->
6969
{{if eq $n 0}}
7070
{{if and .CanCompareOrPull .IsViewBranch (not .Repository.IsArchived)}}
@@ -99,7 +99,7 @@
9999
</button>
100100
{{end}}
101101
{{else}}
102-
<span class="ui breadcrumb repo-path"><a class="section" href="{{.RepoLink}}/src/{{.BranchNameSubURL}}" title="{{.Repository.Name}}">{{EllipsisString .Repository.Name 30}}</a>{{range $i, $v := .TreeNames}}<span class="divider">/</span>{{if eq $i $l}}<span class="active section" title="{{$v}}">{{EllipsisString $v 30}}</span>{{else}}{{ $p := index $.Paths $i}}<span class="section"><a href="{{$.BranchLink}}/{{PathEscapeSegments $p}}" title="{{$v}}">{{EllipsisString $v 30}}</a></span>{{end}}{{end}}</span>
102+
<span class="ui breadcrumb repo-path"><a class="section" href="{{.RepoLink}}/src/{{.BranchNameSubURL}}" title="{{.Repository.Name}}">{{EllipsisString .Repository.Name 30}}</a>{{range $i, $v := .TreeNames}}<span class="divider">/</span>{{if eq $i $l}}<span class="active section" title="{{$v}}">{{EllipsisString $v 30}}</span>{{else}}{{$p := index $.Paths $i}}<span class="section"><a href="{{$.BranchLink}}/{{PathEscapeSegments $p}}" title="{{$v}}">{{EllipsisString $v 30}}</a></span>{{end}}{{end}}</span>
103103
{{end}}
104104
</div>
105105
<div class="df ac">
@@ -130,7 +130,7 @@
130130
</button>
131131
</div>
132132
{{end}}
133-
{{if and (ne $n 0) (not .IsViewFile) (not .IsBlame) }}
133+
{{if and (ne $n 0) (not .IsViewFile) (not .IsBlame)}}
134134
<a class="ui button" href="{{.RepoLink}}/commits/{{.BranchNameSubURL}}/{{.TreePath | PathEscapeSegments}}">
135135
{{svg "octicon-history" 16 "mr-3"}}{{.locale.Tr "repo.file_history"}}
136136
</a>

‎templates/repo/search.tmpl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,26 @@
55
<div class="ui repo-search">
66
<form class="ui form ignore-dirty" method="get">
77
<div class="ui fluid action input">
8-
<input name="q" value="{{.Keyword}}"{{if .CodeIndexerUnavailable }} disabled{{end}} placeholder="{{.locale.Tr "repo.search.search_repo"}}">
9-
<div class="ui dropdown selection{{if .CodeIndexerUnavailable }} disabled{{end}}">
10-
<input name="t" type="hidden"{{if .CodeIndexerUnavailable }} disabled{{end}} value="{{.queryType}}">{{svg "octicon-triangle-down" 14 "dropdown icon"}}
8+
<input name="q" value="{{.Keyword}}"{{if .CodeIndexerUnavailable}} disabled{{end}} placeholder="{{.locale.Tr "repo.search.search_repo"}}">
9+
<div class="ui dropdown selection{{if .CodeIndexerUnavailable}} disabled{{end}}">
10+
<input name="t" type="hidden"{{if .CodeIndexerUnavailable}} disabled{{end}} value="{{.queryType}}">{{svg "octicon-triangle-down" 14 "dropdown icon"}}
1111
<div class="text">{{.locale.Tr (printf "repo.search.%s" (or .queryType "fuzzy"))}}</div>
1212
<div class="menu transition hidden" tabindex="-1" style="display: block !important;">
1313
<div class="item" data-value="">{{.locale.Tr "repo.search.fuzzy"}}</div>
1414
<div class="item" data-value="match">{{.locale.Tr "repo.search.match"}}</div>
1515
</div>
1616
</div>
17-
<button class="ui icon button"{{if .CodeIndexerUnavailable }} disabled{{end}} type="submit">{{svg "octicon-search" 16}}</button>
17+
<button class="ui icon button"{{if .CodeIndexerUnavailable}} disabled{{end}} type="submit">{{svg "octicon-search" 16}}</button>
1818
</div>
1919
</form>
2020
</div>
21-
{{if .CodeIndexerUnavailable }}
21+
{{if .CodeIndexerUnavailable}}
2222
<div class="ui error message">
2323
<p>{{$.locale.Tr "repo.search.code_search_unavailable"}}</p>
2424
</div>
2525
{{else if .Keyword}}
2626
<h3>
27-
{{.locale.Tr "repo.search.results" (.Keyword|Escape) (.RepoLink|Escape) (.RepoName|Escape) | Str2html }}
27+
{{.locale.Tr "repo.search.results" (.Keyword|Escape) (.RepoLink|Escape) (.RepoName|Escape) | Str2html}}
2828
</h3>
2929
{{if .SearchResults}}
3030
<div class="df ac fw">

‎templates/repo/sub_menu.tmpl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="ui segments repository-summary{{if and (.Permission.CanRead $.UnitTypeCode) (not .IsEmptyRepo) .LanguageStats }} repository-summary-language-stats{{end}} mt-2 mb-0">
1+
<div class="ui segments repository-summary{{if and (.Permission.CanRead $.UnitTypeCode) (not .IsEmptyRepo) .LanguageStats}} repository-summary-language-stats{{end}} mt-2 mb-0">
22
<div class="ui segment sub-menu repository-menu">
33
<div class="ui two horizontal center link list">
44
{{if and (.Permission.CanRead $.UnitTypeCode) (not .IsEmptyRepo)}}
@@ -19,27 +19,27 @@
1919
{{end}}
2020
</div>
2121
</div>
22-
{{if and (.Permission.CanRead $.UnitTypeCode) (not .IsEmptyRepo) .LanguageStats }}
22+
{{if and (.Permission.CanRead $.UnitTypeCode) (not .IsEmptyRepo) .LanguageStats}}
2323
<div class="ui segment sub-menu language-stats-details" style="display: none">
2424
<div class="ui horizontal center link list">
2525
{{range .LanguageStats}}
2626
<div class="item df ac jc">
27-
<i class="color-icon mr-3" style="background-color: {{ .Color }}"></i>
27+
<i class="color-icon mr-3" style="background-color: {{.Color}}"></i>
2828
<span class="bold mr-3">
29-
{{if eq .Language "other" }}
30-
{{ $.locale.Tr "repo.language_other" }}
29+
{{if eq .Language "other"}}
30+
{{$.locale.Tr "repo.language_other"}}
3131
{{else}}
32-
{{ .Language }}
32+
{{.Language}}
3333
{{end}}
3434
</span>
35-
{{ .Percentage }}%
35+
{{.Percentage}}%
3636
</div>
3737
{{end}}
3838
</div>
3939
</div>
4040
<a class="ui segment language-stats">
4141
{{range .LanguageStats}}
42-
<div class="bar" style="width: {{ .Percentage }}%; background-color: {{ .Color }}">&nbsp;</div>
42+
<div class="bar" style="width: {{.Percentage}}%; background-color: {{.Color}}">&nbsp;</div>
4343
{{end}}
4444
</a>
4545
{{end}}

‎templates/repo/user_cards.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
{{end}}
2626
</ul>
2727

28-
{{ template "base/paginate" . }}
28+
{{template "base/paginate" .}}
2929
</div>

‎templates/repo/view_file.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
</table>
123123
<div class="code-line-menu ui vertical pointing menu tippy-target">
124124
{{if $.Permission.CanRead $.UnitTypeIssues}}
125-
<a class="item ref-in-new-issue" href="{{.RepoLink}}/issues/new?body={{.Repository.HTMLURL}}{{printf "/src/commit/" }}{{PathEscape .CommitID}}/{{PathEscapeSegments .TreePath}}" rel="nofollow noindex">{{.locale.Tr "repo.issues.context.reference_issue"}}</a>
125+
<a class="item ref-in-new-issue" href="{{.RepoLink}}/issues/new?body={{.Repository.HTMLURL}}{{printf "/src/commit/"}}{{PathEscape .CommitID}}/{{PathEscapeSegments .TreePath}}" rel="nofollow noindex">{{.locale.Tr "repo.issues.context.reference_issue"}}</a>
126126
{{end}}
127127
<a class="item view_git_blame" href="{{.Repository.HTMLURL}}/blame/commit/{{PathEscape .CommitID}}/{{PathEscapeSegments .TreePath}}">{{.locale.Tr "repo.view_git_blame"}}</a>
128128
<a class="item copy-line-permalink" data-url="{{.Repository.HTMLURL}}/src/commit/{{PathEscape .CommitID}}/{{PathEscapeSegments .TreePath}}">{{.locale.Tr "repo.file_copy_permalink"}}</a>

‎templates/repo/view_list.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
<strong>{{.LatestCommit.Author.Name}}</strong>
1919
{{end}}
2020
{{end}}
21-
<a rel="nofollow" class="ui sha label {{if .LatestCommit.Signature}} isSigned {{if .LatestCommitVerification.Verified }} isVerified{{if eq .LatestCommitVerification.TrustStatus "trusted"}}{{else if eq .LatestCommitVerification.TrustStatus "untrusted"}}Untrusted{{else}}Unmatched{{end}}{{else if .LatestCommitVerification.Warning}} isWarning{{end}}{{end}}" href="{{.RepoLink}}/commit/{{PathEscape .LatestCommit.ID.String}}">
21+
<a rel="nofollow" class="ui sha label {{if .LatestCommit.Signature}} isSigned {{if .LatestCommitVerification.Verified}} isVerified{{if eq .LatestCommitVerification.TrustStatus "trusted"}}{{else if eq .LatestCommitVerification.TrustStatus "untrusted"}}Untrusted{{else}}Unmatched{{end}}{{else if .LatestCommitVerification.Warning}} isWarning{{end}}{{end}}" href="{{.RepoLink}}/commit/{{PathEscape .LatestCommit.ID.String}}">
2222
<span class="shortsha">{{ShortSha .LatestCommit.ID.String}}</span>
2323
{{if .LatestCommit.Signature}}
2424
{{template "repo/shabox_badge" dict "root" $ "verification" .LatestCommitVerification}}
2525
{{end}}
2626
</a>
2727
{{template "repo/commit_statuses" dict "Status" .LatestCommitStatus "Statuses" .LatestCommitStatuses "root" $}}
28-
{{ $commitLink:= printf "%s/commit/%s" .RepoLink (PathEscape .LatestCommit.ID.String) }}
28+
{{$commitLink:= printf "%s/commit/%s" .RepoLink (PathEscape .LatestCommit.ID.String)}}
2929
<span class="grey commit-summary" title="{{.LatestCommit.Summary}}"><span class="message-wrapper">{{RenderCommitMessageLinkSubject $.Context .LatestCommit.Message $.RepoLink $commitLink $.Repository.ComposeMetas}}</span>
3030
{{if IsMultilineCommitMessage .LatestCommit.Message}}
3131
<button class="ui button ellipsis-button" aria-expanded="false">...</button>

‎templates/shared/issuelist.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="issue list">
2-
{{ $approvalCounts := .ApprovalCounts}}
2+
{{$approvalCounts := .ApprovalCounts}}
33
{{range .Issues}}
44
<li class="item df py-3">
55
<div class="issue-item-left df">
@@ -55,8 +55,8 @@
5555
#{{.Index}}
5656
{{end}}
5757
</a>
58-
{{ $timeStr := TimeSinceUnix .GetLastEventTimestamp $.locale }}
59-
{{if .OriginalAuthor }}
58+
{{$timeStr := TimeSinceUnix .GetLastEventTimestamp $.locale}}
59+
{{if .OriginalAuthor}}
6060
{{$.locale.Tr .GetLastEventLabelFake $timeStr (.OriginalAuthor|Escape) | Safe}}
6161
{{else if gt .Poster.ID 0}}
6262
{{$.locale.Tr .GetLastEventLabel $timeStr (.Poster.HomeLink|Escape) (.Poster.GetDisplayName | Escape) | Safe}}

‎templates/user/profile.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
{{if .Owner.Location}}
2929
<li>{{svg "octicon-location"}} {{.Owner.Location}}</li>
3030
{{end}}
31-
{{if .ShowUserEmail }}
31+
{{if .ShowUserEmail}}
3232
<li>
3333
{{svg "octicon-mail"}}
3434
<a href="mailto:{{.Owner.Email}}" rel="nofollow">{{.Owner.Email}}</a>

‎templates/user/project.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<div class="inline field">
5959
<label></label>
6060
<button class="ui green button">
61-
{{.locale.Tr "repo.projects.create" }}
61+
{{.locale.Tr "repo.projects.create"}}
6262
</button>
6363
<a class="ui button" href="{{AppSubUrl}}/">{{.locale.Tr "cancel"}}</a>
6464
</div>

0 commit comments

Comments
 (0)
Please sign in to comment.