Ignore:
Timestamp:
Mar 24, 2009, 2:49:44 PM (16 years ago)
Author:
gav
Message:

Re-arrange the way 'Detailed is used, much nicer and more secure.

Location:
branches/TaskRewrite/src/grails-app/views
Files:
1 added
1 edited
4 moved

Legend:

Unmodified
Added
Removed
  • branches/TaskRewrite/src/grails-app/views/appCore/home.gsp

    r84 r85  
    88    <body>
    99        <div class="nav">
    10             <span class="menuButton"><g:link class="list" controller="task" action="listDetailed">Tasks</g:link></span>
     10            <span class="menuButton"><g:link class="list" controller="taskDetailed" action="list">Tasks</g:link></span>
    1111
    1212        </div>
  • branches/TaskRewrite/src/grails-app/views/taskDetailed/create.gsp

    r84 r85  
    1010        <div class="nav">
    1111            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
    12             <span class="menuButton"><g:link class="list" action="listDetailed">Task List</g:link></span>
     12            <span class="menuButton"><g:link class="list" action="list">Task List</g:link></span>
    1313        </div>
    1414        <div class="body">
     
    148148                </div>
    149149                <div class="buttons">
    150                     <span class="button"><input class="save" type="submit" value="CreateDetailed" /></span>
     150                    <span class="button"><input class="save" type="submit" value="Create" /></span>
    151151                </div>
    152152            </g:form>
  • branches/TaskRewrite/src/grails-app/views/taskDetailed/edit.gsp

    r84 r85  
    1010        <div class="nav">
    1111            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
    12             <span class="menuButton"><g:link class="list" action="listDetailed">Task List</g:link></span>
    13             <span class="menuButton"><g:link class="create" action="createDetailed">New Task</g:link></span>
     12            <span class="menuButton"><g:link class="list" action="list">Task List</g:link></span>
     13            <span class="menuButton"><g:link class="create" action="create">New Task</g:link></span>
    1414        </div>
    1515        <div class="body">
  • branches/TaskRewrite/src/grails-app/views/taskDetailed/list.gsp

    r84 r85  
    5656                            <td>${fieldValue(bean:taskInstance, field:'taskStatus')}</td>
    5757
    58                             <td><g:link action="editDetailed" id="${taskInstance.id}">Edit</g:link></td>
     58                            <td><g:link action="edit" id="${taskInstance.id}">Edit</g:link></td>
    5959
    60                             <td><g:link action="showDetailed" id="${taskInstance.id}">Show</g:link></td>
     60                            <td><g:link action="show" id="${taskInstance.id}">Show</g:link></td>
    6161                       
    6262                        </tr>
  • branches/TaskRewrite/src/grails-app/views/taskDetailed/show.gsp

    r84 r85  
    88        <div class="nav">
    99            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
    10             <span class="menuButton"><g:link class="listDetailed" action="listDetailed">Task List</g:link></span>
    11             <span class="menuButton"><g:link class="createDetailed" action="createDetailed">New Task</g:link></span>
     10            <span class="menuButton"><g:link class="list" action="list">Task List</g:link></span>
     11            <span class="menuButton"><g:link class="create" action="create">New Task</g:link></span>
    1212        </div>
    1313        <div class="body">
Note: See TracChangeset for help on using the changeset viewer.