source: trunk/grails-app/views/common/_topnav.gsp @ 1000

Last change on this file since 1000 was 1000, checked in by adem.bilican@…, 11 years ago

first version for a SimpleTox? Exporter : go to Studies > Export as SimpleTox?

  • Property svn:keywords set to Author Date Rev
File size: 2.1 KB
RevLine 
[23]1
2    <!-- TOPNAV //-->
3    <ul class="topnav">
[291]4     <li><g:link controller="home" action="index">Home</g:link></li>
[976]5<sec:ifLoggedIn>
6     <li><g:link controller="study" action="myStudies">My studies</g:link></li>
[985]7</sec:ifLoggedIn>
8        <li>
[89]9      <a href="#">Studies</a>
10      <ul class="subnav">
[100]11        <li><g:link controller="study" action="list">View studies</g:link></li>
[802]12                <li><g:link controller="wizard" action="index">Create/edit study</g:link></li>
13                <li><g:link controller="importer" action="index">Import study data</g:link></li>
14        <li><g:link controller="simpleQuery" action="index">Search study data</g:link></li>
[1000]15      <li><g:link controller="exporter" action="index">Export as SimpleTox</g:link></li>
[89]16      </ul>
17     </li>
[290]18     <li>
[361]19      <a href="#">Contacts</a>
20      <ul class="subnav">
21        <li><g:link controller="person" action="list">View persons</g:link></li>
22        <li><g:link controller="personAffiliation" action="list">View affiliations</g:link></li>
23        <li><g:link controller="personRole" action="list">View roles</g:link></li>
24      </ul>
25     </li>
[482]26    <li>
27    <a href="#">Publications</a>
28    <ul class="subnav">
29      <li><g:link controller="publication" action="list">View publications</g:link></li>
30      <li><g:link controller="publication" action="add">Add publication</g:link></li>
31    </ul>
32   </li>
[290]33    <g:if env="development">
[89]34     <li><g:link controller="query" action="index">Query database</g:link></li>
[290]35         <li>
[89]36          <a href="#">Scaffolded controllers</a>
37          <ul class="subnav"><g:each var="c" in="${grailsApplication.controllerClasses}">
38           <li><g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li></g:each>
39          </ul>
40     </li>
[290]41        </g:if>
[976]42   <sec:ifAllGranted roles="ROLE_ADMIN">
[89]43     <li>
44          <a href="#">User administation</a>
45          <ul class="subnav">
[976]46            <li><g:link controller="user" class="icon icon_user">List Users</g:link></li>
[89]47            <li><g:link controller="user" action="create" class="icon icon_user_add">Create User</g:link></li>
[976]48            <li><g:link controller="logout" class="icon icon_cross">Sign out</g:link></li>
[89]49          </ul>
50     </li>
[976]51   </sec:ifAllGranted>
[23]52    </ul>
53    <!-- /TOPNAV //-->
Note: See TracBrowser for help on using the repository browser.