1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05: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 Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Remove meta charset from HTML5 documents (#24744) 2023-05-16 05:13:23 +00:00
code Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
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 Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
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 Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00