Ignore:
Timestamp:
Jan 22, 2010, 12:27:04 PM (10 years ago)
Author:
gav
Message:

Set some permissions on Site and Section controllers.
Detail some site views missed in last commit.

File:
1 edited

Legend:

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

    r273 r289  
    6464<ul>
    6565<g:each var="i" in="${siteInstance?.inventoryStores?}">
    66     <li><g:link controller="inventoryStore" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li>
     66    <li><g:link controller="inventoryStoreDetailed" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li>
    6767</g:each>
    6868</ul>
    69 <g:link controller="inventoryStore" params="['site.id':siteInstance?.id]" action="create">Add InventoryStore</g:link>
     69<g:link controller="inventoryStoreDetailed" params="['site.id':siteInstance?.id]" action="create">Add InventoryStore</g:link>
    7070
    7171                                </td>
     
    8080<ul>
    8181<g:each var="s" in="${siteInstance?.sections?}">
    82     <li><g:link controller="section" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
     82    <li><g:link controller="sectionDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
    8383</g:each>
    8484</ul>
    85 <g:link controller="section" params="['site.id':siteInstance?.id]" action="create">Add Section</g:link>
     85<g:link controller="sectionDetailed" params="['site.id':siteInstance?.id]" action="create">Add Section</g:link>
    8686
    8787                                </td>
     
    9696<ul>
    9797<g:each var="s" in="${siteInstance?.siteExtendedAttributes?}">
    98     <li><g:link controller="siteExtendedAttribute" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
     98    <li><g:link controller="siteExtendedAttributeDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
    9999</g:each>
    100100</ul>
    101 <g:link controller="siteExtendedAttribute" params="['site.id':siteInstance?.id]" action="create">Add SiteExtendedAttribute</g:link>
     101<g:link controller="siteExtendedAttributeDetailed" params="['site.id':siteInstance?.id]" action="create">Add SiteExtendedAttribute</g:link>
    102102
    103103                                </td>
Note: See TracChangeset for help on using the changeset viewer.