|
|
|
@ -72,13 +72,20 @@ function checkMaxLength() {
|
|
|
|
|
<span>
|
|
|
|
|
<% if reply_allow %>
|
|
|
|
|
<%= link_to l(:label_projects_feedback_respond),'#',
|
|
|
|
|
{:focus => 'project_respond',
|
|
|
|
|
:onclick => "toggleAndSettingWordsVal($('##{id}'),
|
|
|
|
|
$('##{id} textarea'),
|
|
|
|
|
'#{l(:label_reply_plural)} #{journal.user.name}: ');
|
|
|
|
|
{:focus => 'project_respond',
|
|
|
|
|
:onclick => "toggleAndSettingWordsVal($('##{id}'),
|
|
|
|
|
$('##{id} textarea'),
|
|
|
|
|
'#{l(:label_reply_plural)} #{journal.user.name}: ');
|
|
|
|
|
return false;"} %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
<% if User.current.logged? %>
|
|
|
|
|
<% if journal.user_id==User.current.id|| User.current.admin? %>
|
|
|
|
|
<%= link_to(l(:button_delete),{:controller => 'words', :action => 'destroyJournal', :object_id => journal.id},
|
|
|
|
|
:remote => true, :title => l(:button_delete)) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
<div style="clear: both;"></div>
|
|
|
|
|
<% if reply_allow %>
|
|
|
|
|