Changeset 1063


Ignore:
Timestamp:
Nov 3, 2010, 4:53:19 PM (10 years ago)
Author:
business@…
Message:

removed unnecessary text from home page in production version

Location:
trunk/grails-app
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/HomeController.groovy

    r959 r1063  
    1717class HomeController {
    1818    def index = {
    19        [ studyCount: dbnp.studycapturing.Study.count() ]
     19       [ studyCount: dbnp.studycapturing.Study.count(), userCount: dbnp.authentication.SecUser.count() ]
    2020    }
    2121   
  • trunk/grails-app/views/home/index.gsp

    r959 r1063  
    11<html>
    2     <head>
    3       <title>Generic Study Capture Framework</title>
    4       <meta name="layout" content="main" />
    5     </head>
    6     <body>
    7                 Welcome to GSCF version <b>${meta(name: 'app.version')}</b>. At this moment, there are ${studyCount} studies in the database.
     2<head>
     3        <title>Generic Study Capture Framework</title>
     4        <meta name="layout" content="main"/>
     5</head>
     6<body>
     7Welcome to GSCF version <b>${meta(name: 'app.version')}</b>. At this moment, there are ${studyCount} studies and ${userCount} users in the database.
     8<g:if env="development">
    89        <p>
    9         This application will facilitate systems biological research and collaboration between researchers at various locations. This application is a combined effort of the <a href="http://www.nugo.org/everyone"> Nutrigenomics Organization (NuGO) </a> the <a href="http://www.metabolomicscentre.nl"> Netherlands Metabolomics Centre (NMC)</a>, <a href="http://www.eurreca.org"> European Micronutrient recommandations Aligned (Eurreca)</a>, the <a href="http://www.tno.nl"> Netherlands Organization for Applied Scientific Research (TNO) </a> and the <a href="http://www.nbic.nl/"> Netherlands Bioinformatics Centre (NBIC) </a>. The GSCF is part of the Nutritional Phenotype Database described by <a href="http://www.springerlink.com/content/1555-8932"> van Ommen et al, 2010: The Nutritional Phenotype Database. Genes and Nutrition. DOI: 10.1007/s12263-010-0167-9 </a>.
     10                This application will facilitate systems biological research and collaboration between researchers at various locations. This application is a combined effort of the <a href="http://www.nugo.org/everyone">Nutrigenomics Organization (NuGO)</a> the <a href="http://www.metabolomicscentre.nl">Netherlands Metabolomics Centre (NMC)</a>, <a href="http://www.eurreca.org">European Micronutrient recommandations Aligned (Eurreca)</a>, the <a href="http://www.tno.nl">Netherlands Organization for Applied Scientific Research (TNO)</a> and the <a href="http://www.nbic.nl/">Netherlands Bioinformatics Centre (NBIC)</a>. The GSCF is part of the Nutritional Phenotype Database described by <a href="http://www.springerlink.com/content/1555-8932">van Ommen et al, 2010: The Nutritional Phenotype Database. Genes and Nutrition. DOI: 10.1007/s12263-010-0167-9</a>.
    1011
    11 This study capturing module can be easily linked to assay specific modules and therefore can be reused for new technologies. This application is built for the easy input/storage and retrieval of studies. Studies can be stored with high detail and the type for information being stored can be field (e.g. human, mouse, plant) specific. Complex designs like studies with multiple doses, sampling time points and challenge tests, can be stored in this system.
    12                 Studies will only be accessible for people that are specified by the study owner.
    13     </p>
    14     <p><n:isNotLoggedIn>
    15             To be able to create, view or search studies, please log on or register at the right top corner of this page.
    16         NB: For this (test) version it is not required to login, but if you login as administrator ( admin / admiN123! ) or user ( user / useR123! ) you can test user functionality.
    17       </n:isNotLoggedIn></p>
    18     Choose from the upper bar whether you would like to create, view or search studies
     12        This study capturing module can be easily linked to assay specific modules and therefore can be reused for new technologies. This application is built for the easy input/storage and retrieval of studies. Studies can be stored with high detail and the type for information being stored can be field (e.g. human, mouse, plant) specific. Complex designs like studies with multiple doses, sampling time points and challenge tests, can be stored in this system.
     13        Studies will only be accessible for people that are specified by the study owner.
     14        </p>
     15        <p><n:isNotLoggedIn>
     16                To be able to create, view or search studies, please log on or register at the right top corner of this page.
     17                                NB: For this (test) version it is not required to login, but if you login as administrator ( admin / admiN123! ) or user ( user / useR123! ) you can test user functionality.
     18        </n:isNotLoggedIn></p>
     19        <g:oauthLink consumer='myExperiment'
     20                returnTo="[controller: 'home', action: 'index']">Authorize</g:oauthLink>
    1921
    20     <g:oauthLink consumer='myExperiment'
    21              returnTo="[controller: 'home', action: 'index']">Authorize</g:oauthLink>
    22 
    23     <g:hasOauthError>
    24      <div class="errors">
    25            <g:renderOauthError />
    26      </div>     
    27     </g:hasOauthError>
    28   </body>
     22        <g:hasOauthError>
     23                <div class="errors">
     24                        <g:renderOauthError/>
     25                </div>
     26        </g:hasOauthError>
     27</g:if>
     28</body>
    2929</html>
Note: See TracChangeset for help on using the changeset viewer.