diff options
author | Yarden Shoham <git@yardenshoham.com> | 2023-05-26 19:58:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-26 18:58:11 +0200 |
commit | abccb86b36d8c9e680768fcff0c0dc05f1cd9447 (patch) | |
tree | 396ebe7c76696c7c275f06dd5e45e49cd5478e67 /docs/content/doc/development | |
parent | 85fa954a3810b233cb299f455546c4b2314400b3 (diff) | |
download | gitea-abccb86b36d8c9e680768fcff0c0dc05f1cd9447.tar.gz gitea-abccb86b36d8c9e680768fcff0c0dc05f1cd9447.zip |
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

## After

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Diffstat (limited to 'docs/content/doc/development')
0 files changed, 0 insertions, 0 deletions