File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
java/eu/openanalytics/shinyproxy/controllers
resources/templates/fragments Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ public class AdminController extends BaseController {
58
58
@ RequestMapping ("/admin" )
59
59
private String admin (ModelMap map , HttpServletRequest request ) {
60
60
prepareMap (map , request );
61
+ map .put ("page" , "admin" );
61
62
62
63
return "admin" ;
63
64
}
@@ -152,7 +153,7 @@ public ProxyInfo(Proxy proxy) {
152
153
backendContainerName = "N/A" ;
153
154
}
154
155
155
- if (proxy .getTargets ().containsKey (proxy . getId () )) {
156
+ if (proxy .getTargets ().containsKey ("" )) {
156
157
endpoint = proxy .getTargets ().get ("" ).toString ();
157
158
} else {
158
159
endpoint = "N/A" ;
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ <h4 class="modal-title">App Details</h4>
87
87
< div class ="modal-body ">
88
88
< div id ="appDetails ">
89
89
</ div >
90
- < form class ="form-inline " id ="changeUserIdForm " th:if ="${allowTransferApp} ">
90
+ < form class ="form-inline " id ="changeUserIdForm " th:if ="${allowTransferApp && page != 'admin' } ">
91
91
< div class ="form-group ">
92
92
< label for ="userIdField "> < span class ="glyphicon glyphicon-chat "> </ span > Transfer app to another user:</ label > < br >
93
93
< div class ="input-group ">
You can’t perform that action at this time.
0 commit comments