Ignore:
Timestamp:
Feb 15, 2010, 6:28:15 PM (15 years ago)
Author:
gav
Message:

Set Site views to use shared messages template.

Location:
trunk/grails-app/views/siteDetailed
Files:
4 edited

Legend:

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

    r332 r357  
    1313        <div class="body">
    1414            <h1>Create Site</h1>
    15             <g:if test="${flash.message}">
    16             <div class="message">${flash.message}</div>
    17             </g:if>
     15            <g:render template="/shared/messages" />
    1816            <g:hasErrors bean="${siteInstance}">
    1917            <div class="errors">
  • trunk/grails-app/views/siteDetailed/edit.gsp

    r332 r357  
    1414        <div class="body">
    1515            <h1>Edit Site</h1>
    16             <g:if test="${flash.message}">
    17             <div class="message">${flash.message}</div>
    18             </g:if>
     16            <g:render template="/shared/messages" />
    1917            <g:hasErrors bean="${siteInstance}">
    2018            <div class="errors">
  • trunk/grails-app/views/siteDetailed/list.gsp

    r339 r357  
    1313        <div class="body">
    1414            <h1>Site List</h1>
    15             <g:if test="${flash.message}">
    16             <div class="message">${flash.message}</div>
    17             </g:if>
     15            <g:render template="/shared/messages" />
    1816            <div class="list">
    1917                <table>
  • trunk/grails-app/views/siteDetailed/show.gsp

    r332 r357  
    1414        <div class="body">
    1515            <h1>Show Site</h1>
    16             <g:if test="${flash.message}">
    17             <div class="message">${flash.message}</div>
    18             </g:if>
     16            <g:render template="/shared/messages" />
    1917            <div class="dialog">
    2018                <table>
Note: See TracChangeset for help on using the changeset viewer.