0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 01:34:20 +01:00
gitea/templates
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
..
admin Improve some Forms (#24878) 2023-05-26 09:42:54 +00:00
api/packages/pypi
base Remove meta charset from HTML5 documents (#24744) 2023-05-16 05:13:23 +00:00
code
custom
devtest Improve button-ghost, remove tertiary button (#24692) 2023-05-13 20:38:22 +00:00
explore Add Link to Stars and Forks Page to Repo List (#24931) 2023-05-25 16:57:49 +00:00
mail
org Improve some Forms (#24878) 2023-05-26 09:42:54 +00:00
package Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
projects Use shared/issueicon template in projects (#24922) 2023-05-25 14:25:31 +02:00
repo Improve some Forms (#24878) 2023-05-26 09:42:54 +00:00
shared 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
status Remove meta charset from HTML5 documents (#24744) 2023-05-16 05:13:23 +00:00
swagger Add the ability to pin Issues (#24406) 2023-05-25 15:17:19 +02:00
user Improve some Forms (#24878) 2023-05-26 09:42:54 +00:00
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Unification of registration fields order (#24737) 2023-05-15 20:29:39 +02:00
post-install.tmpl