aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/auth/grant.tmpl2
-rw-r--r--templates/user/dashboard/issues.tmpl8
-rw-r--r--templates/user/dashboard/milestones.tmpl8
-rw-r--r--templates/user/notification/notification_div.tmpl16
-rw-r--r--templates/user/profile.tmpl2
-rw-r--r--templates/user/settings/profile.tmpl2
6 files changed, 19 insertions, 19 deletions
diff --git a/templates/user/auth/grant.tmpl b/templates/user/auth/grant.tmpl
index 060b675273..28c5740be0 100644
--- a/templates/user/auth/grant.tmpl
+++ b/templates/user/auth/grant.tmpl
@@ -8,7 +8,7 @@
<div class="ui attached segment">
{{template "base/alert" .}}
<p>
- <b>{{.locale.Tr "auth.authorize_application_description"}}</b><br/>
+ <b>{{.locale.Tr "auth.authorize_application_description"}}</b><br>
{{.locale.Tr "auth.authorize_application_created_by" .ApplicationCreatorLinkHTML | Str2html}}
</p>
</div>
diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl
index ef153c38ab..766a6bf7d8 100644
--- a/templates/user/dashboard/issues.tmpl
+++ b/templates/user/dashboard/issues.tmpl
@@ -76,10 +76,10 @@
<div class="column center aligned">
<form class="ui form ignore-dirty">
<div class="ui search fluid action input">
- <input type="hidden" name="type" value="{{$.ViewType}}"/>
- <input type="hidden" name="repos" value="[{{range $.RepoIDs}}{{.}}%2C{{end}}]"/>
- <input type="hidden" name="sort" value="{{$.SortType}}"/>
- <input type="hidden" name="state" value="{{$.State}}"/>
+ <input type="hidden" name="type" value="{{$.ViewType}}">
+ <input type="hidden" name="repos" value="[{{range $.RepoIDs}}{{.}}%2C{{end}}]">
+ <input type="hidden" name="sort" value="{{$.SortType}}">
+ <input type="hidden" name="state" value="{{$.State}}">
<input name="q" value="{{$.Keyword}}" placeholder="{{.locale.Tr "explore.search"}}...">
<button class="ui primary button" type="submit">{{.locale.Tr "explore.search"}}</button>
</div>
diff --git a/templates/user/dashboard/milestones.tmpl b/templates/user/dashboard/milestones.tmpl
index 5c65512907..c20ea9d041 100644
--- a/templates/user/dashboard/milestones.tmpl
+++ b/templates/user/dashboard/milestones.tmpl
@@ -50,10 +50,10 @@
<div class="column center aligned">
<form class="ui form ignore-dirty">
<div class="ui search fluid action input">
- <input type="hidden" name="type" value="{{$.ViewType}}"/>
- <input type="hidden" name="repos" value="[{{range $.RepoIDs}}{{.}},{{end}}]"/>
- <input type="hidden" name="sort" value="{{$.SortType}}"/>
- <input type="hidden" name="state" value="{{$.State}}"/>
+ <input type="hidden" name="type" value="{{$.ViewType}}">
+ <input type="hidden" name="repos" value="[{{range $.RepoIDs}}{{.}},{{end}}]">
+ <input type="hidden" name="sort" value="{{$.SortType}}">
+ <input type="hidden" name="state" value="{{$.State}}">
<input name="q" value="{{$.Keyword}}" placeholder="{{.locale.Tr "explore.search"}}...">
<button class="ui primary button" type="submit">{{.locale.Tr "explore.search"}}</button>
</div>
diff --git a/templates/user/notification/notification_div.tmpl b/templates/user/notification/notification_div.tmpl
index 101e4d24e4..1ea34fe2a6 100644
--- a/templates/user/notification/notification_div.tmpl
+++ b/templates/user/notification/notification_div.tmpl
@@ -74,8 +74,8 @@
{{if ne .Status 3}}
<form action="{{AppSubUrl}}/notifications/status" method="POST">
{{$.CsrfTokenHtml}}
- <input type="hidden" name="notification_id" value="{{.ID}}" />
- <input type="hidden" name="status" value="pinned" />
+ <input type="hidden" name="notification_id" value="{{.ID}}">
+ <input type="hidden" name="status" value="pinned">
<button class="ui mini button" title='{{$.locale.Tr "notification.pin"}}'
data-url="{{AppSubUrl}}/notifications/status"
data-status="pinned"
@@ -91,9 +91,9 @@
{{if or (eq .Status 1) (eq .Status 3)}}
<form action="{{AppSubUrl}}/notifications/status" method="POST">
{{$.CsrfTokenHtml}}
- <input type="hidden" name="notification_id" value="{{.ID}}" />
- <input type="hidden" name="status" value="read" />
- <input type="hidden" name="page" value="{{$.Page.Paginater.Current}}" />
+ <input type="hidden" name="notification_id" value="{{.ID}}">
+ <input type="hidden" name="status" value="read">
+ <input type="hidden" name="page" value="{{$.Page.Paginater.Current}}">
<button class="ui mini button" title='{{$.locale.Tr "notification.mark_as_read"}}'
data-url="{{AppSubUrl}}/notifications/status"
data-status="read"
@@ -106,9 +106,9 @@
{{else if eq .Status 2}}
<form action="{{AppSubUrl}}/notifications/status" method="POST">
{{$.CsrfTokenHtml}}
- <input type="hidden" name="notification_id" value="{{.ID}}" />
- <input type="hidden" name="status" value="unread" />
- <input type="hidden" name="page" value="{{$.Page.Paginater.Current}}" />
+ <input type="hidden" name="notification_id" value="{{.ID}}">
+ <input type="hidden" name="status" value="unread">
+ <input type="hidden" name="page" value="{{$.Page.Paginater.Current}}">
<button class="ui mini button" title='{{$.locale.Tr "notification.mark_as_unread"}}'
data-url="{{AppSubUrl}}/notifications/status"
data-status="unread"
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index b26b934366..d4a0f4a3ac 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -4,7 +4,7 @@
<div class="ui stackable grid">
<div class="ui five wide column">
<div class="ui card">
- <div id="profile-avatar" class="content gt-df"/>
+ <div id="profile-avatar" class="content gt-df">
{{if eq .SignedUserName .Owner.Name}}
<a class="image" href="{{AppSubUrl}}/user/settings" data-tooltip-content="{{.locale.Tr "user.change_avatar"}}">
{{avatar $.Context .Owner 290}}
diff --git a/templates/user/settings/profile.tmpl b/templates/user/settings/profile.tmpl
index 6cd330241a..e64f4c7efa 100644
--- a/templates/user/settings/profile.tmpl
+++ b/templates/user/settings/profile.tmpl
@@ -110,7 +110,7 @@
</div>
<div class="field {{if .Err_Gravatar}}error{{end}}">
<label for="gravatar">Avatar {{.locale.Tr "email"}}</label>
- <input id="gravatar" name="gravatar" value="{{.SignedUser.AvatarEmail}}" />
+ <input id="gravatar" name="gravatar" value="{{.SignedUser.AvatarEmail}}">
</div>
{{end}}