changing to new admin_layout

This commit is contained in:
Matthew K. Fu JuYuan 2012-03-27 15:34:21 +08:00
parent 2e2647af42
commit 1451c3ac1d
2 changed files with 11 additions and 14 deletions

View File

@ -0,0 +1,11 @@
<tr class="with_action">
<td class="span1"><input type="checkbox"></td>
<td class="span1-2"><%= location %></td>
<td class="span1">
<i class="icons-picture img-peview" rel="popover" data-content="&lt;img src=<%= ad_image.file %> /&gt;" data-original-title=<%= ad_image.picture_intro %>></i>
</td>
<td class="span7"><%= link_to (ad_image.picture_intro || t("untitled")),'' %></td>
<td class="span1-2"><%= start_date %></td>
<td class="span1-2"><%= end_date.nil?? t('form.date_unlimited'): end_date %></td>
<td class="span1-2"><%= style %></td>
</tr>

View File

@ -1,14 +0,0 @@
class Panel::Announcement::BackEnd::BulletinLinksController < ApplicationController
layout 'new_admin'
def index
@bulletin_links = BulletinLink.all
respond_to do |format|
format.html # index.html.erb
# format.xml { render :xml => @bulletins }
format.js
end
end