Skip to content

Commit

Permalink
Change to my team for user dashboard.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Guo committed Nov 12, 2024
1 parent a256de6 commit 818a47a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/sidebars/_application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<button class="sidebar-toggler" type="button" data-coreui-toggle="unfoldable" data-action="click->sidebar#click"></button>
</div>
<ul class="sidebar-nav" data-coreui="navigation" data-simplebar>
<%= nav_item(t('.dashboard'), root_path, 'free.svg#cil-speedometer') do %>
<%= nav_item(t('.my_team'), root_path, 'free.svg#cil-speedometer') do %>
<span class="badge bg-primary ms-auto">NEW</span>
<% end %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/ui/avatar_areas/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="dropdown-header bg-light py-2 dark:bg-white dark:bg-opacity-10">
<div class="fw-semibold"><%= current_user&.email -%></div>
<div class="fw-semibold"><%= current_user&.chinese_name -%></div>
</div>
<%= link_to account_profile_path, class: "dropdown-item" do %>
<%= svg_icon('free.svg#cil-user', %w[icon me-2]) %>
Expand Down
2 changes: 1 addition & 1 deletion config/locales/views/layouts/sidebar/admin/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ en:
sidebars:
admin:
header: "Home"
dashboard: "Dashboard"
dashboard: "Admin dashboard"
account: "Account"
2 changes: 1 addition & 1 deletion config/locales/views/layouts/sidebar/admin/zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ zh-CN:
sidebars:
admin:
header: "首页"
dashboard: "仪表板"
dashboard: "管理员仪表板"
account: "账号"
2 changes: 1 addition & 1 deletion config/locales/views/layouts/sidebar/application/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ en:
sidebars:
application:
header: "Home"
dashboard: "Dashboard"
my_team: "My team"
account: "Account"
2 changes: 1 addition & 1 deletion config/locales/views/layouts/sidebar/application/zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ zh-CN:
sidebars:
application:
header: "首页"
dashboard: "仪表板"
my_team: "我的团队"
account: "账号"

0 comments on commit 818a47a

Please sign in to comment.