diff options
author | Gusted <williamzijl7@hotmail.com> | 2021-11-11 07:29:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-11 14:29:30 +0800 |
commit | 492e1c2fbd1b646f4428207942a9f89b56f7b6a9 (patch) | |
tree | 3de3f782cc9278f3f85f9c73eda1741390099d8c /models/repo_archiver.go | |
parent | a4dc0c5a82be7fbb472ec9dba204378bfd03dc8c (diff) | |
download | gitea-492e1c2fbd1b646f4428207942a9f89b56f7b6a9.tar.gz gitea-492e1c2fbd1b646f4428207942a9f89b56f7b6a9.zip |
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>
Diffstat (limited to 'models/repo_archiver.go')
0 files changed, 0 insertions, 0 deletions