diff --git a/app/views/layouts/_base_header.html.erb b/app/views/layouts/_base_header.html.erb index f67066c30..9be9065cc 100644 --- a/app/views/layouts/_base_header.html.erb +++ b/app/views/layouts/_base_header.html.erb @@ -7,9 +7,11 @@ <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %> - <%= content_tag('div', "#{link_to(image_tag('/images/mes.png'), feedback_path(User.current))}".html_safe, :id => 'loggedas') if User.current.logged? %> -
- <%= User.current.count_new_jour%> +
+ <%= content_tag('div', "#{link_to(image_tag('/images/mes.png'), feedback_path(User.current))}".html_safe, :title => "留言") if User.current.logged? %> +
+
+ <%= User.current.count_new_jour if User.current.logged? && User.current.count_new_jour != 0 %>
diff --git a/app/views/users/user_newfeedback.html.erb b/app/views/users/user_newfeedback.html.erb index 13d4312cb..b5114ef9c 100644 --- a/app/views/users/user_newfeedback.html.erb +++ b/app/views/users/user_newfeedback.html.erb @@ -2,6 +2,10 @@
<%= render :partial => 'words/new', :locals => {:user => @user, :sta => @state} %>
+
+留言(<%= @feedback_count%>) +
+
<%= render :partial => 'words/message', :locals => {:jour => @jour, :state => @state, :user => @user, :feedback_pages => @feedback_pages} %>
diff --git a/public/images/mes.png b/public/images/mes.png index 9e7837020..34c8f0afd 100644 Binary files a/public/images/mes.png and b/public/images/mes.png differ