0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-21 00:34:26 +01:00
gitea/routers/web
Gusted 492e1c2fbd
Refactor commentTags functionality (#17558)
* feat: Allow multiple tags on comments

- Allow for multiples tags(Currently Poster + {Owner, Writer}).
- Utilize the Poster tag within the commentTag function and remove the
checking from templates.
- Use bitwise on CommentTags to enable specific tags.
- Don't show poster tag(view_content.tmpl) on the initial issue comment.

* Change parameters naming

* Change function name

* refactor variable wording

* Merge 'master' branch into 'tags-comments' branch

* Change naming

* `tag` -> `role`

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-11-11 14:29:30 +08:00
..
admin Move oauth2 error to oauth2 service package (#17603) 2021-11-11 01:51:09 +08:00
dev
events
explore
feed
org Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
repo Refactor commentTags functionality (#17558) 2021-11-11 14:29:30 +08:00
user
base.go
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go