mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +08:00
Change invite users to project link to new settings page [SCI-1838]
This commit is contained in:
parent
2fa7591f36
commit
4ff6e87fed
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,9 @@
|
|||
<!-- Modal footer for Manage users modal -->
|
||||
<span class="pull-left">
|
||||
<% if is_admin_of_team(@project.team) %>
|
||||
<%= link_to t('projects.index.modal_manage_users.invite_users_link'), team_path(@project.team.id) %>
|
||||
<%= link_to t('projects.index.modal_manage_users.invite_users_link'),
|
||||
"/settings/teams/#{@project.team.id}",
|
||||
data: { turbolinks: false } %>
|
||||
<span><%=t 'projects.index.modal_manage_users.invite_users_details', team: @project.team.name %></span>
|
||||
<% else %>
|
||||
<i><%=t 'projects.index.modal_manage_users.contact_admins', team: @project.team.name %></i>
|
||||
|
|
Loading…
Reference in a new issue