* Additional effects

* Fixed flash pngs
* Fixed dmail search links
This commit is contained in:
albert
2011-11-03 17:42:40 -04:00
parent f6367aab49
commit c478eb33b6
13 changed files with 26 additions and 24 deletions

View File

@@ -6,6 +6,7 @@
<% if @user.id == CurrentUser.id %>
<li><%= link_to "Settings", edit_user_path(CurrentUser.user) %></li>
<li><%= link_to "Profile", user_path(CurrentUser.user) %></li>
<li><%= link_to "Messages (#{CurrentUser.dmails.unread.count})", dmails_path(:search => {:owner_id_eq => CurrentUser.id, :to_id_eq => CurrentUser.id}) %></li>
<% else %>
<li><%= link_to "Send message", new_dmail_path(:dmail => {:to_id => @user.id}) %></li>
<% end %>