Add tooltips to "Hide comment type" settings where necessary
Previously, this setting was pretty confusing for users, especially the difference between "reference" and "issue reference".
This commit is contained in:
parent
08609d439d
commit
197164a9d0
2 changed files with 85 additions and 80 deletions
|
@ -559,6 +559,9 @@ cancel = Cancel
|
|||
language = Language
|
||||
ui = Theme
|
||||
hidden_comment_types = Hidden comment types
|
||||
hidden_comment_types_tooltip = Comment types checked here will not be shown inside issue pages. Checking "Label" for example removes all "<user> added/ removed <label>" comments.
|
||||
hidden_comment_types.ref_tooltip = Comments where this issue was referenced from another issue/ commit/ …
|
||||
hidden_comment_types.issue_ref_tooltip = Comments where the user changes the branch/ tag associated with the issue
|
||||
comment_type_group_reference = Reference
|
||||
comment_type_group_label = Label
|
||||
comment_type_group_milestone = Milestone
|
||||
|
|
|
@ -70,6 +70,7 @@
|
|||
</div>
|
||||
|
||||
<!-- Shown comment event types -->
|
||||
<div class="ui header tooltip" data-content="{{.locale.Tr "settings.hidden_comment_types_tooltip"}}">
|
||||
<h4 class="ui top attached header">
|
||||
{{.locale.Tr "settings.hidden_comment_types"}}
|
||||
</h4>
|
||||
|
@ -77,7 +78,7 @@
|
|||
<form class="ui form" action="{{.Link}}/hidden_comments" method="post">
|
||||
{{.CsrfTokenHtml}}
|
||||
<div class="inline field">
|
||||
<div class="ui checkbox">
|
||||
<div class="ui checkbox tooltip" data-content="{{.locale.Tr "settings.hidden_comment_types.ref_tooltip"}}">
|
||||
<input name="reference" type="checkbox"{{if(call .IsCommentTypeGroupChecked "reference")}} checked{{end}}>
|
||||
<label>{{.locale.Tr "settings.comment_type_group_reference"}}</label>
|
||||
</div>
|
||||
|
@ -156,7 +157,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="inline field">
|
||||
<div class="ui checkbox">
|
||||
<div class="ui checkbox tooltip" data-content="{{.locale.Tr "settings.hidden_comment_types.issue_ref_tooltip"}}">
|
||||
<input name="issue_ref" type="checkbox"{{if (call .IsCommentTypeGroupChecked "issue_ref")}} checked{{end}}>
|
||||
<label>{{.locale.Tr "settings.comment_type_group_issue_ref"}}</label>
|
||||
</div>
|
||||
|
@ -168,5 +169,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{template "base/footer" .}}
|
||||
|
|
Loading…
Add table
Reference in a new issue