Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-26 11:46:09 +01:00
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 Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
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 Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
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 Fix CSV diff for added/deleted files (#21189) 2022-09-17 10:45:32 +08:00
escape_title.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2022-08-13 19:32:34 +01:00
image_diff.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
new_review.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
options_dropdown.tmpl Add filetree on left of diff view (#21012) 2022-09-27 13:22:19 +08:00
section_code.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2022-08-13 19:32:34 +01:00
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 Replace fomantic popup module with tippy.js (#20428) 2022-08-09 14:37:34 +02:00
whitespace_dropdown.tmpl Use native inputs in whitespace dropdown (#20980) 2022-09-25 22:01:05 +08:00