mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Allow org. administrators to invite them onto all projects
This commit is contained in:
parent
00a3b8b94e
commit
06b1e5cf20
3 changed files with 6 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
|||
I18n setupSidebarTree */
|
||||
|
||||
//= require comments
|
||||
(function() {
|
||||
(function(global) {
|
||||
var newProjectModal = null;
|
||||
var newProjectModalForm = null;
|
||||
var newProjectModalBody = null;
|
||||
|
@ -203,7 +203,7 @@
|
|||
}
|
||||
|
||||
// Initialize users editing modal remote loading.
|
||||
function initUsersEditLink($el) {
|
||||
global.initUsersEditLink = function($el) {
|
||||
$el.find('.manage-users-link')
|
||||
.on('ajax:before', function() {
|
||||
var projectId = $(this).closest('.panel-default').attr('id');
|
||||
|
@ -771,4 +771,4 @@
|
|||
initProjectsViewModeSwitch();
|
||||
initSorting();
|
||||
loadCardsView();
|
||||
}());
|
||||
}(window));
|
||||
|
|
|
@ -783,7 +783,9 @@ ul.double-line > li {
|
|||
}
|
||||
|
||||
.manage-users-link {
|
||||
display: block;
|
||||
padding-left: 15px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<h5 class="text-center"><%= t("projects.index.users_tab") %></h5>
|
||||
<hr>
|
||||
<ul class="no-style content-users">
|
||||
<ul class="no-style content-users" data-hook="project-users-tab-list">
|
||||
<% if @users.size == 0 then %>
|
||||
<li><em><%= t 'projects.index.no_users' %></em></li>
|
||||
<% else %>
|
||||
|
|
Loading…
Reference in a new issue