diff options
| author | Fatih Acet <acetfatih@gmail.com> | 2017-06-29 18:59:22 +0300 |
|---|---|---|
| committer | Fatih Acet <acetfatih@gmail.com> | 2017-07-21 22:35:25 +0300 |
| commit | 15f3362d343ab7ea51402b81c339bc1bd25fa9eb (patch) | |
| tree | f2cee64a203ed220bad63f5764309e8026de946b /app/views/projects/issues | |
| parent | 17d67a989bb1a87df17583e96b387aa3fa3a9f56 (diff) | |
| download | gitlab-ce-15f3362d343ab7ea51402b81c339bc1bd25fa9eb.tar.gz | |
IssueDiscussionsRefactor: Implement polling mechanism.
Diffstat (limited to 'app/views/projects/issues')
| -rw-r--r-- | app/views/projects/issues/_discussion.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/_discussion.html.haml b/app/views/projects/issues/_discussion.html.haml index 8e4b9f8910a..ab0534f1fb0 100644 --- a/app/views/projects/issues/_discussion.html.haml +++ b/app/views/projects/issues/_discussion.html.haml @@ -3,7 +3,7 @@ = link_to 'Reopen issue', issue_path(@issue, issue: {state_event: :reopen}, format: 'json'), data: {original_text: "Reopen issue", alternative_text: "Comment & reopen issue"}, class: "btn btn-nr btn-reopen btn-comment js-note-target-reopen #{issue_button_visibility(@issue, false)}", title: 'Reopen issue' = link_to 'Close issue', issue_path(@issue, issue: {state_event: :close}, format: 'json'), data: {original_text: "Close issue", alternative_text: "Comment & close issue"}, class: "btn btn-nr btn-close btn-comment js-note-target-close #{issue_button_visibility(@issue, true)}", title: 'Close issue' -%section{ data: { discussions_path: discussions_namespace_project_issue_path(@project.namespace, @project, @issue, format: :json), new_session_path: new_session_path(:user, redirect_to_referer: 'yes') } } +%section{ data: { discussions_path: discussions_namespace_project_issue_path(@project.namespace, @project, @issue, format: :json), new_session_path: new_session_path(:user, redirect_to_referer: 'yes'), notes_path: notes_url, last_fetched_at: Time.now.to_i } } #js-notes - content_for :page_specific_javascripts do = webpack_bundle_tag 'common_vue' |
