Changeset 1243 for trunk


Ignore:
Timestamp:
Dec 9, 2010, 2:12:36 PM (10 years ago)
Author:
work@…
Message:
  • added open graph description tag
Location:
trunk/grails-app/views
Files:
3 edited

Legend:

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

    r1242 r1243  
    33        <title>Generic Study Capture Framework</title>
    44        <meta property="og:title" content="Generic Study Capture Framework"/>
     5        <meta property="og:description" content="A generic tool for planning scientific studies, and capturing study meta-data, integrating with analysis platform(s) / LIMS systems and searching relevant studies."/>
    56        <meta name="layout" content="main"/>
    67</head>
  • trunk/grails-app/views/layouts/main.gsp

    r1242 r1243  
    1515        <script src="${createLinkTo(dir: 'js', file: 'jquery-ui-1.8.5.custom.min.js')}" type="text/javascript"></script>
    1616        <link rel="stylesheet" href="${createLinkTo(dir: 'css/cupertino', file: 'jquery-ui-1.8.5.custom.css')}"/>
     17        <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
    1718        <g:layoutHead/>
    1819        <script type="text/javascript" src="${resource(dir: 'js', file: 'disableKeys.js')}"></script>
     
    2021        <script type="text/javascript" src="${resource(dir: 'js', file: 'topnav.js')}"></script>
    2122        <g:if env="development"><script type="text/javascript" src="${resource(dir: 'js', file: 'development.js')}"></script></g:if>
    22     <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
    2323</head>
    2424<body>
  • trunk/grails-app/views/study/show.gsp

    r1242 r1243  
    77        <g:if test="${studyList.size()}">
    88        <meta property="og:title" content="${studyList[0].title}"/>
     9        <meta property="og:description" content="${(studyList[0].getFieldValue('Description')) ? studyList[0].getFieldValue('Description') : 'A study in the Generic Study Capture Framework'}"/>
    910        </g:if>
    1011        <g:set var="entityName" value="${message(code: 'study.label', default: 'Study')}"/>
Note: See TracChangeset for help on using the changeset viewer.