Changeset 1592

Show
Ignore:
Timestamp:
07-03-11 14:23:37 (3 years ago)
Author:
work@…
Message:

- fb only on prod

Location:
trunk/grails-app/views
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/home/index.gsp

    r1590 r1592  
    300300<div style="clear:both;display:block;"> 
    301301        <div style="margin:2px;width:476px;display:inline-block;float:left;zoom:1;*display:inline;"> 
    302                 <h1>Lorem ipsum 1</h1> 
     302                <h1>Introduction</h1> 
    303303                Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut tincidunt auctor suscipit. Nam ultricies condimentum pulvinar. In magna orci, eleifend sit amet tincidunt eget, ultricies a justo. Vestibulum purus lorem, laoreet sit amet rutrum et, sollicitudin eget augue. Nulla consequat, mauris eget ornare fringilla, arcu enim mattis odio, rhoncus rutrum ante turpis vitae nulla. Sed et turpis vel urna venenatis sagittis. Sed sagittis vestibulum felis, vel ultricies tellus dictum ac. Nunc non massa et ligula gravida rutrum. Fusce porttitor, eros ac dictum suscipit, risus lacus aliquam justo, ut lobortis erat nulla sit amet risus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse fermentum ultricies ipsum, at consequat elit pharetra auctor. 
    304304        </div> 
     
    312312                                        <div class="begin"><span class="label">Search term</span></div><div class="middle"><g:textField name="search_term" id="search_term" class="searchfield" value="${preterm}"/></div><div class="end"><a onClick="$('#search_term').val('');"><img src="${resource(dir: 'images', file: 'simpleQuery/spotlight-end.png')}" value="Reset" alt="Reset" border="0"></a></div> 
    313313                                </div> 
     314                                <span style="font-style:italic;color:#aaa;font-size:10px;">more advanced searches can be performed <g:link controller="advancedQuery">here</g:link>...</span> 
    314315                        </div> 
    315316                        </g:form> 
    316317                        <h1>Lorem ipsum 2</h1> 
    317                         Vivamus varius ullamcorper neque, sit amet mollis lacus accumsan vel. Pellentesque in augue a arcu pretium egestas vel at elit. Duis nunc odio, mollis et faucibus vel, aliquam vel quam. Sed laoreet pharetra urna, venenatis porttitor neque sagittis et. Aenean at nisl nunc, in mattis mauris. Proin iaculis nunc in erat rhoncus consectetur. Nullam sit amet risus vitae eros condimentum pellentesque. Vestibulum sollicitudin turpis id felis viverra a bibendum magna varius. Ut tristique pellentesque convallis. Maecenas id sollicitudin lacus. 
     318                        Vivamus varius ullamcorper neque, sit amet mollis lacus accumsan vel. Pellentesque in augue a arcu pretium egestas vel at elit. Duis nunc odio, mollis et faucibus vel, aliquam vel quam. Sed laoreet pharetra urna, venenatis porttitor neque sagittis et. Aenean at nisl nunc, in mattis mauris. Proin iaculis nunc in erat rhoncus consectetur. Nullam sit amet risus vitae eros condimentum pellentesque. 
    318319                </div> 
    319320        </div> 
  • 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>.