You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
1 year ago
..
blob_excerpt.tmpl Make sure fmt catches all templates (#20979) 2 years ago
box.tmpl Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 1 year ago
comment_form.tmpl Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 1 year ago
comment_form_datahandler.tmpl Make sure fmt catches all templates (#20979) 2 years ago
comments.tmpl Change ID pattern of raw content container for issue (#21966) 2 years ago
compare.tmpl Add main landmark to templates and adjust titles (#22670) 1 year ago
conversation.tmpl Improve code comment review on mobile (#21461) 2 years ago
csv_diff.tmpl Fix CSV diff for added/deleted files (#21189) 2 years ago
escape_title.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2 years ago
image_diff.tmpl Make sure fmt catches all templates (#20979) 2 years ago
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 4 years ago
new_review.tmpl Make sure fmt catches all templates (#20979) 2 years ago
options_dropdown.tmpl Add filetree on left of diff view (#21012) 2 years ago
section_code.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2 years ago
section_split.tmpl Improve code comment review on mobile (#21461) 2 years ago
section_unified.tmpl Improve code comment review on mobile (#21461) 2 years ago
stats.tmpl Replace fomantic popup module with tippy.js (#20428) 2 years ago
whitespace_dropdown.tmpl Use native inputs in whitespace dropdown (#20980) 2 years ago