修正谷歌浏览器贴吧图标偏移问题
This commit is contained in:
parent
583bdd7a54
commit
847bb35906
|
@ -31,12 +31,7 @@
|
||||||
</div>
|
</div>
|
||||||
<!--modified by huang-->
|
<!--modified by huang-->
|
||||||
<% #= link_to '发布帖子', new_forum_memo_path(@forum), :class => 'icon icon-add' %>
|
<% #= link_to '发布帖子', new_forum_memo_path(@forum), :class => 'icon icon-add' %>
|
||||||
<span>
|
<span class="contextual-borad">
|
||||||
<%= link_to l(:label_memo_new_from_forum), new_forum_memo_path(@forum), :class => 'icon icon-add',
|
|
||||||
:onclick => 'showAndScrollTo("add-memo", "memo_subject"); return false;' if User.current.logged? %>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
<div class="contextual-borad">
|
|
||||||
<%= link_to(
|
<%= link_to(
|
||||||
image_tag('edit.png')+l(:label_forum_edit),
|
image_tag('edit.png')+l(:label_forum_edit),
|
||||||
{:action => 'edit', :id => @forum},
|
{:action => 'edit', :id => @forum},
|
||||||
|
@ -50,5 +45,11 @@
|
||||||
:data => {:confirm => l(:text_are_you_sure)},
|
:data => {:confirm => l(:text_are_you_sure)},
|
||||||
:title => l(:button_delete)
|
:title => l(:button_delete)
|
||||||
) if @forum.destroyable_by?(User.current) %>
|
) if @forum.destroyable_by?(User.current) %>
|
||||||
</div>
|
</span>
|
||||||
|
<span>
|
||||||
|
<%= link_to l(:label_memo_new_from_forum), new_forum_memo_path(@forum), :class => 'icon icon-add',
|
||||||
|
:onclick => 'showAndScrollTo("add-memo", "memo_subject"); return false;' if User.current.logged? %>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
<%= render :partial => 'forums/show_topics', :locals => {:memos => @memos} %>
|
<%= render :partial => 'forums/show_topics', :locals => {:memos => @memos} %>
|
||||||
|
|
Loading…
Reference in New Issue