aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/editor
diff options
context:
space:
mode:
authorJoe Chen <jc@unknwon.io>2022-10-22 20:01:38 +0800
committerGitHub <noreply@github.com>2022-10-22 20:01:38 +0800
commitce25881c880d9711f211be05f92a809304a436e3 (patch)
tree9239c155c8276761de6639fd19b0a56e87eedde5 /templates/repo/editor
parent7cbd84d5b3d4af36e4afcf7af9374bc765f6bb9c (diff)
refactor(db): move some methods off `user.go` (#7199)
Diffstat (limited to 'templates/repo/editor')
-rw-r--r--templates/repo/editor/commit_form.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/editor/commit_form.tmpl b/templates/repo/editor/commit_form.tmpl
index 0b720212..9237eb13 100644
--- a/templates/repo/editor/commit_form.tmpl
+++ b/templates/repo/editor/commit_form.tmpl
@@ -1,5 +1,5 @@
<div class="commit-form-wrapper">
- <img width="48" height="48" class="ui image commit-avatar" src="{{.LoggedUser.RelAvatarLink}}">
+ <img width="48" height="48" class="ui image commit-avatar" src="{{.LoggedUser.AvatarURLPath}}">
<div class="commit-form">
<h3>{{.i18n.Tr "repo.editor.commit_changes"}}</h3>
<div class="field">
@@ -41,4 +41,4 @@
{{.i18n.Tr "repo.editor.commit_changes"}}
</button>
<a class="ui button red" href="{{EscapePound $.BranchLink}}/{{EscapePound .TreePath}}">{{.i18n.Tr "repo.editor.cancel"}}</a>
-</div> \ No newline at end of file
+</div>