Sha256: 192da56cd47666bff45140313c3af43504f5739daf980a617076fad0aa1122c8
Contents?: true
Size: 1.3 KB
Versions: 2
Compression:
Stored size: 1.3 KB
Contents
<% @page_heading = _("Comments for %s", @article.title) %> <% @link_to_new = link_to(_("Add a comment"), '#comment', {:id => 'dialog-link', :class => 'ui-state-default ui-corner-all'}) %> <% content_for (:tasks) do %> <%= subtab(_('All comments'), {:action => :article, :id => @article.id, :ham => 'y', :spam => 'y'} ) %> <%= subtab(_('Limit to ham'), {:action => :article, :id => @article.id, :ham => 'y'}) %> <%= subtab(_('Limit to spam'), {:action => :article, :id => @article.id, :spam => 'y'}) %> <% end %> <div class="list"> <ol> <% for comment in @comments -%> <li <%= alternate_class %>> <p><strong><%= mail_to h(comment.email), h(comment.author) %></strong> | <%= link_to_unless comment.url.blank?, h(comment.url), comment.url %> | IP: <%=h comment.ip %></p> <%= h(comment.body) %> <p> <%= format_date comment.created_at %> – [ <%= link_to_edit _("Edit"), comment %> | <%= link_to _("Delete") , {:action => 'delete', :id => comment.id, :search => params[:search], :page => params[:page] }, :confirm => _("Are you sure?"), :method => :post %> | <%= comment.state %> ] </p> </li> <% end -%> </ol> </div> <hr /> <% form_tag :action => "create" do %> <%= render :partial => "form" %> <%= cancel_or_save %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
typo-5.5 | app/views/admin/feedback/article.html.erb |
typo-5.4.4 | app/views/admin/feedback/article.html.erb |