0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00
forgejo/templates/shared
Yarden Shoham abccb86b36
Show bot label next to username when rendering autor link if the user is a bot (#24943)
If the user is a bot, we'll add a label next to the author link that
says `bot`. I didn't localize `bot` because passing `locale` into the
`autorlink` template would require changing all calls.

# Example
`yardenshoham` is a bot.
## Before

![image](https://github.com/go-gitea/gitea/assets/20454870/77390780-b763-4f0f-b358-bbccdbf17a5d)

## After

![image](https://github.com/go-gitea/gitea/assets/20454870/72af342f-ee76-4337-95ad-4ecaba853fed)

---------

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
2023-05-26 18:58:11 +02:00
..
actions Display owner of a runner as a tooltip instead of static text (#24377) 2023-05-12 08:43:27 +00:00
secrets Change add_on translation to added_on and include placeholder for the date (#24562) 2023-05-06 21:11:27 +08:00
user Show bot label next to username when rendering autor link if the user is a bot (#24943) 2023-05-26 18:58:11 +02:00
combomarkdowneditor.tmpl Add monospace toggle button to textarea (#24034) 2023-04-13 15:05:06 -04:00
issueicon.tmpl Rework notifications list (#24812) 2023-05-25 02:31:26 +00:00
issuelist.tmpl Rework notifications list (#24812) 2023-05-25 02:31:26 +00:00
searchbottom.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00