Ignore:
Timestamp:
Mar 7, 2011, 2:23:37 PM (6 years ago)
Author:
work@…
Message:
  • fb only on prod
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/layouts/main.gsp

    r1584 r1592  
    1515        <script src="${createLinkTo(dir: 'js', file: 'jquery-ui-1.8.7.custom.min.js')}" type="text/javascript"></script>
    1616        <link rel="stylesheet" href="${createLinkTo(dir: 'css/cupertino', file: 'jquery-ui-1.8.7.custom.css')}"/>
    17         <g:if env="development"></g:if><g:else><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script></g:else>
     17        <g:if env="production"><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script></g:if>
    1818        <g:layoutHead/>
    1919        <script type="text/javascript" src="${resource(dir: 'js', file: 'disableKeys.js')}"></script>
     
    3636        </div>
    3737        <div id="content"><g:layoutBody/></div>
    38         <g:if env="development"></g:if><g:else>
     38        <g:if env="production">
    3939        <g:if test="${facebookLikeUrl}">
    4040        <div id="facebookConnect">
     
    4242        </div>
    4343        </g:if>
    44         </g:else>
     44        </g:if>
    4545        <div id="footer">
    4646                Copyright © 2008 - <g:formatDate format="yyyy" date="${new Date()}"/> NuGO, NMC and NBIC. All rights reserved. For more information go to <a href="http://dbnp.org">http://dbnp.org</a>.
Note: See TracChangeset for help on using the changeset viewer.