mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 20:23:14 +08:00
d207cf5dce
* Preparing helpers for comments * Refactored comments over scinote * Update events
10 lines
433 B
Text
10 lines
433 B
Text
<h5 class="text-center"><%= t('projects.index.comment_tab') %></h5>
|
|
<hr>
|
|
<%= render partial: 'shared/comments/comments.html.erb', locals: {
|
|
object: @project,
|
|
comments: comments,
|
|
can_create_comments: can_create_comments_in_project?(@project),
|
|
create_url: project_project_comments_path(@project, format: :json),
|
|
more_url: project_project_comments_path(@project, format: :json, from: comments.first&.id)
|
|
} %>
|
|
|