gitforge/templates/custom
0ko 9a2ae75a43 feat(ui): provide ability to add a warning message to the registration/login screens (#12597)
Example for how that would look like on code.forgejo.org:

![img](/attachments/eff849d5-4269-4c26-b742-b525de7709d1)

Login screen examples:

|![1](/attachments/78c23389-7bbd-490d-967a-da87d451c199)|![2](/attachments/c4693cd3-2616-4396-92e3-f22dbe8a0103)|
|-|-|

Many instances would benefit from being able to communicate such information before a user signs up or logs in after a long break.

## Testing

Disabled unless admin explicitly decides to create a template override, nothing to test.

In theory CSS could break but IDK how to test against that given the custom template requirement.

Also need to know that template customizations are provided as-is and shift all accountability of maintaining them to admins.

## Documentation

https://codeberg.org/forgejo/docs/pulls/1945

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12597
Reviewed-by: Robert Wolff <mahlzahn@posteo.de>
Reviewed-by: Beowulf <beowulf@beocode.eu>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2026-05-21 06:04:41 +02:00
..
body_inner_post.tmpl Add more additional template snippets (#3286) 2018-01-02 11:32:41 +01:00
body_inner_pre.tmpl
body_outer_post.tmpl
body_outer_pre.tmpl Add more additional template snippets (#3286) 2018-01-02 11:32:41 +01:00
extra_links.tmpl
extra_links_footer.tmpl Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
extra_tabs.tmpl
footer.tmpl Reduce overhead of upgrades for users with custom stylesheets/JS (#3051) 2017-12-03 02:26:06 +02:00
header.tmpl Reduce overhead of upgrades for users with custom stylesheets/JS (#3051) 2017-12-03 02:26:06 +02:00
repo_flag_banners.tmpl
signin_mid.tmpl feat(ui): provide ability to add a warning message to the registration/login screens (#12597) 2026-05-21 06:04:41 +02:00
signup_top.tmpl feat(ui): provide ability to add a warning message to the registration/login screens (#12597) 2026-05-21 06:04:41 +02:00