Fix backend index table detail

This commit is contained in:
manson 2014-07-20 03:30:33 +08:00
parent fca37fdeb9
commit 4bce9e406c
2 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,7 @@
<div class="quick-edit">
<ul class="nav nav-pills">
<li><a href="/admin/announcements/<%=b.id.to_s%>/edit"><%= t(:edit) %></a></li>
<li><a href="#" class="detail-row" onclick="$('#<%= "#{b.id.to_s}-detail" %>').slideToggle(300)"><%= t(:detail) %></a></li>
<li><a href="#" class="detail-row" onclick="$('#<%= "#{b.id.to_s}-detail" %>').slideToggle(300); return false;"><%= t(:detail) %></a></li>
<li><a href="#" class="delete text-error" rel="/admin/announcements/<%=b.id.to_s%>"><%= t(:delete_) %></a></li>
</ul>
</div>

View File

@ -6,7 +6,6 @@ module Announcement
base_url File.expand_path File.dirname(__FILE__)
widget_methods ["widget"]
widget_settings [{"data_count"=>10}]
data_count 1..10
taggable "Bulletin"
categorizable
authorizable