Mercurial > hg > ismi-richfaces
diff src/main/webapp/templates/main_template.xhtml @ 51:8efabe84b7ea
restricted page editor, definition editor and admin menus to admins.
author | casties |
---|---|
date | Wed, 30 Sep 2015 15:52:17 +0000 |
parents | 764f47286679 |
children | 4ee8d47e1e34 |
line wrap: on
line diff
--- a/src/main/webapp/templates/main_template.xhtml Thu Jul 16 09:52:15 2015 +0000 +++ b/src/main/webapp/templates/main_template.xhtml Wed Sep 30 15:52:17 2015 +0000 @@ -128,7 +128,7 @@ </div> <div id="headerContent"> <h1> - <a href="#{ApplicationBean1.root}">ISMI</a> + <a href="#{ApplicationBean1.root}">ISMI Lab</a> </h1> <p>Islamic Scientific Manuscripts Initiative</p> </div> @@ -201,16 +201,17 @@ <h:outputLink rendered="#{Session.canCreate}" value="#{ApplicationBean1.root}/search/biographies.xhtml">Biographies</h:outputLink> - <h:outputLink rendered="#{Session.canCreate}" + <!-- + <h:outputLink rendered="#{Session.admin}" value="#{ApplicationBean1.root}/imageServer/displayDigiList.xhtml">Image Server</h:outputLink> - - <h:outputLink rendered="#{Session.canCreate}" + --> + <h:outputLink rendered="#{Session.admin}" value="#{ApplicationBean1.root}/public/dynamicPageEditor.xhtml">Dynamic Page Editor</h:outputLink> - <h:outputLink rendered="#{Session.canCreate}" + <h:outputLink rendered="#{Session.admin}" value="#{ApplicationBean1.root}/defs/defEditor.xhtml">Definition Editor</h:outputLink> - <h:outputLink rendered="#{Session.canCreate}" + <h:outputLink rendered="#{Session.admin}" value="#{ApplicationBean1.root}/admin/admin.xhtml">Admin</h:outputLink>