aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-08-25 23:55:52 +0200
committerGitHub <noreply@github.com>2022-08-25 17:55:52 -0400
commit6c4688e1b1ddb68de192af7f83b06de27baae85e (patch)
tree554b4e7d97c843590031aab058ba1c66474c405f /templates/user
parent27ac65a124f34ec3ed5f34aeb576f918ae1c70b1 (diff)
downloadgitea-6c4688e1b1ddb68de192af7f83b06de27baae85e.tar.gz
gitea-6c4688e1b1ddb68de192af7f83b06de27baae85e.zip
Add whitespace removal inside template curly brackes (#20853)
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/profile.tmpl2
-rw-r--r--templates/user/project.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index 2a973c2d5b..7644872f09 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -28,7 +28,7 @@
{{if .Owner.Location}}
<li>{{svg "octicon-location"}} {{.Owner.Location}}</li>
{{end}}
- {{if .ShowUserEmail }}
+ {{if .ShowUserEmail}}
<li>
{{svg "octicon-mail"}}
<a href="mailto:{{.Owner.Email}}" rel="nofollow">{{.Owner.Email}}</a>
diff --git a/templates/user/project.tmpl b/templates/user/project.tmpl
index b03787e5ef..3db9d19eed 100644
--- a/templates/user/project.tmpl
+++ b/templates/user/project.tmpl
@@ -58,7 +58,7 @@
<div class="inline field">
<label></label>
<button class="ui green button">
- {{.locale.Tr "repo.projects.create" }}
+ {{.locale.Tr "repo.projects.create"}}
</button>
<a class="ui button" href="{{AppSubUrl}}/">{{.locale.Tr "cancel"}}</a>
</div>