Skip to content

Commit

Permalink
notice nav
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Aug 26, 2024
1 parent 07c35bb commit 5f872fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GIT
remote: https://github.com/work-design/rails_auth.git
revision: d8aca9881026decce25526d543b7cda3d4a69479
revision: fdaf48f4c938020f9afcd5fed43ca6a471a74aab
specs:
rails_auth (1.2.0)
bcrypt (~> 3.1)
Expand All @@ -9,7 +9,7 @@ GIT

GIT
remote: https://github.com/work-design/rails_com.git
revision: 04d6500361708cb307bfac025bf6105f82f305ab
revision: 83f355edd4383aad8e8bda1116577e91c5a484b4
specs:
rails_com (1.3.0)
acme-client
Expand All @@ -30,7 +30,7 @@ GIT

GIT
remote: https://github.com/work-design/rails_design.git
revision: 8a14339a3984e0aa217fd56b74439bb408d4b66d
revision: b38f696357040011dbea9785a8ebd2cd19932e98
specs:
rails_design (0.0.1)
rails
Expand Down
4 changes: 2 additions & 2 deletions app/views/my/_notice_nav.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<span class="menu-label"><%= t('notice.my.title') %></span>
<div class="menu-label"><%= t('notice.my.title') %></div>
<div class="menu-list">
<%= link_to({ controller: 'notice/my/notifications' }, class: active_helper(notifications: 'index', active: 'is-active')) do %>
<span><%= t('notice.my.notifications.index.unread') %></span>
<span><%= t('notice.my.notifications.index.title') %></span>
<span class="tag"><%= current_user.unread_count %></span>
<% end %>
<%= link_to t('notice.my.notifications.readed.title'), { controller: 'notice/my/notifications', action: 'readed' }, class: active_helper(notifications: 'readed', active: 'is-active') %>
Expand Down

0 comments on commit 5f872fb

Please sign in to comment.