修改讨论吧中引用的显示
This commit is contained in:
parent
f614ab33e2
commit
15550ead3e
|
@ -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},
|
||||||
|
|
Loading…
Reference in New Issue