Sha256: f1beba68c9abfc299a84ef3110b077e2ba7454c70e2cf3d392297c492c978d2f
Contents?: true
Size: 1.3 KB
Versions: 1
Compression:
Stored size: 1.3 KB
Contents
<tr class="<%= state_class(item) %>"> <td class="field"><input class= "feedback_check" type="checkbox" name="feedback_check[<%= item.id %>]"/></td> <td class="operation"><%=h item.state %></td> <td class="field"><%=h item.class %></td> <td class="field"><%= link_to_article_edit item.article %></td> <td class="field"> <%=h (item.author || '(unknown)').slice(0,40) %><br/> <% if item.url -%> <%= link_to h(truncate(item.url.to_s)), item.url %><br/> <% end -%> <%=h item.email.to_s.slice(0,40) %> </td> <td class="field"><%=h truncate(item.body,80)%></td> <td class="field"><%=h item.ip %></td> <td class="field"><%=item.created_at.strftime("%d/%m/%Y at %H:%M")%></td> <td class="operation"><%= link_to image_tag('show.png', :alt => "show", :title => "Show content"), :controller => 'comments', :article_id => item.article_id, :action => 'show', :id => item.id %></td> <td class="operation"><%= link_to image_tag('edit.png', :alt => "edit", :title => "Edit content"), :controller => 'comments', :article_id => item.article_id, :action => 'edit', :id => item.id %></td> <td class="operation"><%= link_to image_tag('delete.png'), {:action => 'delete', :id => item.id, :search => params[:search], :page => params[:page] }, :confirm => "Are you sure?", :method => :post %></td> </tr>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
typo-4.1.1 | app/views/admin/feedback/_item.rhtml |