Ignore:
Timestamp:
May 13, 2009, 12:51:15 PM (16 years ago)
Author:
gav
Message:

Add icons from famfamfam silk icons, add acknowledgement page to suite.
Adjust AssignedPerson? controller so that a task.id is required to create.
Move Add AssignedPerson? link up to TaskDetailed? show page.
Further improvements to taskDetailed show tabs.
Adjust TaskProcedureDetailed? controller to allow linking a Procedure to a task during creation.
Adjust TaskRecurringSchedule? to a one-to-one cascading relationship.
Modify CSS class duration to time and added icons.
Regenerate some pages.

Location:
trunk/grails-app/views/period
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/period/edit.gsp

    r122 r134  
    5050                            <tr class="prop">
    5151                                <td valign="top" class="name">
    52                                     <label for="recurringSchedules">Recurring Schedules:</label>
     52                                    <label for="taskRecurringSchedules">Task Recurring Schedules:</label>
    5353                                </td>
    54                                 <td valign="top" class="value ${hasErrors(bean:periodInstance,field:'recurringSchedules','errors')}">
     54                                <td valign="top" class="value ${hasErrors(bean:periodInstance,field:'taskRecurringSchedules','errors')}">
    5555                                   
    5656<ul>
    57 <g:each var="r" in="${periodInstance?.recurringSchedules?}">
    58     <li><g:link controller="recurringSchedule" action="show" id="${r.id}">${r?.encodeAsHTML()}</g:link></li>
     57<g:each var="t" in="${periodInstance?.taskRecurringSchedules?}">
     58    <li><g:link controller="taskRecurringSchedule" action="show" id="${t.id}">${t?.encodeAsHTML()}</g:link></li>
    5959</g:each>
    6060</ul>
    61 <g:link controller="recurringSchedule" params="['period.id':periodInstance?.id]" action="create">Add RecurringSchedule</g:link>
     61<g:link controller="taskRecurringSchedule" params="['period.id':periodInstance?.id]" action="create">Add TaskRecurringSchedule</g:link>
    6262
    6363                                </td>
  • trunk/grails-app/views/period/show.gsp

    r122 r134  
    4545                   
    4646                        <tr class="prop">
    47                             <td valign="top" class="name">Recurring Schedules:</td>
     47                            <td valign="top" class="name">Task Recurring Schedules:</td>
    4848                           
    4949                            <td  valign="top" style="text-align:left;" class="value">
    5050                                <ul>
    51                                 <g:each var="r" in="${periodInstance.recurringSchedules}">
    52                                     <li><g:link controller="recurringSchedule" action="show" id="${r.id}">${r?.encodeAsHTML()}</g:link></li>
     51                                <g:each var="t" in="${periodInstance.taskRecurringSchedules}">
     52                                    <li><g:link controller="taskRecurringSchedule" action="show" id="${t.id}">${t?.encodeAsHTML()}</g:link></li>
    5353                                </g:each>
    5454                                </ul>
Note: See TracChangeset for help on using the changeset viewer.