forgejo/templates/repo/diff
Lunny Xiao 769be877f2
Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986)
partially fix #19345

This PR add some `Link` methods for different objects. The `Link`
methods are not different from `HTMLURL`, they are lack of the absolute
URL. And most of UI `HTMLURL` have been replaced to `Link` so that users
can visit them from a different domain or IP.

This PR also introduces a new javascript configuration
`window.config.reqAppUrl` which is different from `appUrl` which is
still an absolute url but the domain has been replaced to the current
requested domain.
2023-02-06 12:09:18 -06:00
..
blob_excerpt.tmpl
box.tmpl Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 2023-02-06 12:09:18 -06:00
comment_form.tmpl Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 2023-02-06 12:09:18 -06:00
comment_form_datahandler.tmpl
comments.tmpl Change ID pattern of raw content container for issue (#21966) 2022-12-10 00:25:32 +08:00
compare.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
conversation.tmpl Improve code comment review on mobile (#21461) 2022-10-25 19:11:49 +08:00
csv_diff.tmpl
escape_title.tmpl
image_diff.tmpl
new_comment.tmpl
new_review.tmpl
options_dropdown.tmpl Add filetree on left of diff view (#21012) 2022-09-27 13:22:19 +08:00
section_code.tmpl
section_split.tmpl Improve code comment review on mobile (#21461) 2022-10-25 19:11:49 +08:00
section_unified.tmpl Improve code comment review on mobile (#21461) 2022-10-25 19:11:49 +08:00
stats.tmpl
whitespace_dropdown.tmpl Use native inputs in whitespace dropdown (#20980) 2022-09-25 22:01:05 +08:00