From 5f5cb14f5fc2698f96531c89ebcfd309608d9fbe Mon Sep 17 00:00:00 2001
From: Rick Herrick <jrherrick@wustl.edu>
Date: Mon, 15 Aug 2016 15:47:56 -0500
Subject: [PATCH] XNAT-4365 A couple extra changes for the previous commit that
 got missed on the update.

---
 src/main/webapp/scripts/project/userMgmt.js                 | 3 ++-
 .../xnat_projectData/xnat_projectData_summary_management.vm | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/main/webapp/scripts/project/userMgmt.js b/src/main/webapp/scripts/project/userMgmt.js
index 84d22a91..ac7725bc 100644
--- a/src/main/webapp/scripts/project/userMgmt.js
+++ b/src/main/webapp/scripts/project/userMgmt.js
@@ -277,7 +277,8 @@ function UserManager(user_mgmt_div_id, pID, retrieveAllUsers){
 		} else {
 			this.setFormDisabled(false);
 			document.getElementById("popup_all_users_button").disabled = true;
-			document.getElementById("popup_all_users_button_container").title = "Access to the system user list is restricted to administrators only. You can add users by username or email in the Add/Invite User control above."
+			document.getElementById("popup_all_users_button_container1").style.visibility = "hidden";
+			document.getElementById("popup_all_users_button_container2").style.visibility = "hidden";
 		}
 		this.allLoader.close();
 	};
diff --git a/src/main/webapp/xnat-templates/screens/xnat_projectData/xnat_projectData_summary_management.vm b/src/main/webapp/xnat-templates/screens/xnat_projectData/xnat_projectData_summary_management.vm
index fb9e0fc6..9fbd5cf1 100644
--- a/src/main/webapp/xnat-templates/screens/xnat_projectData/xnat_projectData_summary_management.vm
+++ b/src/main/webapp/xnat-templates/screens/xnat_projectData/xnat_projectData_summary_management.vm
@@ -31,13 +31,13 @@
                         <TD COLSPAN="3">&nbsp;</TD>
                     </TR>
                     #if($showUserList)
-                        <TR>
+                        <TR id="popup_all_users_button_container1">
                             <TD COLSPAN="3"><h4 id="user_list_header" style="margin-bottom:0px">Add Users from List</h4>
                             </TD>
                         </TR>
-                        <TR>
+                        <TR id="popup_all_users_button_container2">
                             <TD COLSPAN="3" NOWRAP>
-                                <div id="popup_all_users_button_container"><input type="button" id="popup_all_users_button" disabled="true" value="Show List" ONCLICK="window.userManager.popupAllUsersBox();"/></div>
+                                <input type="button" id="popup_all_users_button" disabled="true" value="Show List" ONCLICK="window.userManager.popupAllUsersBox();"/>
                             </TD>
                         </TR>
                     #end
-- 
GitLab