changeset 57:a8243262e7b2

show biographies menu only for admins.
author casties
date Tue, 06 Oct 2015 13:56:24 +0000
parents ce1cd2450848
children 8d598e37d008
files src/main/webapp/templates/main_template.xhtml
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/webapp/templates/main_template.xhtml	Mon Oct 05 12:56:15 2015 +0000
+++ b/src/main/webapp/templates/main_template.xhtml	Tue Oct 06 13:56:24 2015 +0000
@@ -198,10 +198,8 @@
 			<h:outputLink rendered="#{Session.canCreate}"
 				value="#{ApplicationBean1.root}/public/publicCodices.xhtml">Codices marked as public</h:outputLink>
 			
-			<!-- 
-			<h:outputLink  rendered="#{Session.canCreate}"
+			<h:outputLink  rendered="#{Session.admin}"
 				value="#{ApplicationBean1.root}/search/biographies.xhtml">Biographies</h:outputLink>
-		    -->
 				
 		    <!-- 
 			<h:outputLink rendered="#{Session.admin}"