0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 17:34:11 -05:00
forgejo/templates/repo/issue
mrsdizzie 3ff0a126e1 Improve issue autolinks (#6273)
* Improve issue autolinks

Update autolinks to match what github does here:

Issue in same repo: #1
Issue in different repo: org/repo#1

Fixes #6264

* Use setting.AppURL when parsing URL

Using setting.AppURL here is a more reliable way of parsing the current
URL and what other functions in this file seem to use.

* Make ComposeMetas always return a valid context

* Add per repository markdown renderers for better context

* Update for use of context metas

Now that we include the user and repo name inside context metas, update
various code and tests for this new logic
2019-04-12 08:53:34 +03:00
..
view_content Make "Ghost" not link to 404 page (#6410) 2019-03-27 18:22:39 -04:00
branch_selector_field.tmpl hide branch on pull request view or create UI (#2454) 2017-09-06 15:02:51 +03:00
comment_tab.tmpl Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
label_precolors.tmpl Indent all templates with tabs 2015-12-08 00:57:46 +01:00
labels.tmpl Allow labels to contain emoji (#6063) 2019-02-16 19:33:09 +02:00
list.tmpl Fixes #6514 - New Pull Request on files and pulls pages the same (#6515) 2019-04-09 22:16:29 +01:00
milestone_issues.tmpl Make "Ghost" not link to 404 page (#6410) 2019-03-27 18:22:39 -04:00
milestone_new.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
milestones.tmpl Feature: Archive repos (#5009) 2019-01-23 13:58:38 -05:00
navbar.tmpl Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00
new.tmpl Indent all templates with tabs 2015-12-08 00:57:46 +01:00
new_form.tmpl Allow labels to contain emoji (#6063) 2019-02-16 19:33:09 +02:00
search.tmpl Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00
view.tmpl Feature: Archive repos (#5009) 2019-01-23 13:58:38 -05:00
view_content.tmpl Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
view_title.tmpl Feature: Archive repos (#5009) 2019-01-23 13:58:38 -05:00