0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 08:54:17 -05:00
forgejo/templates/repo/issue/view_content
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
..
add_reaction.tmpl Align dropdown right (#14406) 2021-01-20 02:08:21 +01:00
attachments.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
comments.tmpl Refactor commentTags functionality (#17558) 2021-11-11 14:29:30 +08:00
comments_delete_time.tmpl Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
context_menu.tmpl Fixed issue where creating a reference of an issue would create a tag with the full name instead of the username if this is the default in the .ini file (#17074) 2021-09-18 16:44:45 +01:00
pull.tmpl Hide command line merge instructions when user can't push (#17339) 2021-10-17 17:58:36 +01:00
reactions.tmpl
reference_issue_dialog.tmpl Comment - Reference in new issue (#14366) 2021-01-21 14:51:17 +01:00
sidebar.tmpl Save and view issue/comment content history (#16909) 2021-10-10 18:40:03 -04:00