aboutsummaryrefslogtreecommitdiffstats
path: root/templates/projects
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-02-10 00:31:30 +0800
committerGitHub <noreply@github.com>2023-02-09 11:31:30 -0500
commit24a9caa2f33db2664510e79f184892c8cb266b62 (patch)
tree8be9d1541d92606f85ee72111752dad5dc3fea03 /templates/projects
parent0c190e396df7025683b56f0e6f64356c907a8512 (diff)
downloadgitea-24a9caa2f33db2664510e79f184892c8cb266b62.tar.gz
gitea-24a9caa2f33db2664510e79f184892c8cb266b62.zip
Fix more HTMLURL in templates (#22831)
I haven't tested `runs_list.tmpl` but I think it could be right. After this PR, besides the `<meta .. HTMLURL>` in html head, the only explicit HTMLURL usage is in `pull_merge_instruction.tmpl`, which doesn't affect users too much and it's difficult to fix at the moment. There are still many usages of `AppUrl` in the templates (eg: the package help manual), they are similar problems as the HTMLURL in pull_merge_instruction, and they might be fixed together in the future. Diff without space: https://github.com/go-gitea/gitea/pull/22831/files?diff=unified&w=1
Diffstat (limited to 'templates/projects')
-rw-r--r--templates/projects/view.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/projects/view.tmpl b/templates/projects/view.tmpl
index 42eb578074..72131e30bb 100644
--- a/templates/projects/view.tmpl
+++ b/templates/projects/view.tmpl
@@ -238,7 +238,7 @@
{{end}}
<div class="right floated">
{{range .Assignees}}
- <a class="tooltip" target="_blank" href="{{.HTMLURL}}" data-content="{{$.locale.Tr "repo.projects.board.assigned_to"}} {{.Name}}">{{avatar . 28 "mini mr-3"}}</a>
+ <a class="tooltip" target="_blank" href="{{.HomeLink}}" data-content="{{$.locale.Tr "repo.projects.board.assigned_to"}} {{.Name}}">{{avatar . 28 "mini mr-3"}}</a>
{{end}}
</div>
</div>