1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-20 13:22:25 +03:00
forgejo/templates/shared/user
Yarden Shoham abccb86b36
Show bot label next to username when rendering autor link if the user is a bot ()
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
..
authorlink.tmpl Show bot label next to username when rendering autor link if the user is a bot () 2023-05-26 18:58:11 +02:00
avatarlink.tmpl Fix no user listed in org teams page () 2023-02-19 12:57:49 +08:00
namelink.tmpl Timeline and color tweaks () 2022-11-19 12:02:30 +08:00