修改讨论吧中引用的显示

This commit is contained in:
wanglinchun 2014-03-10 17:34:19 +08:00
parent f614ab33e2
commit 15550ead3e
1 changed files with 8 additions and 4 deletions

View File

@ -5,13 +5,15 @@
</div> </div>
<div class="memo-section"> <div class="memo-section">
<div class="contextual-borad"> <div class="contextual-borad">
<%= link_to( <!-- <%= link_to(
image_tag('comment.png'), image_tag('comment.png'),
{:action => 'quote', :id => @memo}, {:action => 'quote', :id => @memo},
:remote => true, :remote => true,
:method => 'get', :method => 'get',
:title => l(:button_quote) :title => l(:button_quote)
)if !@memo.locked? && User.current.logged? %> )if !@memo.locked? && User.current.logged? %> -->
<%= link_to(l(:button_quote))if !@memo.locked? && User.current.logged? %>
<%= link_to( <%= link_to(
image_tag('edit.png'), image_tag('edit.png'),
{:action => 'edit', :id => @memo}, {:action => 'edit', :id => @memo},
@ -50,13 +52,15 @@
<div class="reply" id="<%= "reply-#{reply.id}" %>"> <div class="reply" id="<%= "reply-#{reply.id}" %>">
<p class="font_lighter"><%= pages_count += 1 %>楼 :</p> <p class="font_lighter"><%= pages_count += 1 %>楼 :</p>
<div class="contextual-borad"> <div class="contextual-borad">
<%= link_to( <!-- <%= link_to(
image_tag('comment.png'), image_tag('comment.png'),
{:action => 'quote', :id => reply}, {:action => 'quote', :id => reply},
:remote => true, :remote => true,
:method => 'get', :method => 'get',
:title => l(:button_quote) :title => l(:button_quote)
)if !@memo.locked? && User.current.logged? %> )if !@memo.locked? && User.current.logged? %> -->
<%= link_to(l(:button_quote))if !@memo.locked? && User.current.logged? %>
<%= link_to( <%= link_to(
image_tag('edit.png'), image_tag('edit.png'),
{:action => 'edit', :id => reply}, {:action => 'edit', :id => reply},