diff options
author | Phil Hughes <me@iamphill.com> | 2016-07-14 16:28:58 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-07-24 22:12:58 +0300 |
commit | c1fe066b4b0d822950ec67179c11ca19f3de5dd6 (patch) | |
tree | 2957ce09f45361510d23c02834ec536c0893adad /app/helpers/notes_helper.rb | |
parent | 43131802a97da44bcef0f9c54e0724b9af62a206 (diff) |
Added resolve button to discussions
Top count displays how many resolved discussions
Diffstat (limited to 'app/helpers/notes_helper.rb')
-rw-r--r-- | app/helpers/notes_helper.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/helpers/notes_helper.rb b/app/helpers/notes_helper.rb index 0f60dd828ab..226f0423132 100644 --- a/app/helpers/notes_helper.rb +++ b/app/helpers/notes_helper.rb @@ -81,10 +81,8 @@ module NotesHelper data = discussion.reply_attributes.merge(line_type: line_type) - content_tag(:div, class: "discussion-reply-holder") do - button_tag 'Reply...', class: 'btn btn-text-field js-discussion-reply-button', - data: data, title: 'Add a reply' - end + button_tag 'Reply...', class: 'btn btn-text-field js-discussion-reply-button', + data: data, title: 'Add a reply' end def note_max_access_for_user(note) |