Skip to content
Snippets Groups Projects
Commit 7ccd0105 authored by Mark M. Florida's avatar Mark M. Florida
Browse files

XNAT-3693: Site admins will now see New > Project in the top menu.

parent 74bc7217
No related branches found
No related tags found
No related merge requests found
......@@ -5,9 +5,9 @@
#* @vtlvariable name="displayManager" type="org.nrg.xdat.display.DisplayManager" *#
#* @vtlvariable name="project" type="org.nrg.xdat.om.XnatProjectdata" *#
<!-- Sequence: 10 -->
#if($siteConfig.getUiAllowNonAdminProjectCreation() || $data.getSession().getAttribute("userHelper").canCreate("xnat:subjectData/project"))
#if ($turbineUtils.isSiteAdmin($user) || $siteConfig.getUiAllowNonAdminProjectCreation() || $data.getSession().getAttribute("userHelper").canCreate("xnat:subjectData/project"))
<li><a href="$link.setPage("XDATScreen_add_xnat_projectData.vm")">$displayManager.getSingularDisplayNameForProject()</a></li>
#end
#end
<!-- -->
#if ($data.getSession().getAttribute("userHelper").canCreate("xnat:subjectData"))
#if($project)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment