mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-05 20:54:27 +08:00
Merge pull request #1224 from ZmagoD/zd_SCI_2429
fixes setting sidebar teams link[fixes SCI-2429]
This commit is contained in:
commit
f23cc36803
2 changed files with 10 additions and 1 deletions
|
@ -73,3 +73,7 @@
|
|||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.all-teams-navigation-link {
|
||||
color: $color-white !important;
|
||||
}
|
||||
|
|
|
@ -63,7 +63,12 @@
|
|||
<li class="<%= 'active' if on_settings_team_page? %>" >
|
||||
<span class="tree-link line-wrap no-indent">
|
||||
<% if on_settings_team_page? %>
|
||||
<span title="<%= t("users.settings.sidebar.teams") %>"><%= t("users.settings.sidebar.teams") %></span>
|
||||
<span title="<%= t("users.settings.sidebar.teams") %>">
|
||||
<%= link_to t("users.settings.sidebar.teams"),
|
||||
teams_path,
|
||||
data: { 'no-turbolink' => 'true' },
|
||||
class: 'all-teams-navigation-link' %>
|
||||
</span>
|
||||
<% else %>
|
||||
<%= link_to t("users.settings.sidebar.teams"),
|
||||
teams_path,
|
||||
|
|
Loading…
Add table
Reference in a new issue