Actualizado plugin Redmine Questions 1.0.0 light
This commit is contained in:
parent
27e60f8ec1
commit
5d7889f1c9
140 changed files with 5342 additions and 1430 deletions
|
@ -0,0 +1,27 @@
|
|||
<div class="comment" id="comment_<%= comment.id %>">
|
||||
<div class="contextual">
|
||||
<%= link_to(
|
||||
"",
|
||||
{:controller => 'questions_comments', :action => 'edit', :source_id => comment.commented, :source_type => comment.commented.class.name.underscore, :id => comment.id},
|
||||
:class => 'icon icon-edit',
|
||||
:method => :get
|
||||
) if (User.current.allowed_to?(:edit_question_comments, comment.commented.project) || (comment.author == User.current && User.current.allowed_to?(:edit_own_question_comments, comment.commented.project)))
|
||||
%>
|
||||
<%= link_to(
|
||||
"",
|
||||
{:controller => 'questions_comments', :action => 'destroy', :source_id => comment.commented, :id => comment, :source_type => comment.commented.class.name.underscore}, :class => 'icon icon-del',
|
||||
:data => {:confirm => l(:text_are_you_sure)},
|
||||
:method => :delete,
|
||||
:title => l(:button_delete)
|
||||
) if (User.current.allowed_to?(:edit_question_comments, comment.commented.project) || (comment.author == User.current && User.current.allowed_to?(:edit_own_question_comments, comment.commented.project)))
|
||||
%>
|
||||
</div>
|
||||
<div class="author">
|
||||
<%= link_to_user comment.author %>
|
||||
<%= time_tag(comment.created_on) %>
|
||||
</div>
|
||||
<div class="wiki-content">
|
||||
<%= textilizable(comment.comments) %>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue