Ignore:
Timestamp:
Jun 3, 2010, 12:27:08 PM (11 years ago)
Author:
roberth
Message:

Publications can be added to a study in the create study wizard. Publications are searched for on Pubmed, and when needed, added to the system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/publication/add.gsp

    r496 r518  
    2222  <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.pubmed.js')}"></script>
    2323  <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.programminglanguages.js')}"></script>
    24 
     24  <script type="text/javascript">
     25    PublicationChooser.prototype.availableDBs[ "pubmed" ].select = selectPubMedAdd;
     26    PublicationChooser.prototype.availableDBs[ "pubmed" ].close  = closePubMedAdd;
     27</script>
    2528 </head>
    2629 <body>
    27 
    28  <g:form action="createFromPubmed">
    29   <g:textField name="publication" rel="publication-pubmed" style="width:300px;"/>
    30   <g:submitButton name="add" value="Add publication" />
    31  </g:form>
    32 
    33 
     30   <p>
     31     Search for a publication on pubmed. You can search on a part of the title or authors.
     32   </p>
     33   <g:form action="createFromPubmed">
     34    <g:textField name="publication" rel="publication-pubmed" style="width:500px;"/>
     35    <!-- <g:submitButton name="add" value="Add publication" /> -->
     36   </g:form>
    3437
    3538 ${errors}
Note: See TracChangeset for help on using the changeset viewer.