December 2013
Beginner to intermediate
222 pages
5h 13m
English
Now that we have a dashboard view, we need to provide an easy way to get to it. The TekEvent show view is a logical place to provide a link to the dashboard. Open TekDays/grails-app/views/tekEvent/show.gsp, and add the highlighted code to the “nav” <div> near the top of the file.
| bigger.2/TekDays/grails-app/views/tekEvent/show.gsp | |
| | <div class="nav" role="navigation"> |
| | <ul> |
| | <li><a class="home" href="${createLink(uri: '/')}"><g:message |
| | code="default.home.label"/></a></li> |
| | <li><g:link class="list" action="index"><g:message |
| | code="default.list.label" args="[entityName]" /></g:link></li> |
| | <li><g:link class="create" action="create"><g:message |
| | code= ... |
Read now
Unlock full access