Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/notes_helper.rb')
-rw-r--r--app/helpers/notes_helper.rb15
1 files changed, 1 insertions, 14 deletions
diff --git a/app/helpers/notes_helper.rb b/app/helpers/notes_helper.rb
index 75e89a7d7bc..e67e6c22e1a 100644
--- a/app/helpers/notes_helper.rb
+++ b/app/helpers/notes_helper.rb
@@ -21,15 +21,6 @@ module NotesHelper
Notes::QuickActionsService.supported?(note)
end
- def noteable_json(noteable)
- {
- id: noteable.id,
- class: noteable.class.name,
- resources: noteable.class.table_name,
- project_id: noteable.project.id
- }.to_json
- end
-
def diff_view_data
return {} unless @new_diff_note_attrs
@@ -74,7 +65,7 @@ module NotesHelper
content_tag(
:textarea,
rows: 1,
- placeholder: _('Reply...'),
+ placeholder: _('Reply…'),
'aria-label': _('Reply to comment'),
class: 'reply-placeholder-text-field js-discussion-reply-button',
data: {
@@ -87,10 +78,6 @@ module NotesHelper
end
end
- def note_max_access_for_user(note)
- note.project.team.max_member_access(note.author_id)
- end
-
def note_human_max_access(note)
note.project.team.human_max_access(note.author_id)
end