Sha256: 473d0031b397554136ab20f7b4e9794bea3e48117eff8e72e04bc15ca3b97b7e
Contents?: true
Size: 1.35 KB
Versions: 1
Compression:
Stored size: 1.35 KB
Contents
<% @page_heading = _("Comments for %s (%s)","#{ link_to h(@article.title), :controller => '/admin/content', :action => 'new', :id => @article.id }","#{ link_to _('add a comment'), '#comment' }") %> <% 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> <%= simple_format(h(comment.body)) %> <p> <%= comment.created_at.strftime("%m/%d/%Y %H:%M") %> – [ <%= 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
typo-5.2 | app/views/admin/feedback/article.html.erb |