0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-27 22:11:38 -05:00
forgejo/templates
Earl Warren 20f47bbca9
fix generated source URL on rendered files ()
- The permalink and 'Reference in New issue' URL of an renderable file
(those where you can see the source and a rendered version of it, such
as markdown) doesn't contain `?display=source`. This leads the issue
that the URL doesn't have any effect, as by default the rendered version
is shown and thus not the source.
- Add `?display=source` to the permalink URL and to 'Reference in New
Issue' if it's renderable file.
- Add integration testing.

Refs: https://codeberg.org/forgejo/forgejo/pulls/1088

Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-08-08 09:04:04 +00:00
..
admin Remove unnecessary template helper DisableGravatar () 2023-08-08 08:29:14 +00:00
api/packages/pypi Remove incorrect HTML self close tag () 2023-03-27 18:05:51 +02:00
base Start using template context function () 2023-08-08 01:22:47 +00:00
code Fix inconsistent user profile layout across tabs () 2023-07-06 18:59:24 +00:00
custom Add footer extra links template () 2020-01-03 20:41:56 +02:00
devtest Introduce flex-list & flex-item elements for Gitea UI () 2023-08-01 00:13:42 +02:00
explore Remove unnecessary template helper repoAvatar () 2023-08-08 15:29:35 +08:00
mail Add template linting via djlint () 2023-06-14 18:17:58 +00:00
org Remove unnecessary template helper repoAvatar () 2023-08-08 15:29:35 +08:00
package Introduce flex-list & flex-item elements for Gitea UI () 2023-08-01 00:13:42 +02:00
projects Merge templates/projects/list.tmpl and templates/repo/projects/list.tmpl together () 2023-08-01 16:54:54 +00:00
repo fix generated source URL on rendered files () 2023-08-08 09:04:04 +00:00
shared Introduce flex-list & flex-item elements for Gitea UI () 2023-08-01 00:13:42 +02:00
status Replace fomantic divider module with our own () 2023-06-29 20:24:22 +08:00
swagger Doc update swagger doc for POST /orgs/{org}/teams () 2023-07-26 10:22:56 +00:00
user Remove unnecessary template helper DisableGravatar () 2023-08-08 08:29:14 +00:00
home.tmpl Improve home page template, fix Sort dropdown menu flash () 2023-04-01 13:47:54 +08:00
install.tmpl Show correct SSL Mode on "install page" () 2023-07-11 18:09:23 -04:00
post-install.tmpl Remove incorrect element ID on "post-install" page () 2023-06-08 12:23:39 +08:00