mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-01 04:32:16 +08:00
fix user has no teams view
This commit is contained in:
parent
6f1c19ae2d
commit
90864a45a0
3 changed files with 4 additions and 12 deletions
|
@ -99,9 +99,6 @@
|
|||
<div class="jumbotron">
|
||||
<h2><%=t 'projects.index.no_teams.title' %></h2>
|
||||
<p><%=t 'projects.index.no_teams.text' %></p>
|
||||
<p>
|
||||
<%= link_to t('projects.index.no_teams.btn'), teams_path, class: 'btn btn-primary' %>
|
||||
</p>
|
||||
</div>
|
||||
<% else %>
|
||||
<h2 class="page-header"><%= current_team.name %></h2>
|
||||
|
|
|
@ -116,9 +116,6 @@
|
|||
<div class="jumbotron">
|
||||
<h2><%=t 'protocols.index.no_teams.title' %></h2>
|
||||
<p><%=t 'protocols.index.no_teams.text' %></p>
|
||||
<p>
|
||||
<%= link_to t('protocols.index.no_teams.btn'), teams_path, class: 'btn btn-primary' %>
|
||||
</p>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
|
|
@ -219,9 +219,8 @@ 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!"
|
||||
text: "It seems you're not a member of any team. See team management to sort it out."
|
||||
btn: "Manage teams"
|
||||
title: "Your dashboard is empty!"
|
||||
text: "Currently you are not assigned to any Team. For more information please contact one of your administrators."
|
||||
create:
|
||||
success_flash: "Project <strong>%{name}</strong> successfully created."
|
||||
update:
|
||||
|
@ -1259,9 +1258,8 @@ 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!"
|
||||
text: "It seems you're not a member of any team. See team management to sort it out."
|
||||
btn: "Manage teams"
|
||||
title: "Your dashboard is empty!"
|
||||
text: "Currently you are not assigned to any Team. For more information please contact one of your administrators."
|
||||
make_private_unauthorized: "You do not have permission to make selected protocols private."
|
||||
make_private_error: "Error occured while making selected protocols private."
|
||||
publish_unauthorized: "You do not have permission to publish selected protocols."
|
||||
|
|
Loading…
Reference in a new issue