mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Merge pull request #486 from mlorb/ml_sci_1033
Fix user has no teams view [SCI-1033]
This commit is contained in:
commit
8c111db31a
3 changed files with 4 additions and 4 deletions
|
@ -99,7 +99,7 @@
|
|||
<div class="jumbotron">
|
||||
<h2><%=t 'projects.index.no_teams.title' %></h2>
|
||||
<p><%=t 'projects.index.no_teams.text' %></p>
|
||||
<p>
|
||||
<p data-hook="projects-manage-teams-button">
|
||||
<%= link_to t('projects.index.no_teams.btn'), teams_path, class: 'btn btn-primary' %>
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
<div class="jumbotron">
|
||||
<h2><%=t 'protocols.index.no_teams.title' %></h2>
|
||||
<p><%=t 'protocols.index.no_teams.text' %></p>
|
||||
<p>
|
||||
<p data-hook="protocols-manage-teams-button">
|
||||
<%= link_to t('protocols.index.no_teams.btn'), teams_path, class: 'btn btn-primary' %>
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -219,7 +219,7 @@ en:
|
|||
invite_users_details: "to team %{team}."
|
||||
contact_admins: "To invite additional users to team %{team}, contact its administrator/s."
|
||||
no_teams:
|
||||
title: "It's empty here!"
|
||||
title: "Your dashboard is empty!"
|
||||
text: "It seems you're not a member of any team. See team management to sort it out."
|
||||
btn: "Manage teams"
|
||||
create:
|
||||
|
@ -1259,7 +1259,7 @@ en:
|
|||
description: "Archived protocols can only be seen by you. Restoring protocols will return them to their previous location (public/private)."
|
||||
restore: "Restore"
|
||||
no_teams:
|
||||
title: "It's empty here!"
|
||||
title: "Your dashboard is empty!"
|
||||
text: "It seems you're not a member of any team. See team management to sort it out."
|
||||
btn: "Manage teams"
|
||||
make_private_unauthorized: "You do not have permission to make selected protocols private."
|
||||
|
|
Loading…
Reference in a new issue