添加新图标,新base

This commit is contained in:
huang 2015-08-24 11:37:50 +08:00
parent 3b3712891b
commit 374c596a50
2 changed files with 6 additions and 3 deletions

View File

@ -177,7 +177,7 @@ class UsersController < ApplicationController
return
end
respond_to do |format|
format.html{render :layout=>'base_users_new'}
format.html{render :layout=>'new_base_user'}
end
end

View File

@ -38,7 +38,10 @@
</ul>
</div>
<div class="navHomepageNews">
<a href="javascript:void(0);" class="homepageNewsIcon">
<%= link_to image_tag("/images/news_icon_small.png" , :width => "21", :height => "24"), {:controller=> 'users', :action => 'user_messages', id: User.current.id, host: Setting.host_user} %>
<% if User.current.count_new_message >0 %>
<div class="newsActive"></div>
<% end %>
<div class="newsActive"></div>
</a></div>
</div>
</div>