more template updates for i18n

This commit is contained in:
tworrall 2013-05-31 11:56:18 -04:00
parent e937d9d0a0
commit fe1b52ab49
80 changed files with 1517 additions and 913 deletions

View file

@ -0,0 +1,26 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- Page providing details on how QR codes work -->
<h2>Acerca de los códigos QR</h2>
<h3>Qué es QR?</h3>
<p>QR, siglas de <i>Quick Response</i>, es un estándar para los códigos de barras de dos dimensiones que pueden ser leídos por los dispositivos móviles equipados con cámaras (como un teléfono inteligente).</p>
<h3>Qué tipo de datos es un código QR?</h3>
<p>Los códigos QR pueden codificar diferentes tipos de datos. El código QR de la página del perfil de una persona en VIVO codifica la información acerca de esa persona en formato <i>vCard</>. Se trata de una especie de tarjeta de presentación digital, que contiene información sobre el nombre de la persona, dirección, número de teléfono, dirección de correo electrónico y mucho más.</p>
<p>Si hace clic en el código QR de una persona en VIVO, se le llevará a la página "Exportar QR" para esa persona. Esta página contiene el código QR vCard visto en la página principal, así como un código QR que contiene una simple hipervínculo al perfil VIVO del usuario. También contiene una etiqueta HTML para cada código, que puede ser embebido en una página web para mostrar ese código en otros sitios.</p>
<#-- todo: make VIVO API? Currently pasting Google API code into export area, this will be static and not change if VIVO data is updated. -->
<h3>Cómo se lee un código QR?</h3>
<p>Hay aplicaciones que puede descargar para el iPhone y los teléfonos Android que le permite utilizar la cámara del teléfono para interactuar con los códigos QR colocados en objetos del mundo real.</p>
<h3>Qué puedo hacer yo con un código QR?</h3>
<p>Cualquier cosa! Para una tarjeta de negocios del estado-of-the-art, poner tu enlace de código QR en la parte posterior de la misma. De esta manera cualquier persona con un smartphone adecuadamente equipado puede ir rápidamente a su perfil VIVO, simplemente apuntando su cámara hacia el código. O dicho de tu vCard código QR en la puerta de su oficina para proporcionar más información de contacto.</p>

View file

@ -2,7 +2,7 @@
<#-- Confirmation that an account has been created. -->
<#assign subject = "Your ${siteName} account has been created." />
<#assign subject = "${i18n().account_created_subject(siteName)}" />
<#assign html>
<html>
@ -15,32 +15,31 @@
</p>
<p>
<strong>Congratulations!</strong>
<strong>${i18n().congratulations}</strong>
</p>
<p>
We have created your new VIVO account associated with ${userAccount.emailAddress}.
${i18n().we_have_created_your_account(siteName,userAccount.emailAddress)}
</p>
<p>
If you did not request this new account you can safely ignore this email.
This request will expire if not acted upon for 30 days.
${i18n().did_not_request_text}
</p>
<p>
Click the link below to create your password for your new account using our secure server.
${i18n().click_to_create_password}
</p>
<p>
<a href="${passwordLink}" title="password">${passwordLink}</a>
<a href="${passwordLink}" title="${i18n().password}">${passwordLink}</a>
</p>
<p>
If the link above doesn't work, you can copy and paste the link directly into your browser's address bar.
${i18n().if_link_failed}
</p>
<p>
Thanks!
${i18n().thanks}
</p>
</body>
</html>
@ -49,20 +48,17 @@
<#assign text>
${userAccount.firstName} ${userAccount.lastName}
Congratulations!
${i18n().congratulations}
We have created your new VIVO account associated with
${userAccount.emailAddress}.
${i18n().we_have_created_your_account(siteName,userAccount.emailAddress)}
If you did not request this new account you can safely ignore this email.
This request will expire if not acted upon for 30 days.
${i18n().did_not_request_text}
Paste the link below into your browser's address bar to create your password
for your new account using our secure server.
${i18n().paste_the_link}
${passwordLink}
Thanks!
${i18n().thanks}
</#assign>
<@email subject=subject html=html text=text />

View file

@ -5,15 +5,15 @@
<#include "individual-qrCodeGenerator.ftl">
<h2>Export QR Code <em>(<a href="${individual.qrData().aboutQrCodesUrl}" title="More info on QR codes">What is this?</a>)</em></h2>
<h2>${i18n().export_qr_code} <em>(<a href="${individual.qrData().aboutQrCodesUrl}" title="${i18n().more_qr_info}">${i18n().what_is_this}</a>)</em></h2>
<#assign thumbUrl = individual.thumbUrl! "${urls.images}/placeholders/person.thumbnail.jpg" >
<img class="individual-photo qrCode" src="${thumbUrl}" width="160" />
<img class="individual-photo qrCode" src="${thumbUrl}" width="160" alt="${i18n().alt_thumbnail_photo}"/>
<h3 class="qrCode"><a href="${individual.profileUrl}" title="View this person's profile">${individual.nameStatement.value}</a></h3>
<h3 class="qrCode"><a href="${individual.profileUrl}" title="${i18n().view_this_profile}">${individual.nameStatement.value}</a></h3>
<section class="vcard">
<h4>VCard</h4>
<h4>${i18n().vcard}</h4>
<@qrCodeVCard qrCodeWidth />
<textarea name="qrCodeVCard" readonly>
&lt;img src="${getQrCodeUrlForVCard(qrCodeWidth)!}" /&gt;<#t>
@ -21,7 +21,7 @@
</section>
<section>
<h4>Hyperlink</h4>
<h4>${i18n().hyperlink}</h4>
<@qrCodeLink qrCodeWidth />
<textarea name="qrCodeLink" readonly>
&lt;img src="${getQrCodeUrlForLink(qrCodeWidth)!}" /&gt;<#t>

View file

@ -2,19 +2,19 @@
<#if !(user.loggedIn && user.hasSiteAdminAccess)>
<p>You must be an administrator to use this tool.</p>
<p>${i18n().must_be_admin}</p>
<#else>
<#if jobKnown == "false">
<p>Error: No file harvest job was specified, or an unknown job was specified.</p>
<p>${i18n().error_no_job_specified}</p>
<p>The end user should not see this error under normal circumstances, so this is probably a bug and should be reported.</p>
<p>${i18n().probably_a_bug_so_report}</p>
<#else>
<h2><a class="ingestMenu" href="${urls.base}/ingest" title="Return to the Data Ingest Tools menu">Ingest Menu</a> > ${jobSpecificHeader}</h2>
<h2><a class="ingestMenu" href="${urls.base}/ingest" title="${i18n().return_to_ingest_menu}">${i18n().ingest_menu}</a> > ${jobSpecificHeader}</h2>
<#-- check to ensure harvester.location is set in runtime.properties -->
<#if harvesterLocation?has_content>
@ -25,7 +25,7 @@
function doHarvest() {
document.getElementById("harvestButton").disabled = true;
document.getElementById("harvestButtonHelpText").innerHTML = "Please wait while your data is harvested.";
document.getElementById("harvestButtonHelpText").innerHTML = "${i18n().data_being_harvested}";
var request = createRequest();
request.onreadystatechange=function() {
@ -92,7 +92,7 @@
importedItems.appendChild(newLi);
}
document.getElementById("harvestButtonHelpText").innerHTML = "Harvest complete. For another, please refresh the page.";
document.getElementById("harvestButtonHelpText").innerHTML = "${i18n().harvest_complete}";
}
}
@ -175,82 +175,82 @@
</script>
<div id="fileHarvestErrorHelp" class="hidden">
<p>An error has occurred and the file harvest cannot continue.</p>
<p>${i18n().error_harvest_cannot_continue}</p>
<p>This is most likely due to an improper Harvester configuration. Please ensure the following:</p>
<p>${i18n().harvest_error_instructions_one}</p>
<ol>
<li>VIVO Harvester is installed.</li>
<li>The <em>harvester.location</em> property in runtime.properties is pointed to the Harvester installation directory.</li>
<li>In VIVO Harvester, the web server user (typically tomcat6) has read and write access to the <em>vivo/</em> directory and all of its children.</li>
<li>In VIVO Harvester, the <em>logs/</em> directory exists and the web server user has read and write access to it.</li>
<li>In VIVO Harvester, the file <em>vivo/config/vivo.xml</em> is properly configured with your database information and namespace.</li>
<li>${i18n().harvest_error_instructions_two}</li>
<li>${i18n().the_capitalized} <em>${i18n().harvester_location}</em> ${i18n().harvest_error_instructions_three}</li>
<li>${i18n().harvest_error_instructions_fourA}<em>${i18n().harvest_error_instructions_fourB}</em> ${i18n().harvest_error_instructions_fourC}</li>
<li>${i18n().harvest_error_instructions_fiveA} <em>${i18n().harvest_error_instructions_fiveB}</em> ${i18n().harvest_error_instructions_fiveC}</li>
<li>${i18n().harvest_error_instructions_sixA} <em>${i18n().harvest_error_instructions_sixB}</em> ${i18n().harvest_error_instructions_sixC}</li>
</ol>
</div>
<div id="fileHarvestForm">
<div id="step1" class="testfile-step">
<h3 class="testfile-step-header">Step 1</h3>
<h3 class="testfile-step-header">${i18n().step_one}</h3>
<div id="step1-inner" class="testfile-step-body">
<h4 class="testfile-step-subheader">Download template</h4>
<h4 class="testfile-step-subheader">${i18n().download_template}</h4>
<form id="downloadTemplateForm" method="post" action=${postTo}>
<input type="hidden" id="${paramMode}" name="${paramMode}" value="${modeDownloadTemplate}" />
<p><input id="submit" type="submit" name="submit" value="Download" /> ${jobSpecificDownloadHelp}</p>
<p><input id="submit" type="submit" name="submit" value="${i18n().download}" /> ${jobSpecificDownloadHelp}</p>
</form>
</div>
</div>
<div id="step2" class="testfile-step">
<h3 class="testfile-step-header">Step 2</h3>
<h3 class="testfile-step-header">${i18n().step_two}</h3>
<div id="step2-inner" class="testfile-step-body">
<h4 class="testfile-step-subheader">Fill in data <a class="help" href="#">Help</a></h4>
<h4 class="testfile-step-subheader">${i18n().fill_in_data} <a class="help" href="#">${i18n().help_capitalized}</a></h4>
<div id="csvHelp-collapsible" class="hidden">
<div id="csvHelp-indented">
${jobSpecificFillInHelp}
</div>
</div>
<p>Fill in the template with your data. You may fill in multiple templates if you wish to harvest multiple files at once.</p>
<p>${i18n().fill_in_template_with_data}</p>
<div id="csvHelp">
</div>
</div>
</div>
<div id="step3" class="testfile-step">
<h3 class="testfile-step-header">Step 3</h3>
<h3 class="testfile-step-header">${i18n().step_three}</h3>
<div id="step3-inner" class="testfile-step-body">
<h4 class="testfile-step-subheader">Upload file(s)</h4>
<p>Upload your filled-in template(s).</p>
<h4 class="testfile-step-subheader">${i18n().upload_files}</h4>
<p>${i18n().upload_completed_templates}</p>
<form id="fileUploadForm" method="post" enctype="multipart/form-data" action=${postTo}>
<input type="hidden" id="${paramFirstUpload}" name="${paramFirstUpload}" value="true" />
<!--<input type="hidden" id="${paramJob}" name="${paramJob}" value="${job}" /> -->
<input type="file" name="${paramUploadedFile}" />
<input type="submit" name="submit" value="Upload" />
<input type="submit" name="submit" value="${i18n().upload_capitalized}" />
<iframe id="uploadTarget" name="uploadTarget" src=""></iframe>
</form>
<h5>Uploaded files</h5>
<h5>${i18n().uploaded_files}</h5>
<ul id="fileListing">
</ul>
</div>
</div>
<div id="step4" class="testfile-step">
<h3 class="testfile-step-header">Step 4</h3>
<h3 class="testfile-step-header">${i18n().step_four}</h3>
<div id="step4-inner" class="testfile-step-body">
<h4 class="testfile-step-subheader">Harvest</h4>
<p><input type="button" name="harvestButton" id="harvestButton" class="green button" value="Harvest" /><span id="harvestButtonHelpText">Click the button to harvest your file(s).</span></p>
<h4 class="testfile-step-subheader">${i18n().harvest_capitalized}</h4>
<p><input type="button" name="harvestButton" id="harvestButton" class="green button" value="${i18n().harvest_capitalized}" /><span id="harvestButtonHelpText">${i18n().click_to_harvest}</span></p>
</div>
</div>
<div id="step5" class="testfile-step">
<h3 class="testfile-step-header">Step 5</h3>
<h3 class="testfile-step-header">${i18n().step_five}</h3>
<div id="step5-inner" class="testfile-step-body">
<h4 class="testfile-step-subheader">View results</h4>
<h4 class="testfile-step-subheader">${i18n().view_results}</h4>
<div id="script">
<h5>Script being executed</h5>
<h5>${i18n().script_executed}</h5>
<textarea cols="100" rows="20" readonly="readonly" id="scriptTextArea"></textarea>
</div>
<div id="progress">
<h5>Progress</h5>
<h5>${i18n().progress_capitalized}</h5>
<textarea cols="100" rows="20" readonly="readonly" id="progressTextArea"></textarea>
</div>
<div id="summary">
@ -265,9 +265,9 @@
<#else>
<div id="fileHarvestErrorHelp">
<p>The <em>harvester.location</em> property in runtime.properties is undefined.</p>
<p>${i18n().the_capitalized} <em>${i18n().harvester_location}</em> ${i18n().undefined_runtime_property}</p>
<p>In order to use this feature, please define a value for this property that points to the Harvester installation directory before redeploying and restarting the application.</p>
<p>${i18n().define_value_for_property}</p>
</div>
<#-- if harvester.location is defined -->

View file

@ -35,7 +35,7 @@
<#include "individual-adminPanel.ftl">
<header>
<#if relatedSubject??>
<h2>${relatedSubject.relatingPredicateDomainPublic} for ${relatedSubject.name}</h2>
<h2>${relatedSubject.relatingPredicateDomainPublic} ${i18n().for} ${relatedSubject.name}</h2>
<p><a href="${relatedSubject.url}" title="${i18n().return_to(relatedSubject.name)}">&larr; ${i18n().return_to(relatedSubject.name)}</a></p>
<#else>
<h1 class="vcard foaf-person fn" <#if !editable>style="float:left;border-right:1px solid #A6B1B0;"</#if>>

View file

@ -45,7 +45,7 @@
<section id="label-title" <#if editable>style="width:45%"</#if> >
<header>
<#if relatedSubject??>
<h2>${relatedSubject.relatingPredicateDomainPublic} for ${relatedSubject.name}</h2>
<h2>${relatedSubject.relatingPredicateDomainPublic} ${i18n().for} ${relatedSubject.name}</h2>
<p><a href="${relatedSubject.url}" title="${i18n().return_to(relatedSubject.name)}">&larr; ${i18n().return_to(relatedSubject.name)}</a></p>
<#else>
<#-- Image -->
@ -97,7 +97,7 @@
-->
<#if hasWebpage >
<section id="qv-share-contact" class="share-contact" role="region" <#if !editable>style="padding-top:12px"</#if>>
<img id="webpage-popout-top" src="${urls.images}/individual/webpage-popout-top.png" alt="background top"/>
<img id="webpage-popout-top" src="${urls.images}/individual/webpage-popout-top.png" alt="${i18n().background_top_image}"/>
<div id="webpage-wrapper" >
<#assign webpage = propertyGroups.pullProperty("${core}webpage")!>
<#if webpage?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
@ -111,7 +111,7 @@
</ul>
</#if>
</div>
<img id="webpage-popout-bottom" src="${urls.images}/individual/webpage-popout-bottom.png" alt="background top" <#if editable>style="margin-top:16px"</#if>/>
<img id="webpage-popout-bottom" src="${urls.images}/individual/webpage-popout-bottom.png" alt="${i18n().background_top_image}" <#if editable>style="margin-top:16px"</#if>/>
</section> <!-- end share-contact -->
</#if>
<section id="individual-info" class="qv-individual-info" role="region" style=" <#if !editable>padding-top:12px;</#if><#if hasWebpage>width:53%<#else>width:100%;clear:left</#if>;">
@ -167,7 +167,7 @@
</p>
<span id="fullViewLink">
<a href="${urls.base}/display/${individual.localName}?destination=standardView" >
<img id="fullViewIcon" src="${urls.images}/individual/fullViewIcon.png" alt="full view icon"/>
<img id="fullViewIcon" src="${urls.images}/individual/fullViewIcon.png" alt="${i18n().full_view_icon}"/>
</a>
</span>
<#if !editable>

View file

@ -1,13 +1,8 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<p>This body is from the the template file
vivo/productMods/templates/freemarker/body/menupage/publications.ftl.
In the display model, the publications page has a display:requiresBodyTemplate
property that defines that the publications page overrides the default template.
The default template for these pages is at /vitro/webapp/web/templates/freemarker/body/menupage/menupage.ftl </p>
<p>${i18n().publications_text_one} </p>
<p> This technique could be used to define pages without menu items, that get
their content from a freemarker template. An example would be the about page.</p>
<p> ${i18n().publications_text_two}</p>
<code>
display:About <br>
@ -18,7 +13,6 @@ display:About <br>
<br>
</code>
<p>This would create a page that would use about.ftl as the body. The page would be
accessed via /about and would override all servlet mappings in web.xml</p>
<p>${i18n().publications_text_three}</p>

View file

@ -32,7 +32,7 @@
<#macro phoneLinks phone>
<#if phone?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
<#if editable>
<h3 id="contact">phone<@p.addLink phone editable /> </h3>
<h3 id="contact">${i18n().phone} <@p.addLink phone editable /> </h3>
<@p.verboseDisplay phone />
</#if>
<#if phone.statements?has_content> <#-- if there are any statements -->

View file

@ -35,11 +35,11 @@
<#local qrCodeLinkedImage><a title="${i18n().export_qr_codes}" href="${qrData.exportQrCodeUrl}"><@qrCodeVCard qrCodeWidth=width /></a></#local>
<#if (display == "full")>
<h5 class="qrCode">vCard QR</h5>
<h5 class="qrCode">${i18n().vcard_qr}</h5>
${qrCodeLinkedImage}
<#elseif (display == "icon")>
<a id="qrIcon" title="${i18n().vcard_qr_code}" href="${qrData.exportQrCodeUrl}"><img src="${urls.images}/individual/${imageFile!}" alt="${i18n().qr_icon}" /></a>
<span id="qrCodeImage" class="hidden">${qrCodeLinkedImage} <a class="qrCloseLink" href="#" title="${i18n().qr_code}">Close</a></span>
<span id="qrCodeImage" class="hidden">${qrCodeLinkedImage} <a class="qrCloseLink" href="#" title="${i18n().qr_code}">${i18n().close_capitalized}</a></span>
<#else>
<p class="notice">${i18n().invalid_qr_code_parameter}</p>
</#if>

View file

@ -23,7 +23,7 @@
<#assign coAuthorVisUrl = individual.coAuthorVisUrl()>
<#assign mapOfScienceVisUrl = individual.mapOfScienceUrl()>
<#assign coauthor = "<li><a href='${coAuthorVisUrl}' title='${i18n().co_author}' style='vertical-align:top;'><img src='${coAuthorIcon}' alt='${i18n().co_author}' width='20px' height='20px' style='padding-right:8px'/></a><a href='${coAuthorVisUrl}' title='${i18n().co_author_network}'>${i18n().co_authors}</a></li>" >
<#assign coauthor = "<li><a href='${coAuthorVisUrl}' title='${i18n().co_author}' style='vertical-align:top;'><img src='${coAuthorIcon}' alt='${i18n().co_author}' width='20px' height='20px' style='padding-right:8px'/></a><a href='${coAuthorVisUrl}' title='${i18n().co_author_network}'>${i18n().co_authors_capitalized}</a></li>" >
<#assign mapofscience = "<li><a href='${mapOfScienceVisUrl}' title='${i18n().map_of_science}' style='vertical-align:top;'><img src='${mapOfScienceIcon} ' alt='${i18n().map_of_science}' width='20px' height='20px' style='padding-right:8px'/></a><a href='${mapOfScienceVisUrl}' title='${i18n().map_of_science}'>${i18n().map_of_science_capitalized}</a></li>" >

View file

@ -50,7 +50,7 @@
<em>${statement.partOf!}</em>.
</#if>
<#if statement.editor??>
Ed.&nbsp;${statement.editor!}.&nbsp;
${i18n().editor_abbreviated}&nbsp;${statement.editor!}.&nbsp;
</#if>
<#if statement.locale?? && statement.publisher??>
${statement.locale!}:&nbsp;${statement.publisher!}.
@ -66,10 +66,10 @@
</#if>
<#elseif statement.subclass?contains("Book")>
<#if statement.volume?? && (statement.volume!?length > 0 )>
Vol.&nbsp;${statement.volume!}.&nbsp;
${i18n().volume_abbreviated}&nbsp;${statement.volume!}.&nbsp;
</#if>
<#if statement.editor??>
Ed.&nbsp;${statement.editor!}.&nbsp;
${i18n().editor_abbreviated}&nbsp;${statement.editor!}.&nbsp;
</#if>
<#if statement.locale?? && statement.publisher??>
${statement.locale!}:&nbsp;${statement.publisher!}.
@ -87,7 +87,7 @@
<em>${statement.partOf!}</em>.
</#if>
<#if statement.editor??>
Ed. ${statement.editor!}.&nbsp;
${i18n().editor_abbreviated} ${statement.editor!}.&nbsp;
</#if>
<#if statement.startPage?? && statement.endPage??>
${statement.startPage!}-${statement.endPage!}.
@ -107,7 +107,7 @@
</#if>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.uri("authorship"))}" title="${i18n().missing_info_resource}">missing information resource</a>
<a href="${profileUrl(statement.uri("authorship"))}" title="${i18n().missing_info_resource}">${i18n().missing_info_resource}</a>
</#if>
</#local>

View file

@ -13,7 +13,7 @@
-->
<#if ! statement.valueStart?? && ! statement.valueEnd?? && ! statement.label?? >
<a href="${profileUrl(statement.uri("dateTimeInterval"))}" title="${i18n().incomplete_date_time}">incomplete date/time interval</a>
<a href="${profileUrl(statement.uri("dateTimeInterval"))}" title="${i18n().incomplete_date_time_interval}">${i18n().incomplete_date_time_interval}</a>
<#else>
<#if statement.label??>
${statement.label!}

View file

@ -10,7 +10,7 @@
<#-- No core:dateTime data property assigned. Display a link to the core:DateTimeValue object -->
<#if ! statement.dateTime??>
<a href="${profileUrl(statement.uri("dateTimeValue"))}" title="${i18n().incomplete_date_time}">incomplete date/time</a>
<a href="${profileUrl(statement.uri("dateTimeValue"))}" title="${i18n().incomplete_date_time_value}">${i18n().incomplete_date_time_value}</a>
<#else>
${dt.formatXsdDateTimeLong(statement.dateTime, statement.precision!)}
</#if>

View file

@ -18,7 +18,7 @@
<#local degree>
<#if statement.degreeName??>
${statement.degreeAbbr!statement.degreeName}
<#if statement.majorField??> in ${statement.majorField}</#if>
<#if statement.majorField??> ${i18n().in} ${statement.majorField}</#if>
<#elseif statement.typeName??>
${statement.typeName!}
</#if>
@ -29,7 +29,7 @@
<a href="${profileUrl(statement.uri("org"))}" title="${i18n().organization_name}">${statement.orgName}</a>
<#elseif editable>
<#-- Show the link to the context node only if the user is editing the page. -->
<a href="${profileUrl(statement.uri("edTraining"))}" title="${i18n().missing_organization}">missing organization</a>
<a href="${profileUrl(statement.uri("edTraining"))}" title="${i18n().missing_organization}">${i18n().missing_organization}</a>
</#if>
</#local>

View file

@ -28,9 +28,9 @@
<#local attendedEvent>
<#if statement.event2?has_content && statement.event2Label?has_content>
at <a href="${profileUrl(statement.uri("event2"))}" title="${i18n().event_label}">${statement.event2Label}</a>
${i18n().at} <a href="${profileUrl(statement.uri("event2"))}" title="${i18n().event_label}">${statement.event2Label}</a>
<#elseif statement.series?has_content && statement.seriesLabel?has_content>
at <a href="${profileUrl(statement.uri("series"))}" title="${i18n().event_label}">${statement.seriesLabel}</a>
${i18n().at} <a href="${profileUrl(statement.uri("series"))}" title="${i18n().event_label}">${statement.seriesLabel}</a>
</#if>
</#local>

View file

@ -33,9 +33,9 @@
<#local awardOrAdminBy>
<#if statement.awardedByLabel??>
&nbsp;awarded by&nbsp;<a href="${profileUrl(statement.uri("awardedBy"))}" title="${i18n().awarded_by}">${statement.awardedByLabel!}</a>
&nbsp;${i18n().awarded_by}&nbsp;<a href="${profileUrl(statement.uri("awardedBy"))}" title="${i18n().awarded_by}">${statement.awardedByLabel!}</a>
<#elseif statement.adminedByLabel??>
&nbsp;administered by&nbsp;<a href="${profileUrl(statement.uri("adminedBy"))}" title="${i18n().administered_by}">${statement.adminedByLabel!}</a>
&nbsp;${i18n().administered_by}&nbsp;<a href="${profileUrl(statement.uri("adminedBy"))}" title="${i18n().administered_by}">${statement.adminedByLabel!}</a>
</#if>
</#local>

View file

@ -24,7 +24,7 @@
</#local>
<#local detailedInfo>
<#if statement.degree??>
${statement.degreeAbbr!} in ${statement.field!}
${statement.degreeAbbr!} ${i18n().in} ${statement.field!}
<#elseif statement.field??>
${statement.field!}, ${statement.suppInfo!}
<#else>

View file

@ -18,7 +18,7 @@
<#local linkedIndividual>
<#if statement.indivInRole??>
<a href="${profileUrl(statement.uri("indivInRole"))}" title="name">${statement.indivLabel!statement.indivName}</a>
<a href="${profileUrl(statement.uri("indivInRole"))}" title="${i18n().name}">${statement.indivLabel!statement.indivName}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.uri("role"))}" title="${i18n().missing_person_in_role}">${i18n().missing_person_in_role}</a>

View file

@ -9,11 +9,11 @@
<#if (individual.thumbUrl)??>
<img src="${individual.thumbUrl}" width="90" alt="${individual.name}" />
<h1 class="thumb">
<a href="${individual.profileUrl}" title="View the profile page for ${individual.name}}">${individual.name}</a>
<a href="${individual.profileUrl}" title="${i18n().view_profile_page_for} ${individual.name}}">${individual.name}</a>
</h1>
<#else>
<h1>
<a href="${individual.profileUrl}" title="View the profile page for ${individual.name}}">${individual.name}</a>
<a href="${individual.profileUrl}" title="${i18n().view_profile_page_for} ${individual.name}}">${individual.name}</a>
</h1>
</#if>

View file

@ -4,7 +4,7 @@
<#import "lib-vivo-properties.ftl" as p>
<a href="${individual.profileUrl}" title="individual name">${individual.name}</a>
<a href="${individual.profileUrl}" title="${i18n().individual_name}">${individual.name}</a>
<@p.displayTitle individual />

View file

@ -4,7 +4,7 @@
<#import "lib-vivo-properties.ftl" as p>
<a href="${individual.profileUrl}" title="individual name">${individual.name}</a>
<a href="${individual.profileUrl}" title="${i18n().individual_name}">${individual.name}</a>
<@p.displayTitle individual />

View file

@ -12,12 +12,12 @@
</#if>
<h2>Manage Concepts</h2>
<h2>${i18n().manage_concepts}</h2>
<#if submissionErrors?has_content>
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="${i18n().error_alert_icon}" />
<p>
<#--below shows examples of both printing out all error messages and checking the error message for a specific field-->
<#list submissionErrors?keys as errorFieldName>
@ -53,7 +53,7 @@
</#if>
</span>
</span>
&nbsp;<a href="${urls.base}/edit/primitiveRdfEdit" class="remove">Remove</a>
&nbsp;<a href="${urls.base}/edit/primitiveRdfEdit" class="remove" title="${i18n().remove_capitalized}">${i18n().remove_capitalized}</a>
</span>
</li>
@ -70,19 +70,19 @@
<#if (existingConcepts?size = 0) >
<p>There are currently no concepts specified.</p>
<p>${i18n().no_concepts_specified}</p>
<#else>
&nbsp;
</#if>
<div id="showAddForm">
<input type="submit" value="Add Concept" id="showAddFormButton" name="showAddFormButton"> or
<a class="cancel" href="${cancelUrl}&url=/individual">Return to Profile Page</a>
<input type="submit" value="${i18n().add_concept}" id="showAddFormButton" name="showAddFormButton"> ${i18n().or}
<a class="cancel" href="${cancelUrl}&url=/individual" title="${i18n().return_to_profile}">${i18n().return_to_profile}</a>
</div>
<form id="addConceptForm" class="customForm" action="${submitUrl}">
<#assign checkedSource = false />
<h4 class="services">External Vocabulary Services</h4>
<h4 class="services">${i18n().external_vocabulary_services}</h4>
<#list sources?keys as sourceUri>
<#assign thisSource = sources[sourceUri]/>
<input type="radio" name="source" value="${sourceUri}" role="radio" <#if checkedSource = false><#assign checkedSource = true/>checked="checked"</#if>>
@ -91,8 +91,8 @@
</#list>
<p class="inline-search">
<input type="text" id="searchTerm" label="Search" class="acSelector" size="35" />
<input type="button" class="submit concept-search" id="searchButton" name="searchButton" value="Search"/>&nbsp;
</p><span id="createOwnOne"> or &nbsp;<a href="${userDefinedConceptUrl}" >Create your own concept&nbsp;</a></span>
<input type="button" class="submit concept-search" id="searchButton" name="searchButton" value="${i18n().search_button}"/>&nbsp;
</p><span id="createOwnOne"> ${i18n().or} &nbsp;<a href="${userDefinedConceptUrl}" title="${i18n().create_own_concept}">${i18n().create_own_concept}&nbsp;</a></span>
<input type="hidden" id="conceptNode" name="conceptNode" value=""/> <!-- Field value populated by JavaScript -->
<input type="hidden" id="conceptLabel" name="conceptLabel" value="" /> <!-- Field value populated by JavaScript -->
<input type="hidden" id="conceptSource" name="conceptSource" value="" /> <!-- Field value populated by JavaScript -->
@ -105,15 +105,15 @@
<input type="hidden" name="editKey" id="editKey" value="${editKey}"/>
<p class="submit">
<input type="submit" id="submit" name="submit" value="Add Selected Concept" />
<input type="submit" id="submit" name="submit" value="${i18n().add_selected_concept}" />
</p>
<div id="createOwnTwo"><br />
<a href="${userDefinedConceptUrl}" > Can't find the concept you want? Create your own.</a>
<a href="${userDefinedConceptUrl}" > ${i18n().cannot_find_concept}</a>
</div>
<p>
<span class="or"> or </span><a class="cancel" href="${cancelUrl}&url=/individual">Return to Profile Page</a>
<span class="or"> ${i18n().or} </span><a class="cancel" href="${cancelUrl}&url=/individual" title="${i18n().return_to_profile}">${i18n().return_to_profile}</a>
</p>
</form>
</div>

View file

@ -18,9 +18,9 @@ roleExamples-->
<#--Variable assignments for Add Clinical Role To Person-->
<#assign roleDescriptor = "attended" />
<#assign typeSelectorLabel = "event type" />
<#assign buttonText = "Attendee" />
<#assign roleDescriptor = "${i18n().attended}" />
<#assign typeSelectorLabel = "${i18n().event_type}" />
<#assign buttonText = "${i18n().attendee_capitalized}" />
<#--Each of the two stage forms will include the form below-->
<#include "addRoleToPersonTwoStage.ftl">

View file

@ -30,7 +30,7 @@
<#assign title="<em>${editConfiguration.subjectName}</em>" />
<#assign requiredHint="<span class='requiredHint'> *</span>" />
<#assign initialHint="<span class='hint'>(initial okay)</span>" />
<#assign initialHint="<span class='hint'>(${i18n().initial okay})</span>" />
<@lvf.unsupportedBrowser urls.base/>
@ -38,7 +38,7 @@
<#if submissionErrors?has_content>
<section id="error-alert" role="alert" class="validationError">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="${i18n().error_alert_icon}" />
<p>
<#--below shows examples of both printing out all error messages and checking the error message for a specific field-->
<#list submissionErrors?keys as errorFieldName>
@ -49,7 +49,7 @@
</section>
</#if>
<h3>Manage Authors</h3>
<h3>${i18n().manage_authors}</h3>
<ul id="authorships" ${ulClass}>
@ -74,11 +74,11 @@
<#if (authorUri?length > 0)>
<span class="authorName">${authorName}</span>
<#else>
<span class="authorName">${authorship.authorshipName}</span><em> (no linked author)</em>
<span class="authorName">${authorship.authorshipName}</span><em> (${i18n().no_linked_author})</em>
</#if>
</span>
<a href="${urls.base}/edit/primitiveDelete" class="remove" title="remove author link">Remove</a>
<a href="${urls.base}/edit/primitiveDelete" class="remove" title="${i18n().remove_author_link}">${i18n().remove_capitalized}</a>
</span>
</li>
@ -97,61 +97,61 @@
<section id="showAddForm" role="region">
<input type="hidden" name = "editKey" value="${editKey}" />
<input type="submit" id="showAddFormButton" value="Add Author" role="button" />
<input type="submit" id="showAddFormButton" value="${i18n().add_author}" role="button" />
<span class="or"> or </span>
<a id="returnLink" class="cancel" href="${cancelUrl}&url=/individual" title="Cancel">Return to Publication</a>
<img id="indicatorOne" class="indicator hidden" title="one" src="${urls.base}/images/indicatorWhite.gif" />
<span class="or"> ${i18n().or} </span>
<a id="returnLink" class="cancel" href="${cancelUrl}&url=/individual" title="${i18n().cancel_title}">${i18n().return_to_publication}</a>
<img id="indicatorOne" class="indicator hidden" alt="${i18n().processing_indicator}" src="${urls.base}/images/indicatorWhite.gif" />
</section>
<form id="addAuthorForm" action ="${submitUrl}" class="customForm noIE67">
<h3>Add an Author</h3>
<h3>${i18n().add_an_author}</h3>
<div style="display:inline">
<input type="radio" name="authorType" class="person-radio" value="" role="radio" checked style="display:inline;margin-top:20px" />
<label class="inline" for="Person" >Person</label>
<label class="inline" for="Person" >${i18n().person_capitalized}</label>
<input type="radio" name="authorType" class="org-radio" value="http://xmlns.com/foaf/0.1/Organization" role="radio" style="display:inline;margin-left:18px" />
<label class="inline" for="Organization">Organization</label>
<label class="inline" for="Organization">${i18n().organization_capitalized}</label>
</div>
<section id="personFields" role="personContainer">
<#--These wrapper paragraph elements are important because javascript hides parent of these fields, since last name
should be visible even when first name/middle name are not, the parents should be separate for each field-->
<p class="inline">
<label for="lastName">Last name <span class='requiredHint'> *</span></label>
<label for="lastName">${i18n().last_name} <span class='requiredHint'> *</span></label>
<input class="acSelector" size="35" type="text" id="lastName" name="lastName" value="${lastNameValue}" role="input" />
</p>
<p class="inline">
<label for="firstName">First name ${requiredHint} ${initialHint}</label>
<label for="firstName">${i18n().first_name} ${requiredHint} ${initialHint}</label>
<input size="20" type="text" id="firstName" name="firstName" value="${firstNameValue}" role="input" />
</p>
<p class="inline">
<label for="middleName">Middle name <span class='hint'>(initial okay)</span></label>
<label for="middleName">${i18n().middle_name} <span class='hint'>(${i18n().initial_okay})</span></label>
<input size="20" type="text" id="middleName" name="middleName" value="${middleNameValue}" role="input" />
</p>
<div id="selectedAuthor" class="acSelection">
<p class="inline">
<label>Selected author:&nbsp;</label>
<label>${i18n().selected_author}:&nbsp;</label>
<span class="acSelectionInfo" id="selectedAuthorName"></span>
<a href="${urls.base}/individual?uri=" id="personLink" class="verifyMatch" title="verify match">(Verify this match)</a>
<a href="${urls.base}/individual?uri=" id="personLink" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized})</a>
<input type="hidden" id="personUri" name="personUri" value="" role="input" /> <!-- Field value populated by JavaScript -->
</p>
</div>
</section>
<section id="organizationFields" role="organization">
<p class="inline">
<label for="orgName">Organization name <span class='requiredHint'> *</span></label>
<label for="orgName">${i18n().organization_name_capitalized} <span class='requiredHint'> *</span></label>
<input size="38" type="text" id="orgName" name="orgName" value="${orgNameValue}" role="input" />
</p>
<div id="selectedOrg" class="acSelection">
<p class="inline">
<label>Selected organization:&nbsp;</label>
<label>${i18n().selected_organization}:&nbsp;</label>
<span id="selectedOrgName"></span>
<a href="${urls.base}/individual?uri=" id="orgLink" title="verify match">(Verify this match)</a>
<a href="${urls.base}/individual?uri=" id="orgLink" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized})</a>
<input type="hidden" id="orgUri" name="orgUri" value="" role="input" /> <!-- Field value populated by JavaScript -->
</p>
</div>
@ -164,15 +164,15 @@
<p class="submit">
<input type="hidden" name = "editKey" value="${editKey}" role="input" />
<input type="submit" id="submit" value="Add Author" role="button" role="input" />
<input type="submit" id="submit" value="${i18n().add_author}" role="button" role="input" />
<span class="or"> or </span>
<span class="or"> ${i18n().or} </span>
<a id="returnLink" class="cancel" href="${cancelUrl}" title="Cancel">Cancel</a>
<img id="indicatorTwo" title="two" class="indicator hidden" src="${urls.base}/images/indicatorWhite.gif" />
<a id="returnLink" class="cancel" href="${cancelUrl}" title="${i18n().cancel_title}">${i18n().cancel_link}</a>
<img id="indicatorTwo" alt="${i18n().processing_indicator}" class="indicator hidden" src="${urls.base}/images/indicatorWhite.gif" />
</p>
<p id="requiredLegend" class="requiredHint">* required fields</p>
<p id="requiredLegend" class="requiredHint">* ${i18n().required_fields}</p>
</form>
<script type="text/javascript">

View file

@ -23,8 +23,8 @@ RoleToActivityPredicate
<#--Variable assignments for Add Clinical Role To Person-->
<#assign roleDescriptor = "clinical activity" />
<#assign typeSelectorLabel = "clinical activity type" />
<#assign roleDescriptor = "${i18n().clinical_activity}" />
<#assign typeSelectorLabel = "${i18n().clinical_activity_type}" />
<#--Each of the two stage forms will include the form below-->

View file

@ -23,12 +23,12 @@
</#if>
<#if editMode == "edit">
<#assign titleVerb="Edit webpage of">
<#assign submitButtonText="Save changes">
<#assign titleVerb="${i18n().edit_wbpage_of}">
<#assign submitButtonText="${i18n().save_changes}">
<#assign disabledVal="disabled">
<#else>
<#assign titleVerb="Add webpage for">
<#assign submitButtonText="Add Web Page">
<#assign titleVerb="${i18n().add_webpage_for}">
<#assign submitButtonText="${i18n().add_webpage}">
<#assign disabledVal=""/>
</#if>
@ -38,7 +38,7 @@
<#if submissionErrors??>
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="${i18n().error_alert_icon}" />
<p>
<#list submissionErrors?keys as errorFieldName>
${errorFieldName}: ${submissionErrors[errorFieldName]} <br/>
@ -49,16 +49,16 @@
<form class="customForm" action ="${submitUrl}">
<label for="urlType">URL Type${requiredHint}</label>
<label for="urlType">${i18n().url_type}${requiredHint}</label>
<#assign urlTypeOpts = editConfiguration.pageData.urlType />
<select name="urlType" style="margin-top:-2px" >
<option value="" <#if editMode == "add">selected</#if>>Select one</option>
<option value="" <#if editMode == "add">selected</#if>>${i18n().select_one}</option>
<#list urlTypeOpts?keys as key>
<option value="${key}" <#if urlTypeValue == key>selected</#if> >
<#if urlTypeOpts[key] == "F1000 Link">
Faculty of 1000 Link
${i18n().faculty_of_1000}
<#else>
Standard Web Link
${i18n().standard_web_link}
</#if>
</option>
</#list>
@ -66,7 +66,7 @@
<label for="url">URL ${requiredHint}</label>
<input size="70" type="text" id="url" name="url" value="${url}" role="input" />
<label for="anchor">Webpage Name</label>
<label for="anchor">${i18n().webpage_name}</label>
<input size="70" type="text" id="anchor" name="anchor" value="${anchor}" role="input" />
<#if editMode="add">
@ -75,8 +75,8 @@
<input type="hidden" id="editKey" name="editKey" value="${editConfiguration.editKey}"/>
<p class="submit">
<input type="submit" id="submit" value="${submitButtonText}"/><span class="or"> or </span>
<a class="cancel" href="${editConfiguration.cancelUrl}" title="Cancel">Cancel</a>
<input type="submit" id="submit" value="${submitButtonText}"/><span class="or"> ${i18n().or} </span>
<a class="cancel" href="${editConfiguration.cancelUrl}" title="${i18n().cancel_title}">${i18n().cancel_link}</a>
</p>
</form>

View file

@ -18,8 +18,8 @@ roleExamples-->
<#--Variable assignments for Add Clinical Role To Person-->
<#assign roleDescriptor = "collection or series editor role" />
<#assign typeSelectorLabel = "editor role in" />
<#assign roleDescriptor = "${i18n().collection_series_editor_role}" />
<#assign typeSelectorLabel = "${i18n().editor_role_in}" />
<#--Each of the two stage forms will include the form below-->

View file

@ -32,20 +32,20 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#--the heading and submit button label depend on the predicate uri-->
<#assign formHeading = "investigator entry for "/>
<#assign submitButtonLabel = "Investigator" />
<#assign formHeading = "${i18n().investigator_entry_for}"/>
<#assign submitButtonLabel = "${i18n().investigator_capitalized}" />
<#if editConfiguration.predicateUri?ends_with("hasPrincipalInvestigatorRole") >
<#assign formHeading = "principal investigator entry for "/>
<#assign formHeading = "${i18n().principal_investigator_entry_for}"/>
<#elseif editConfiguration.predicateUri?ends_with("hasCo-PrincipalInvestigatorRole") >
<#assign formHeading = "co-principal investigator entry for "/>
<#assign formHeading = "${i18n().co_principal_investigator_entry_for}"/>
</#if>
<#if editMode = "add">
<#assign formHeading> Create ${formHeading} </#assign>
<#assign submitButtonLabel>Create Entry</#assign>
<#assign formHeading> ${i18n().create_capitalized} ${formHeading} </#assign>
<#assign submitButtonLabel>${i18n().create_entry}</#assign>
<#else>
<#assign formHeading> Edit ${formHeading} </#assign>
<#assign submitButtonLabel>Save Changes</#assign>
<#assign formHeading> ${i18n().edit_capitalized} ${formHeading} </#assign>
<#assign submitButtonLabel>${i18n().save_changes}</#assign>
</#if>
@ -63,11 +63,10 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#assign requiredHint = "<span class='requiredHint'> *</span>" />
<#assign yearHint = "<span class='hint'>(YYYY)</span>" />
<#assign yearHint = "<span class='hint'>(${i18n().year_hint_format})</span>" />
<#if editMode = "error">
<div>This form is unable to handle the editing of this position because it is associated with
multiple Position individuals.</div>
<div>${i18n().unable_to_handle_position_editing}</div>
<#else>
<h2>${formHeading} ${editConfiguration.subjectName}</h2>
@ -79,20 +78,20 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</#if>
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="${i18n().error_alert_icon}" />
<p>
<#--below shows examples of both printing out all error messages and checking the error message for a specific field-->
<#list submissionErrors?keys as errorFieldName>
<#if errorFieldName == "startField">
<#if submissionErrors[errorFieldName]?contains("before")>
The Start Year must be earlier than the End Year.
${i18n().start_year_must_precede_end}
<#else>
${submissionErrors[errorFieldName]}
</#if>
<br />
<#elseif errorFieldName == "endField">
<#if submissionErrors[errorFieldName]?contains("after")>
The End Year must be later than the Start Year.
${i18n().end_year_must_be_later}
<#else>
${submissionErrors[errorFieldName]}
</#if>
@ -100,7 +99,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</#list>
<#--Checking if Name field is empty-->
<#if lvf.submissionErrorExists(editSubmission, "grantLabel")>
Please enter or select a value in the Grant Name field.
${i18n().enter_or_select_grant}
</#if>
</p>
@ -115,38 +114,38 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<form id="addGrantRoleToPerson" class="customForm noIE67" action="${submitUrl}" role="add/edit grant role">
<p>
<label for="grant">Grant Name ${requiredHint}</label>
<label for="grant">${i18n().grant_name} ${requiredHint}</label>
<input class="acSelector" size="50" type="text" id="grant" acGroupName="grant" name="grantLabel" value="${grantLabelValue}" />
<input class="display" type="hidden" id="grantDisplay" acGroupName="grant" name="grantLabelDisplay" value="${grantLabelDisplayValue}">
</p>
<div class="acSelection" acGroupName="grant" id="grantAcSelection">
<p class="inline">
<label>Selected Grant:</label>
<label>${i18n().selected_grant}:</label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection" title="${i18n().change_selection}">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="grantUri" name="existingGrant" value="${existingGrantValue}" ${flagClearLabelForExisting}="true" />
</div>
<h4>Years of Participation in Grant</h4>
<h4>${i18n().years_of_grant_participation}</h4>
<#if htmlForElements?keys?seq_contains("startField")>
<label class="dateTime" for="startField">Start</label>
<label class="dateTime" for="startField">${i18n().start_capitalized}</label>
${htmlForElements["startField"]} ${yearHint}
</#if>
<p></p>
<#if htmlForElements?keys?seq_contains("endField")>
<label class="dateTime" for="endField">End</label>
<label class="dateTime" for="endField">${i18n().end_capitalized}</label>
${htmlForElements["endField"]} ${yearHint}
</#if>
<p class="submit">
<input type="hidden" name = "editKey" value="${editKey}"/>
<input type="submit" id="submit" value="${submitButtonLabel}"/><span class="or"> or </span><a class="cancel" href="${cancelUrl}" title="Cancel">Cancel</a>
<input type="submit" id="submit" value="${submitButtonLabel}"/><span class="or"> ${i18n().or} </span><a class="cancel" href="${cancelUrl}" title="${i18n().cancel_title}">${i18n().cancel_link}</a>
</p>
<p id="requiredLegend" class="requiredHint">* required fields</p>
<p id="requiredLegend" class="requiredHint">* ${i18n().required_fields}</p>
</form>
</section>

View file

@ -18,9 +18,9 @@ roleExamples-->
<#--Variable assignments for Add Clinical Role To Person-->
<#assign roleDescriptor = "leadership" />
<#assign typeSelectorLabel = "organization type" />
<#assign buttonText = "Leadership Role" />
<#assign roleDescriptor = "${i18n().leadership}" />
<#assign typeSelectorLabel = "${i18n().organization_type}" />
<#assign buttonText = "${i18n().leadership_role}" />
<#--Each of the two stage forms will include the form below-->
<#include "addRoleToPersonTwoStage.ftl">

View file

@ -18,9 +18,9 @@ roleExamples-->
<#--Variable assignments for Add Clinical Role To Person-->
<#assign roleDescriptor = "membership" />
<#assign typeSelectorLabel = "membership in" />
<#assign roleActivityVClass = "organizations" />
<#assign roleDescriptor = "${i18n().membership}" />
<#assign typeSelectorLabel = "${i18n().membership_in}" />
<#assign roleActivityVClass = "${i18n().organizations}" />
<#--Each of the two stage forms will include the form below-->
<#include "addRoleToPersonTwoStage.ftl">

View file

@ -18,9 +18,9 @@ roleExamples-->
<#--Variable assignments for Add Clinical Role To Person-->
<#assign roleDescriptor = "organizer of" />
<#assign typeSelectorLabel = "organizer of" />
<#assign buttonText = "Organizer Role" />
<#assign roleDescriptor = "${i18n().organizer_of}" />
<#assign typeSelectorLabel = "${i18n().organizer_of}" />
<#assign buttonText = "${i18n().organizer_role}" />
<#--Each of the two stage forms will include the form below-->
<#include "addRoleToPersonTwoStage.ftl">

View file

@ -18,8 +18,8 @@ roleExamples-->
<#--Variable assignments for Add Clinical Role To Person-->
<#assign roleDescriptor = "outreach & community service" />
<#assign typeSelectorLabel = "outreach & community service in" />
<#assign roleDescriptor = "${i18n().outreach_comm_service}" />
<#assign typeSelectorLabel = "${i18n().outreach_comm_service_in}" />
<#--Each of the two stage forms will include the form below-->

View file

@ -41,19 +41,19 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</#if>
<#if editMode == "edit">
<#assign titleVerb="Edit">
<#assign submitButtonText="Save Changes">
<#assign titleVerb="${i18n().edit_capitalized}">
<#assign submitButtonText="${i18n().save_changes}">
<#assign disabledVal="disabled">
<#else>
<#assign titleVerb="Create">
<#assign submitButtonText="Create Entry">
<#assign titleVerb="${i18n().create_capitalized}">
<#assign submitButtonText="${i18n().create_entry}">
<#assign disabledVal=""/>
</#if>
<#assign requiredHint = "<span class='requiredHint'> *</span>" />
<#assign yearHint = "<span class='hint'>(YYYY)</span>" />
<#assign yearHint = "<span class='hint'>(${i18n().year_hint_format})</span>" />
<h2>${titleVerb}&nbsp;presentation entry for ${editConfiguration.subjectName}</h2>
<h2>${titleVerb}&nbsp;${i18n().presentation_entry_for} ${editConfiguration.subjectName}</h2>
<#--Display error messages if any-->
<#if submissionErrors?has_content>
@ -64,26 +64,26 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#assign presentationLabelValue = presentationLabelDisplayValue />
</#if>
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="${i18n().error_alert_icon}" />
<p>
<#--Checking if any required fields are empty-->
<#if lvf.submissionErrorExists(editSubmission, "presentationLabel")>
Please select an existing value or enter a new value in the Name field.
${i18n().select_or_enter_name}
</#if>
<#if lvf.submissionErrorExists(editSubmission, "roleLabel")>
Please enter a new value in the Role field.
${i18n().enter_new_role_value}
</#if>
<#list submissionErrors?keys as errorFieldName>
<#if errorFieldName == "startField">
<#if submissionErrors[errorFieldName]?contains("before")>
The Start Year must be earlier than the End Year.
${i18n().start_year_must_precede_end}
<#else>
${submissionErrors[errorFieldName]}
</#if>
<#elseif errorFieldName == "endField">
<#if submissionErrors[errorFieldName]?contains("after")>
The End Year must be later than the Start Year.
${i18n().end_year_must_be_later}
<#else>
${submissionErrors[errorFieldName]}
</#if>
@ -99,19 +99,19 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<form id="addPresenterRoleToPerson" class="customForm noIE67" action="${submitUrl}" role="add/edit Presentation">
<p class="inline">
<label for="presentationType">Presentation Type<#if editMode != "edit"> ${requiredHint}<#else>:</#if></label>
<label for="presentationType">${i18n().presentation_type}<#if editMode != "edit"> ${requiredHint}<#else>:</#if></label>
<#assign presentationTypeOpts = editConfiguration.pageData.presentationType />
<select id="typeSelector" name="presentationType" acGroupName="presentation">
<option value="" selected="selected">Select one</option>
<option value="" selected="selected">${i18n().select_one}</option>
<#list presentationTypeOpts?keys as key>
<option value="${key}" <#if presentationTypeValue = key>selected</#if>> <#if presentationTypeOpts[key] == "Other">Presentation<#else>${presentationTypeOpts[key]}</#if></option>
<option value="${key}" <#if presentationTypeValue = key>selected</#if>> <#if presentationTypeOpts[key] == "Other">${i18n().presentation_capitalized}<#else>${presentationTypeOpts[key]}</#if></option>
</#list>
</select>
</p>
<div class="fullViewOnly">
<p>
<label for="presentation">### Name ${requiredHint}</label>
<label for="presentation">### ${i18n().name_capitalized} ${requiredHint}</label>
<input class="acSelector" size="50" type="text" id="presentation" acGroupName="presentation" name="presentationLabel" value="${presentationLabelValue}">
<input class="display" type="hidden" id="presentationDisplay" acGroupName="presentation" name="presentationLabelDisplay" value="${presentationLabelDisplayValue}">
</p>
@ -120,40 +120,40 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<p class="inline">
<label></label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="presentationUri" name="existingPresentation" value="${existingPresentationValue}" ${flagClearLabelForExisting}="true" />
</div>
<p><label for="roleLabel">Role in ### ${requiredHint} <span class="hint">(e.g., Moderator, Speaker, Panelist)</span></label>
<p><label for="roleLabel">${i18n().role_in} ### ${requiredHint} <span class="hint">(${i18n().presentation_hint})</span></label>
<input size="50" type="text" id="roleLabel" name="roleLabel" value="${roleLabelValue}" />
</p>
<p>
<label for="org">Presented At</label>
<label for="org">${i18n().presented_at}</label>
<input class="acSelector" size="50" acGroupName="conference" type="text" id="conference" name="conferenceLabel" value="${conferenceLabelValue}" />
<input class="display" acGroupName="conference" type="hidden" id="conferenceDisplay" name="conferenceLabelDisplay" value="${conferenceLabelDisplayValue}" />
</p>
<div class="acSelection" acGroupName="conference">
<p class="inline">
<label>Selected conference:</label>
<label>${i18n().selected_conference}:</label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="conferenceUri" name="existingConference" value="${conferenceValue}" ${flagClearLabelForExisting}="true" />
</div>
<p>
<h4 class="label">Years of Participation in ###</h4>
<h4 class="label">${i18n().years_participation_in} ###</h4>
</p>
<#--Need to draw edit elements for dates here-->
<#assign htmlForElements = editConfiguration.pageData.htmlForElements />
<#if htmlForElements?keys?seq_contains("startField")>
<label class="dateTime" for="startField">Start</label>
<label class="dateTime" for="startField">${i18n().start_capitalized}</label>
${htmlForElements["startField"]} ${yearHint}
</#if>
<br/>
<#if htmlForElements?keys?seq_contains("endField")>
<label class="dateTime" for="endField">End</label>
<label class="dateTime" for="endField">${i18n().end_capitalized}</label>
${htmlForElements["endField"]} ${yearHint}
</#if>
<#--End draw elements-->
@ -163,11 +163,11 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</div>
<p class="submit">
<input type="submit" class="submit" value="${submitButtonText}"/><span class="or"> or </span>
<a class="cancel" href="${cancelUrl}" title="Cancel">Cancel</a>
<input type="submit" class="submit" value="${submitButtonText}"/><span class="or"> ${i18n().or} </span>
<a class="cancel" href="${cancelUrl}" title="${i18n().cancel_title}">${i18n().cancel_link}</a>
</p>
<p id="requiredLegend" class="requiredHint">* required fields</p>
<p id="requiredLegend" class="requiredHint">* ${i18n().required_fields}</p>
<#-- hide the html that gets written, and use java script to pass the value between the two -->
<div class="hidden">

View file

@ -25,18 +25,18 @@
<#--The blank sentinel indicates what value should be put in a URI when no autocomplete result has been selected.
If the blank value is non-null or non-empty, n3 editing for an existing object will remove the original relationship
if nothing is selected for that object-->
if nothing is selected for that object -->
<#assign blankSentinel = "" />
<#if editConfigurationConstants?has_content && editConfigurationConstants?keys?seq_contains("BLANK_SENTINEL")>
<#assign blankSentinel = editConfigurationConstants["BLANK_SENTINEL"] />
</#if>
<#--This flag is for clearing the label field on submission for an existing object being selected from autocomplete.
<#-- This flag is for clearing the label field on submission for an existing object being selected from autocomplete.
Set this flag on the input acUriReceiver where you would like this behavior to occur. -->
<#assign flagClearLabelForExisting = "flagClearLabelForExisting" />
<#--In case of submission error, may already have publication type or title - although latter not likely, but storing values to be on safe side-->
<#-- In case of submission error, may already have publication type or title - although latter not likely, but storing values to be on safe side -->
<#assign publicationTypeValue = lvf.getFormFieldValue(editSubmission, editConfiguration, "pubType") />
<#assign titleValue = lvf.getFormFieldValue(editSubmission, editConfiguration, "title") />
<#assign pubUriValue = lvf.getFormFieldValue(editSubmission, editConfiguration, "pubUri") />
@ -69,16 +69,16 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#assign endPageValue = lvf.getFormFieldValue(editSubmission, editConfiguration, "endPage") />
<#if editMode == "edit">
<#assign titleVerb="Edit">
<#assign submitButtonText="Save Changes">
<#assign titleVerb="${i18n().edit_capitalized}">
<#assign submitButtonText="${i18n().Save_changes}">
<#assign disabledVal="disabled">
<#else>
<#assign titleVerb="Create">
<#assign submitButtonText="Create Entry">
<#assign titleVerb="${i18n().create_capitalized}">
<#assign submitButtonText="${i18n().create_entry}">
<#assign disabledVal=""/>
</#if>
<h2>${titleVerb}&nbsp;publication entry for ${editConfiguration.subjectName}</h2>
<h2>${titleVerb}&nbsp;${i18n().publication_entry_for} ${editConfiguration.subjectName}</h2>
<#if submissionErrors?has_content>
@ -102,11 +102,11 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</#if>
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="${i18n().error_alert_icon}" />
<p>
<#--below shows examples of both printing out all error messages and checking the error message for a specific field-->
<#if lvf.submissionErrorExists(editSubmission, "title")>
Please select an existing publication in the Title field or enter a new one.<br />
${i18n().select_existing_pub_or_enter_new}<br />
<#else>
<#list submissionErrors?keys as errorFieldName>
${submissionErrors[errorFieldName]} <br/>
@ -118,11 +118,10 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#assign requiredHint = "<span class='requiredHint'> *</span>" />
<#assign yearHint = "<span class='hint'>(YYYY)</span>" />
<#assign yearHint = "<span class='hint'>(${i18n().year_hint_format})</span>" />
<#if editMode = "error">
<div>This form is unable to handle the editing of this position because it is associated with
multiple Position individuals.</div>
<div>${i18n().unable_to_handle_publication_editing}</div>
<#else>
<section id="addPublicationToPerson" role="region">
@ -131,9 +130,9 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<form id="addpublicationToPerson" class="customForm noIE67" action="${submitUrl}" role="add/edit publication">
<#--TODO: Check if possible to have existing publication options here in order to select-->
<p class="inline"><label for="typeSelector">Publication Type<#if editMode != "edit"> ${requiredHint}<#else>:</#if></label>
<p class="inline"><label for="typeSelector">${i18n().publication_type}<#if editMode != "edit"> ${requiredHint}<#else>:</#if></label>
<select id="typeSelector" name="pubType" acGroupName="publication" >
<option value="" <#if (publicationTypeValue?length = 0)>selected="selected"</#if>>Select one</option>
<option value="" <#if (publicationTypeValue?length = 0)>selected="selected"</#if>>${i18n().select_one}</option>
<#list pubTypeLiteralOptions?keys as key>
<option value="${key}" <#if (publicationTypeValue = key)>selected="selected"</#if>>${pubTypeLiteralOptions[key]}</option>
</#list>
@ -141,84 +140,84 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</p>
<div class="fullViewOnly">
<p>
<label for="title">Title ${requiredHint}</label>
<label for="title">${i18n().title_capitalized} ${requiredHint}</label>
<input class="acSelector" size="60" type="text" id="title" name="title" acGroupName="publication" value="${titleValue}" />
</p>
<div class="acSelection" acGroupName="publication" id="pubAcSelection">
<p class="inline">
<label>Selected Publication:</label>
<label>${i18n().selected_publication}:</label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="pubUri" name="pubUri" value="${pubUriValue}" ${flagClearLabelForExisting}="true" />
</div>
<div id="fieldsForNewPub">
<#-- Published In: collection -->
<p>
<label for="collection">Published in</label>
<label for="collection">${i18n().published_in}</label>
<input class="acSelector" size="50" type="text" id="collection" name="collection" acGroupName="collection" value="${collectionValue}" />
<input class="display" type="hidden" id="collectionDisplay" name="collectionDisplay" acGroupName="collection" value="${collectionDisplayValue}" />
</p>
<div class="acSelection" acGroupName="collection" >
<p class="inline">
<label>Selected Journal:</label>
<label>${i18n().selected_journal}:</label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="collectionUri" name="collectionUri" value="${collectionUriValue}" ${flagClearLabelForExisting}="true" />
</div>
<#-- Published In: book -->
<p>
<label for="book">Published in</label>
<label for="book">${i18n().published_in}</label>
<input class="acSelector" size="50" type="text" id="book" name="book" acGroupName="book" value="${bookValue}" />
<input class="display" type="hidden" id="bookDisplay" name="bookDisplay" acGroupName="book" value="${bookDisplayValue}" />
</p>
<div class="acSelection" acGroupName="book" >
<p class="inline">
<label>Selected Book:</label>
<label>${i18n().selected_book}:</label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="bookUri" name="bookUri" value="${bookUriValue}" ${flagClearLabelForExisting}="true" />
</div>
<#-- Presented At -->
<p>
<label for="conference">Presented at</label>
<label for="conference">${i18n().presented_at}</label>
<input class="acSelector" size="50" type="text" id="conference" name="conference" acGroupName="conference" value="${conferenceValue}" />
<input class="display" type="hidden" id="conferenceDisplay" name="conferenceDisplay" acGroupName="conference" value="${conferenceDisplayValue}" />
</p>
<div class="acSelection" acGroupName="conference" >
<p class="inline">
<label>Selected Event:</label>
<label>${i18n().selected_event}:</label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="conferenceUri" name="conferenceUri" value="${conferenceUriValue}" ${flagClearLabelForExisting}="true" />
</div>
<#-- Proceedings of -->
<p>
<label for="event">Proceedings of</label>
<label for="event">${i18n().proceedings_of}</label>
<input class="acSelector" size="50" type="text" id="event" name="event" acGroupName="event" value="${eventValue}" />
<input class="display" type="hidden" id="eventDisplay" name="eventDisplay" acGroupName="event" value="${eventDisplayValue}" />
</p>
<div class="acSelection" acGroupName="event" >
<p class="inline">
<label>Selected Organization:</label>
<label>${i18n().selected_organization}:</label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="eventUri" name="eventUri" value="${eventUriValue}" ${flagClearLabelForExisting}="true" />
</div>
@ -226,8 +225,8 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#-- Editor -->
<p>
<label class="editor" for="editor">Editor: Last Name<span style="padding-left:338px">First Name ${requiredHint}</span>
<span class="note">(required with new Last Name)</span>
<label class="editor" for="editor">${i18n().editor_capitalized}: ${i18n().last_name}<span style="padding-left:338px">${i18n().first_name} ${requiredHint}</span>
<span class="note">(${i18n().required_with_last_name})</span>
</label>
<input class="acSelector" size="50" type="text" id="editor" name="editor" acGroupName="editor" value="${editorValue}" />
<input size="30" type="text" id="firstName" name="firstName" value="${firstNameValue}" ><br />
@ -237,43 +236,43 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<div class="acSelection" acGroupName="editor" >
<p class="inline">
<label>Selected Editor:</label>
<label>${i18n().selected_editor}:</label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="editorUri" name="editorUri" value="${editorUriValue}" ${flagClearLabelForExisting}="true" />
</div>
<#-- Publisher -->
<p>
<label for="publisher">Publisher</label>
<label for="publisher">${i18n().publisher_capitalized}</label>
<input class="acSelector" size="50" type="text" id="publisher" name="publisher" acGroupName="publisher" value="${publisherValue}" />
<input class="display" type="hidden" id="publisherDisplay" name="publisherDisplay" acGroupName="publisher" value="${publisherDisplayValue}" />
</p>
<div class="acSelection" acGroupName="publisher" >
<p class="inline">
<label>Selected Publisher:</label>
<label>${i18n().selected_publisher}:</label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="publisherUri" name="publisherUri" value="${publisherUriValue}" ${flagClearLabelForExisting}="true" />
</div>
<#-- Place of Publication -->
<p>
<label for="locale">Place of Publication</label>
<label for="locale">${i18n().place_of_publication}</label>
<input size="30" type="text" id="locale" name="locale" acGroupName="locale" value="${localeValue}" />
</p>
<#-- Volume, Number and Issue -->
<p class="inline">
<label for="volume" id="volLabel">Volume</label>
<label for="number" id="nbrLabel" class="vniLabels">Number</label>
<label for="issue" id="issueLabel" class="vniLabels">Issue</label>
<label for="issue" id="chapterNbrLabel" class="vniLabels">Chapter</label>
<label for="volume" id="volLabel">${i18n().volume_capitalized}</label>
<label for="number" id="nbrLabel" class="vniLabels">${i18n().number_capitalized}</label>
<label for="issue" id="issueLabel" class="vniLabels">${i18n().issue_capitalized}</label>
<label for="issue" id="chapterNbrLabel" class="vniLabels">${i18n().chapter_capitalized}</label>
</p>
<p>
<input size="4" type="text" id="volume" name="volume" value="${volumeValue}" />
@ -284,8 +283,8 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#-- Start/End Pages -->
<p class="inline">
<label for="startPage" id="sPLabel">Start Page</label>
<label for="endPage" class="sepLabels">End Page</label>
<label for="startPage" id="sPLabel">${i18n().start_page}</label>
<label for="endPage" class="sepLabels">${i18n().end_page}</label>
</p>
<p>
<input size="4" type="text" id="startPage" name="startPage" value="${startPageValue}" />
@ -296,7 +295,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<p>
<#assign htmlForElements = editConfiguration.pageData.htmlForElements />
<#if htmlForElements?keys?seq_contains("dateTime")>
<label class="dateTime" for="pubDate">Publication Date</label><p></p>
<label class="dateTime" for="pubDate">${i18n().publication_date}</label><p></p>
${htmlForElements["dateTime"]} ${yearHint}
</#if>
</p>
@ -305,10 +304,10 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</div> <!-- end fullViewOnly -->
<p class="submit">
<input type="hidden" name = "editKey" value="${editKey}"/>
<input type="submit" id="submit" value="${submitButtonText}"/><span class="or"> or </span><a class="cancel" href="${cancelUrl}">Cancel</a>
<input type="submit" id="submit" value="${submitButtonText}"/><span class="or"> ${i18n().or} </span><a class="cancel" href="${cancelUrl}" title="${i18n().cancel_title}">${i18n().cancel_link}</a>
</p>
<p id="requiredLegend" class="requiredHint">* required fields</p>
<p id="requiredLegend" class="requiredHint">* ${i18n().required_fields}</p>
</form>

View file

@ -18,8 +18,8 @@ roleExamples-->
<#--Variable assignments for Add Clinical Role To Person-->
<#assign roleDescriptor = "research activity" />
<#assign typeSelectorLabel = "research activity type" />
<#assign roleDescriptor = "${i18n().research_activity}" />
<#assign typeSelectorLabel = "${i18n().research_activity_type}" />
<#--Each of the two stage forms will include the form below-->

View file

@ -18,9 +18,9 @@ roleExamples-->
<#--Variable assignments for Add Clinical Role To Person-->
<#assign roleDescriptor = "reviewer of" />
<#assign typeSelectorLabel = "reviewer of" />
<#assign buttonText = "Reviewer Role" />
<#assign roleDescriptor = "${i18n().reviewer_of}" />
<#assign typeSelectorLabel = "${i18n().reviewer_of}" />
<#assign buttonText = "${i18n().reviewer_role}" />
<#--Each of the two stage forms will include the form below-->
<#include "addRoleToPersonTwoStage.ftl">

View file

@ -42,16 +42,16 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#--Setting values for titleVerb, submitButonText, and disabled Value-->
<#if editConfiguration.objectUri?has_content>
<#assign titleVerb = "Edit"/>
<#assign submitButtonText>Save Changes</#assign>
<#assign titleVerb = "${i18n().edit_capitalized}"/>
<#assign submitButtonText>${i18n().save_changes}</#assign>
<#if editMode = "repair">
<#assign disabledVal = ""/>
<#else>
<#assign disabledVal = "disabled"/>
</#if>
<#else>
<#assign titleVerb = "Create"/>
<#assign submitButtonText>Create Entry</#assign>
<#assign titleVerb = "${i18n().create_capitalized}"/>
<#assign submitButtonText>${i18n().create_entry}</#assign>
<#assign disabledVal = ""/>
<#assign editMode = "add" />
</#if>
@ -75,9 +75,9 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#assign requiredHint = "<span class='requiredHint'> *</span>" />
<#assign yearHint = "<span class='hint'>(YYYY)</span>" />
<#assign yearHint = "<span class='hint'>(${i18n().year_hint_format})</span>" />
<h2>${titleVerb}&nbsp;${roleDescriptor} entry for ${editConfiguration.subjectName}</h2>
<h2>${titleVerb}&nbsp;${roleDescriptor} ${i18n().entry_for} ${editConfiguration.subjectName}</h2>
<#--Display error messages if any-->
<#if activityLabelDisplayValue?has_content >
@ -87,20 +87,20 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#if submissionErrors?has_content>
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="${i18n().error_alert_icon}" />
<p>
<#--below shows examples of both printing out all error messages and checking the error message for a specific field-->
<#list submissionErrors?keys as errorFieldName>
<#if errorFieldName == "startField">
<#if submissionErrors[errorFieldName]?contains("before")>
The Start Year must be earlier than the End Year.
${i18n().start_year_must_precede_end}
<#else>
${submissionErrors[errorFieldName]}
</#if>
<br />
<#elseif errorFieldName == "endField">
<#if submissionErrors[errorFieldName]?contains("after")>
The End Year must be later than the Start Year.
${i18n().end_year_must_be_later}
<#else>
${submissionErrors[errorFieldName]}
</#if>
@ -108,11 +108,11 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</#list>
<#--Checking if Name field is empty-->
<#if lvf.submissionErrorExists(editSubmission, "activityLabel")>
Please enter or select a value in the Name field.<br />
${i18n().select_or_enter_name}<br />
</#if>
<#--Checking if role field is empty-->
<#if lvf.submissionErrorExists(editSubmission, "roleLabel")>
Please specify a role for this activity.
${i18n().specify_role_for_activity}
</#if>
</p>
@ -155,7 +155,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<div class="fullViewOnly">
<p>
<label for="activity">### Name ${requiredHint}</label>
<label for="activity">### ${i18n().name_capitalized} ${requiredHint}</label>
<input class="acSelector" size="50" type="text" id="activity" name="activityLabel" acGroupName="activity" value="${activityLabelValue}" />
<input class="display" type="hidden" id="activityDisplay" acGroupName="activity" name="activityLabelDisplay" value="${activityLabelDisplayValue}">
</p>
@ -167,8 +167,8 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<p class="inline">
<label></label>
<span class="acSelectionInfo"></span>
<a href="/vivo/individual?uri=" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="/vivo/individual?uri=" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="roleActivityUri" name="existingRoleActivity" value="${existingRoleActivityValue}" ${flagClearLabelForExisting}="true" />
@ -176,7 +176,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</div>
<#if showRoleLabelField = true>
<p><label for="roleLabel">Role in ### ${requiredHint} ${roleExamples}</label>
<p><label for="roleLabel">${i18n().role_in} ### ${requiredHint} ${roleExamples}</label>
<input size="50" type="text" id="roleLabel" name="roleLabel" value="${roleLabel}" />
</p>
</#if>
@ -184,28 +184,28 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#if numDateFields == 1 >
<#--Generated html is a map with key name mapping to html string-->
<#if htmlForElements?keys?seq_contains("startField")>
<label class="dateTimeLabel" for="startField">Start Year</label>
<label class="dateTimeLabel" for="startField">${i18n().start_year}</label>
${htmlForElements["startField"]} ${yearHint}
</#if>
<#else>
<h4 class="label">Years of Participation in ### </h4>
<h4 class="label">${i18n().years_participation_in} ### </h4>
<#if htmlForElements?keys?seq_contains("startField")>
<label class="dateTime" for="startField">Start</label>
<label class="dateTime" for="startField">${i18n().start_capitalized}</label>
${htmlForElements["startField"]} ${yearHint}
</#if>
<p></p>
<#if htmlForElements?keys?seq_contains("endField")>
<label class="dateTime" for="endField">End</label>
<label class="dateTime" for="endField">${i18n().end_capitalized}</label>
${htmlForElements["endField"]} ${yearHint}
</#if>
</#if>
</div>
<p class="submit">
<input type="hidden" id="editKey" name="editKey" value="${editKey}" />
<input type="submit" id="submit" value="${submitButtonText}"/><span class="or"> or </span><a class="cancel" href="${cancelUrl}" title="Cancel">Cancel</a>
<input type="submit" id="submit" value="${submitButtonText}"/><span class="or"> ${i18n().or} </span><a class="cancel" href="${cancelUrl}" title="${i18n().cancel_title}">${i18n().cancel_link}</a>
</p>
<p id="requiredLegend" class="requiredHint">* required fields</p>
<p id="requiredLegend" class="requiredHint">* ${i18n().required_fields}</p>
</form>
<#--Specifying form-specific script and adding stylesheets and scripts-->

View file

@ -18,9 +18,9 @@ roleExamples-->
<#--Variable assignments for Add Service Provider Role To Person-->
<#assign roleDescriptor = "service to the profession" />
<#assign typeSelectorLabel = "service to the profession in" />
<#assign buttonText = "Service Provider Role" />
<#assign roleDescriptor = "${i18n().service_to_profession}" />
<#assign typeSelectorLabel = "${i18n().service_to_profession_in}" />
<#assign buttonText = "${i18n().service_provider_role}" />
<#--Each of the two stage forms will include the form below-->

View file

@ -18,9 +18,9 @@ roleExamples-->
<#--Variable assignments for Add Clinical Role To Person-->
<#assign roleDescriptor = "teaching activity" />
<#assign typeSelectorLabel = "teaching activity type" />
<#assign roleExamples = "<span class='hint'>&nbsp;(e.g., Instructor, Facilitator, Assistant)</span>" />
<#assign roleDescriptor = "${i18n().teaching_activity}" />
<#assign typeSelectorLabel = "${i18n().teaching_activity_type}" />
<#assign roleExamples = "<span class='hint'>&nbsp;(${i18n().teaching_role_hint})</span>" />
<#--Each of the two stage forms will include the form below-->
<#include "addRoleToPersonTwoStage.ftl">

View file

@ -7,7 +7,7 @@
<#assign sparqlForAcFilter = editConfiguration.pageData.sparqlForAcFilter />
<h2>Create Your Own Concept</h2>
<h2>${i18n().create_own_concept_all_caps}</h2>
<@lvf.unsupportedBrowser urls.base />
@ -15,16 +15,16 @@
<input type="hidden" name="editKey" id="editKey" value="${editKey}" role="input" />
<#--Autocomplete for looking up existing skos concepts -->
<p>
<label for="relatedIndLabel">Concept <span class='requiredHint'> *</span></label>
<label for="relatedIndLabel">${i18n().concept_capitalized} <span class='requiredHint'> *</span></label>
<input class="acSelector" size="50" type="text" id="relatedIndLabel" acGroupName="concept" name="conceptLabel" value="" />
</p>
<div class="acSelection" acGroupName="concept">
<p class="inline">
<label>Selected Concept:</label>
<label>${i18n().selected_concept}:</label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection" title="${i18n().change_selection}">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="conceptNode" name="conceptNode" value="" />
</div>
@ -35,10 +35,10 @@
<p class="submit">
<input type="hidden" name = "editKey" value="${editKey}"/>
<input type="submit" id="submit" value="Create Concept"/><span class="or"> or </span><a class="cancel" href="${cancelUrl}">Return to Manage Concepts</a>
<input type="submit" id="submit" value="${i18n().create_concept}"/><span class="or"> ${i18n().or} </span><a class="cancel" href="${cancelUrl}">${i18n().return_to_manage_concepts}</a>
</p>
<p id="requiredLegend" class="requiredHint">* required fields</p>
<p id="requiredLegend" class="requiredHint">* ${i18n().required_fields}</p>
</form>

View file

@ -13,7 +13,7 @@
<#--Display error messages if any-->
<#if submissionErrors?has_content>
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="${i18n().error_alert_icon}" />
<p>
<#list submissionErrors?keys as errorFieldName>
@ -38,17 +38,17 @@
<div class="acSelection">
<p class="inline">
<label>Selected:</label>
<label>${i18n().selected}:</label>
<span class="acSelectionInfo"></span>
<a href="#" class="cancel">(Change selection)</a>
<a href="#" class="cancel">(${i18n().change_selection})</a>
</p>
</div>
<br />
<input type="submit" id="submit" value="${editConfiguration.submitLabel}" role="button"/>
<span class="or"> or </span>
<a title="Cancel" href="${cancelUrl}">Cancel</a>
<span class="or"> ${i18n().or} </span>
<a title="${i18n().cancel_title}" href="${cancelUrl}">${i18n().cancel_link}</a>
</form>

View file

@ -6,12 +6,11 @@ To be associated later (upon completion of N3 Refactoring) with
edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.InstitutionalInternalClassForm.
-->
<h2>Institutional Internal Class</h2>
<h2>${i18n().institutional_internal_class}</h2>
<section id="introMessage" role="region">
<p>This class will be used to designate those individuals internal to your institution.</p>
<p>This will allow you to limit the individuals displayed on your menu pages (People, Research, etc.)
to only those within your institution.</p>
<p>${i18n().internal_class_intro_one}</p>
<p>${i18n().internal_class_intro_two}</p>
</section>
<section role="region">
@ -21,46 +20,46 @@ edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.Institu
<#--If no local ontologies, display message for user to create a local ontology-->
<#if ontologiesExist = false>
<section id="noLocalOntologyExists" role="region">
<h4>There are currently no recognized local ontologies.</h4>
<h4>${i18n().no_local_oncologies}</h4>
<#if defaultNamespace?has_content && defaultNamespace?contains("individual/")>
<#assign localOntologyNamespace = defaultNamespace?replace("individual/", "") />
<p>In order for a local ontology to be recognized here, its namespace URI must follow this pattern:</p>
<p>${i18n().namespace_must_use_this_pattern}:</p>
<blockquote>${localOntologyNamespace}ontology/<em>yourOntologyName</em></blockquote>
</#if>
<p>Please create a <a href='${urls.base}/editForm?controller=Ontology' title="new local ontology">new local ontology</a> and then return here to define the institutional internal class.</p>
<p>${i18n().please_create} <a href='${urls.base}/editForm?controller=Ontology' title="${i18n().new_local_ontology}">${i18n().new_local_oncology}</a> ${i18n().return_here_to_define_class}</p>
</section>
<#--else if local ontologies exist and local classes exist, show drop-down of local classes-->
<#elseif useExistingLocalClass?has_content>
<section id="existingLocalClass" role="region">
<#--Populated based on class list returned-->
<label for="existingLocalClasses">Select an existing class from a local extension</label>
<label for="existingLocalClasses">${i18n().select_existing_local_class}</label>
<select id="existingLocalClasses" name="existingLocalClasses" role="combobox"<strong></strong>>
<#assign classUris = existingLocalClasses?keys />
<#--If internal class exists, check against value in drop-down and select option-->
<#--<option value="" role="option">Select one</option>-->
<#--<option value="" role="option">${i18n().select_one}</option>-->
<#list classUris as localClassUri>
<option value="${localClassUri}" role="option" <#if existingInternalClass = localClassUri>selected</#if> >${existingLocalClasses[localClassUri]}</option>
</#list>
</select>
<p>Can't find an appropriate class? Create a <a href="${formUrl}?cmd=createClass" title="create new class">new one</a>.</p>
<p>${i18n().cannot_find_class} <a href="${formUrl}?cmd=createClass" title="${i18n().create_new_class}">${i18n().create_new_one}</a>.</p>
</section>
<#--if parameter to create new class passed or if there are local ontologies but no local classes, show create new class page-->
<#elseif createNewClass?has_content>
<section id="createNewLocalClass" role="region">
<h3>Create a new class</h3>
<h3>${i18n().create_new_class}</h3>
<label for="localClassName">Name<span class="requiredHint"> *</span></label>
<label for="localClassName">${i18n().name_capitalized}<span class="requiredHint"> *</span></label>
<input type="text" id="localClassName" name="localClassName" value="" role="input" />
<p class="note">use capitals for the first letter of each word</p>
<p class="note">${i18n().use_capitals_each_word}</p>
<#--If more than one local namespace, generate select-->
<#if multipleLocalNamespaces = true>
<label for="existingLocalNamespace">Local Namespace<span class="requiredHint"> *</span></label>
<label for="existingLocalNamespace">${i18n().local_namespace}<span class="requiredHint"> *</span></label>
<select id="existingLocalNamespaces" name="existingLocalNamespaces" role="combobox">
<#assign namespaceUris = existingLocalNamespaces?keys />
@ -75,12 +74,12 @@ edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.Institu
<#--this case is an error case-->
<#else>
<p>Problematic section as above should all have been handled</p>
<p>${i18n().problematic_section_error}</p>
</#if>
<#--only show submit and cancel if ontologies exist-->
<#if ontologiesExist = true>
<input type="submit" name="submit-internalClass" value="${submitAction}" class="submit" /> or <a class="cancel" href="${cancelUrl}" title="Cancel">Cancel</a>
<input type="submit" name="submit-internalClass" value="${submitAction}" class="submit" /> ${i18n().or} <a class="cancel" href="${cancelUrl}" title="${i18n().cancel_title}">${i18n().cancel_link}</a>
</#if>
</form>
</section>

View file

@ -6,12 +6,12 @@
<#if subjectName?contains(",") >
<#assign lastName = subjectName?substring(0,subjectName?index_of(",")) />
<#assign firstName = subjectName?substring(subjectName?index_of(",") + 1) />
<h2>Manage Grants & Projects for ${firstName} ${lastName}</h2>
<h2>${i18n().manage_grants_and_projects} ${firstName} ${lastName}</h2>
<#else>
<h2>Manage Grants & Projects for ${subjectName}</h2>
<h2>${i18n().manage_grants_and_projects} ${subjectName}</h2>
</#if>
<p style="margin-left:25px;margin-bottom:12px">
Check those grants and projects you want to exclude from the profile page.
${i18n().check_grants_to_exclude}
<script type="text/javascript">
var grantData = [];
</script>
@ -40,7 +40,7 @@ Check those grants and projects you want to exclude from the profile page.
<br />
<p>
<a href="${urls.referringPage}#research" title="return to profile page">Return to profile page</a>
<a href="${urls.referringPage}#research" title="${i18n().return_to_profile}">${i18n().return_to_profile}</a>
</p>
<script type="text/javascript">

View file

@ -3,9 +3,9 @@
<#import "lib-vivo-form.ftl" as lvf>
<#-- Custom form for managing web pages for individuals -->
<h2>Manage People Affiliated with ${subjectName}</h2>
<h2>${i18n().manage_affiliated_people} ${subjectName}</h2>
<p style="margin-left:25px;margin-bottom:12px">
Check those people you want to exclude from the profile page.
${i18n().check_people_to_exclude}
<script type="text/javascript">
var peopleData = [];
</script>
@ -15,7 +15,7 @@ Check those people you want to exclude from the profile page.
<#list allSubclasses as sub>
<h4>${sub}s</h4>
<h4>${sub}</h4>
<section id="pubsContainer" role="container">
<#assign peeps = people[sub]>
<ul >
@ -36,7 +36,7 @@ Check those people you want to exclude from the profile page.
<br />
<p>
<a href="${urls.referringPage}#affiliation" title="return to profile page">Return to profile page</a>
<a href="${urls.referringPage}#affiliation" title="${i18n().return_to_profile}">${i18n().return_to_profile}</a>
</p>
<script type="text/javascript">

View file

@ -6,12 +6,12 @@
<#if subjectName?contains(",") >
<#assign lastName = subjectName?substring(0,subjectName?index_of(",")) />
<#assign firstName = subjectName?substring(subjectName?index_of(",") + 1) />
<h2>Manage Publications for ${firstName} ${lastName}</h2>
<h2>${i18n().manage_publications} ${firstName} ${lastName}</h2>
<#else>
<h2>Manage Publications for ${subjectName}</h2>
<h2>${i18n().manage_publications} ${subjectName}</h2>
</#if>
<p style="margin-left:25px;margin-bottom:12px">
Check those publications you want to exclude from the profile page.
${i18n().check_pubs_to_exclude}
<script type="text/javascript">
var publicationData = [];
</script>
@ -52,7 +52,7 @@ Check those publications you want to exclude from the profile page.
<br />
<p>
<a href="${urls.referringPage}#publications" title="return to profile page">Return to profile page</a>
<a href="${urls.referringPage}#publications" title="${i18n().return_to_profile}">${i18n().return_to_profile}</a>
</p>
<script type="text/javascript">

View file

@ -17,14 +17,14 @@
<h2><em>${editConfiguration.pageData.subjectName}</em></h2>
</#if>
<h3>Manage Web Pages</h3>
<h3>${i18n().manage_web_pages}</h3>
<script type="text/javascript">
var webpageData = [];
</script>
<#if !editConfiguration.pageData.webpages?has_content>
<p>This individual currently has no web pages specified. Add a new web page by clicking on the button below.</p>
<p>${i18n().has_no_webpages}</p>
</#if>
<ul id="webpageList" ${ulClass} role="list">
@ -37,11 +37,11 @@
</#if>
<span class="webpageName">
<a href="${webpage.url}" title="webpage url">${anchor}</a>
<a href="${webpage.url}" title="${i18n().webpage_url}">${anchor}</a>
</span>
<span class="editingLinks">
<a href="${baseEditWebpageUrl}&objectUri=${webpage.link?url}&predicateUri=${predicateUri}" class="edit" title="edit web page link">Edit</a> |
<a href="${urls.base}${deleteWebpageUrl}" class="remove" title="delete web page link">Delete</a>
<a href="${baseEditWebpageUrl}&objectUri=${webpage.link?url}&predicateUri=${predicateUri}" class="edit" title="${i18n().edit_wepage_link}">${i18n().edit_capitalized}</a> |
<a href="${urls.base}${deleteWebpageUrl}" class="remove" title="${i18n().delete_web_page_link}">${i18n().delete_capitalized}</a>
</span>
</li>
@ -57,10 +57,10 @@
<#-- There is no editConfig at this stage, so we don't need to go through postEditCleanup.jsp on cancel.
These can just be ordinary links, rather than a v:input element, as in
addAuthorsToInformationResource.jsp. -->
<a href="${showAddFormUrl}" id="showAddForm" class="button green" title="add new web page">Add New Web Page</a>
<a href="${showAddFormUrl}" id="showAddForm" class="button green" title="${i18n().add_new_web_page}">${i18n().add_new_web_page}</a>
<a href="${cancelUrl}" id="returnToIndividual" class="return" title="return to individual">Return to Individual</a>
<img id="indicator" class="indicator hidden" src="${urls.base}/images/indicatorWhite.gif" />
<a href="${cancelUrl}" id="returnToIndividual" class="return" title="${i18n().return_to_profile}">${i18n().return_to_profile}</a>
<img id="indicator" class="indicator hidden" src="${urls.base}/images/indicatorWhite.gif" alt="${i18n().processing_indicator}"/>
</section>

View file

@ -5,12 +5,12 @@
<#assign enableInternalClass = '' />
<#assign disableClass = 'class="inline"' />
<#else>
<#assign enableInternalClass = '<p class="note">To enable this option, you must first select an <a href="${urls.base}/processInstitutionalInternalClass" title="institutional internal class">institutional internal class</a> for your instance</p>' />
<#assign enableInternalClass = '<p class="note">${i18n().enable_internal_class_one} <a href="${urls.base}/processInstitutionalInternalClass" title="${i18n().internal_class}">${i18n().internal_class}</a> ${i18n().enable_internal_class_two}</p>' />
<#assign disableClass = 'class="disable inline" disabled="disabled"' />
</#if>
<input type="checkbox" ${disableClass} name="display-internalClass" value="${internalClassUri}" id="display-internalClass" <#if internalClass?has_content && isInternal?has_content>checked</#if> role="input" />
<label ${disableClass} class="inline" for="display-internalClass">Only display <em>${associatedPage}</em> within my institution</label>
<label ${disableClass} class="inline" for="display-internalClass">${i18n().only_display} <em>${associatedPage}</em> ${i18n().within_my_institution}</label>
${enableInternalClass}
</section>

View file

@ -19,20 +19,20 @@
</#if>
<h2>Create a new ${typeName}</h2>
<h2>${i18n().create_new} ${typeName}</h2>
<#if submissionErrors?has_content >
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="${i18n().error_alert_icon}" />
<p>
<#list submissionErrors?keys as errorFieldName>
<#if errorFieldName == "firstName">
Please enter a First Name for this person.
${i18n().enter_first_name}
<#elseif errorFieldName == "lastName">
Please enter a Last Name for this person.
${i18n().enter_last_name}
<#elseif errorFieldName == "label">
Please enter a value in the name field.
${i18n().enter_a_name}
</#if>
<br />
</#list>
@ -48,32 +48,30 @@
<#if isPersonType = "true">
<p>
<label for="firstName">First Name ${requiredHint}</label>
<label for="firstName">${i18n().first_name} ${requiredHint}</label>
<input size="30" type="text" id="firstName" name="firstName" value="${firstNameValue}" />
</p>
<p>
<label for="lastName">Last Name ${requiredHint}</label>
<label for="lastName">${i18n().last_name} ${requiredHint}</label>
<input size="30" type="text" id="lastName" name="lastName" value="${lastNameValue}" />
</p>
<#else>
<p>
<label for="name">Name ${requiredHint}</label>
<label for="name">${i18n().name_capitalized} ${requiredHint}</label>
<input size="30" type="text" id="label" name="label" value="${labelValue}" />
</p>
</#if>
<p class="submit">
<input type="hidden" name = "editKey" value="${editKey}"/>
<input type="submit" id="submit" value="Create ${typeName}"/>
<span class="or"> or </span><a class="cancel" href="${urls.base}/siteAdmin" title="Cancel">Cancel</a>
<input type="submit" id="submit" value="${i18n().create_capitalized} ${typeName}"/>
<span class="or"> ${i18n().or} </span><a class="cancel" href="${urls.base}/siteAdmin" title="${i18n().cancel_title}">${i18n().cancel_link}</a>
</p>
<p id="requiredLegend" class="requiredHint">* required fields</p>
<p id="requiredLegend" class="requiredHint">* ${i18n().required_fields}</p>
</form>
</section>
${stylesheets.add('<link rel="stylesheet" href="${urls.base}/templates/freemarker/edit/forms/css/customForm.css" />')}

View file

@ -11,17 +11,17 @@
</#if>
<#if editMode == "edit">
<#assign titleVerb="Edit">
<#assign submitButtonText="Save Changes">
<#assign titleVerb="${i18n().edit_capitalized}">
<#assign submitButtonText="${i18n().save_changes}">
<#assign disabledVal="disabled">
<#else>
<#assign titleVerb="Create">
<#assign submitButtonText="Create Entry">
<#assign titleVerb="${i18n().create_capitalized}">
<#assign submitButtonText="${i18n().create_entry}">
<#assign disabledVal=""/>
</#if>
<#assign requiredHint = "<span class='requiredHint'> *</span>" />
<#assign yearHint = "<span class='hint'>(YYYY)</span>" />
<#assign yearHint = "<span class='hint'>(${i18n().year_hint_format})</span>" />
<#assign blankSentinel = "" />
<#if editConfigurationConstants?has_content && editConfigurationConstants?keys?seq_contains("BLANK_SENTINEL")>
@ -44,36 +44,36 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#assign submissionErrors = editSubmission.validationErrors/>
</#if>
<h2>${titleVerb}&nbsp;position history entry for ${editConfiguration.subjectName}</h2>
<h2>${titleVerb}&nbsp;${i18n().posn_history_entry_for} ${editConfiguration.subjectName}</h2>
<#if submissionErrors?has_content>
<#if personLabelDisplayValue?has_content >
<#assign personLabelValue = personLabelDisplayValue />
</#if>
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="${i18n().error_alert_icon}" />
<p>
<#if lvf.submissionErrorExists(editSubmission, "positionTitle")>
Please enter a value in the Position Title field.<br />
${i18n().enter_posn_title_value}<br />
</#if>
<#if lvf.submissionErrorExists(editSubmission, "positionType")>
Please select a value in the Position Type field.<br />
${i18n().enter_posn_type_value}<br />
</#if>
<#if lvf.submissionErrorExists(editSubmission, "personLabel")>
Please select an existing value or enter a new value in the Person field.
${i18n().enter_or_select_person_value}
</#if>
<#list submissionErrors?keys as errorFieldName>
<#if errorFieldName == "startField">
<#if submissionErrors[errorFieldName]?contains("before")>
The Start Year must be earlier than the End Year.
${i18n().start_year_must_precede_end}
<#else>
${submissionErrors[errorFieldName]}
</#if>
<#elseif errorFieldName == "endField">
<#if submissionErrors[errorFieldName]?contains("after")>
The End Year must be later than the Start Year.
${i18n().end_year_must_be_later}
<#else>
${submissionErrors[errorFieldName]}
</#if>
@ -91,14 +91,14 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<form id="organizationHasPositionHistory" class="customForm noIE67" action="${submitUrl}" role="add/edit position history">
<p>
<label for="positionTitle">Position Title ${requiredHint}</label>
<label for="positionTitle">${i18n().position_title} ${requiredHint}</label>
<input size="30" type="text" id="positionTitle" name="positionTitle" value="${positionTitleValue}" />
</p>
<label for="positionType">Position Type ${requiredHint}</label>
<label for="positionType">${i18n().position_type} ${requiredHint}</label>
<#assign posnTypeOpts = editConfiguration.pageData.positionType />
<select id="positionType" name="positionType">
<option value="" selected="selected">Select one</option>
<option value="" selected="selected">${i18n().select_one}</option>
<#if (posnTypeOpts?keys)??>
<#list posnTypeOpts?keys as key>
<#if positionTypeValue?has_content && positionTypeValue = key>
@ -110,7 +110,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</#if>
</select>
<p>
<label for="relatedIndLabel">Person: Last Name ${requiredHint}<span style="padding-left:322px">First Name ${requiredHint}</span></label>
<label for="relatedIndLabel">${i18n().person_capitalized}: ${i18n().last_name} ${requiredHint}<span style="padding-left:322px">${i18n().first_name} ${requiredHint}</span></label>
<input class="acSelector" size="50" type="text" id="person" name="personLabel" acGroupName="person" value="${personLabelValue}" >
<input size="30" type="text" id="firstName" name="firstName" value="${firstNameValue}" ><br />
<input type="hidden" id="lastName" name="lastName" value="">
@ -119,10 +119,10 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<div class="acSelection" id="personAcSelection" acGroupName="person">
<p class="inline">
<label>Selected Person:</label>
<label>${i18n().selected_person}:</label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="personUri" name="existingPerson" value="${existingPersonValue}" ${flagClearLabelForExisting}="true" />
</div>
@ -131,12 +131,12 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#--Need to draw edit elements for dates here-->
<#assign htmlForElements = editConfiguration.pageData.htmlForElements />
<#if htmlForElements?keys?seq_contains("startField")>
<label class="dateTime" for="startField">Start</label>
<label class="dateTime" for="startField">${i18n().start_capitalized}</label>
${htmlForElements["startField"]} ${yearHint}
</#if>
<br/>
<#if htmlForElements?keys?seq_contains("endField")>
<label class="dateTime" for="endField">End</label>
<label class="dateTime" for="endField">${i18n().end_capitalized}</label>
${htmlForElements["endField"]} ${yearHint}
</#if>
<#--End draw elements-->
@ -145,10 +145,10 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<p class="submit">
<input type="hidden" id="editKey" name="editKey" value="${editKey}" />
<input type="submit" id="submit" value="${submitButtonText}"/>
<span class="or"> or </span><a class="cancel" href="${cancelUrl}" title="Cancel">Cancel</a>
<span class="or"> ${i18n().or} </span><a class="cancel" href="${cancelUrl}" title="${i18n().cancel_title}">${i18n().cancel_link}</a>
</p>
<p id="requiredLegend" class="requiredHint">* required fields</p>
<p id="requiredLegend" class="requiredHint">* ${i18n().required_fields}</p>
</form>

View file

@ -6,12 +6,12 @@
<#assign enableInternalClass = '' />
<#assign disableClass = 'class="inline"' />
<#else>
<#assign enableInternalClass = '<p class="note">To enable this option, you must first select an <a href="${urls.base}/processInstitutionalInternalClass" title="institutional internal class">institutional internal class</a> for your instance</p>' />
<#assign enableInternalClass = '<p class="note">${i18n().enable_internal_class_one} <a href="${urls.base}/processInstitutionalInternalClass" title="${i18n().institutional_class}">${i18n().internal_class}</a> ${i18n().enable_internal_class_two}</p>' />
<#assign disableClass = 'class="disable inline" disabled="disabled"' />
</#if>
<input type="checkbox" ${disableClass} name="display-internalClass" value="${internalClassUri}" id="display-internalClass" <#if editConfiguration.pageData.internalClass?has_content && editConfiguration.pageData.isInternal?has_content>checked</#if> role="input" />
<label ${disableClass} class="inline" for="display-internalClass">Only display <em> </em> within my institution</label>
<label ${disableClass} class="inline" for="display-internalClass">${i18n().only_display} <em> </em> ${i18n().within_my_institution}</label>
${enableInternalClass}
</section>

View file

@ -44,19 +44,19 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</#if>
<#if editMode == "edit">
<#assign titleVerb="Edit">
<#assign submitButtonText="Save Changes">
<#assign titleVerb="${i18n().edit_capitalized}">
<#assign submitButtonText="${i18n().save_changes}">
<#assign disabledVal="disabled">
<#else>
<#assign titleVerb="Create">
<#assign submitButtonText="Create Entry">
<#assign titleVerb="${i18n().create_capitalized}">
<#assign submitButtonText="${i18n().create_entry}">
<#assign disabledVal=""/>
</#if>
<#assign requiredHint = "<span class='requiredHint'> *</span>" />
<#assign yearHint = "<span class='hint'>(YYYY)</span>" />
<#assign yearHint = "<span class='hint'>(${i18n().year_hint_format})</span>" />
<h2>${titleVerb}&nbsp;advising relationship entry for ${editConfiguration.subjectName}</h2>
<h2>${titleVerb}&nbsp;${i18n().advising_relationship_entry_for} ${editConfiguration.subjectName}</h2>
<#--Display error messages if any-->
<#if submissionErrors?has_content>
@ -68,23 +68,23 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</#if>
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alt="${i18n().error_alert_icon}" />
<p>
<#--Checking if any required fields are empty-->
<#if lvf.submissionErrorExists(editSubmission, "advisingRelType")>
Please select an Advising Relationship Type.<br />
${i18n().select_advising_relationship_type}<br />
</#if>
<#list submissionErrors?keys as errorFieldName>
<#if errorFieldName == "startField">
<#if submissionErrors[errorFieldName]?contains("before")>
The Start Year must be earlier than the End Year.
${i18n().start_year_must_precede_end}
<#else>
${submissionErrors[errorFieldName]}
</#if>
<#elseif errorFieldName == "endField">
<#if submissionErrors[errorFieldName]?contains("after")>
The End Year must be later than the Start Year.
${i18n().end_year_must_be_later}
<#else>
${submissionErrors[errorFieldName]}
</#if>
@ -103,7 +103,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<form id="personHasAdvisingRelationship" class="customForm noIE67" action="${submitUrl}" role="add/edit AdvisingRelationship">
<p class="inline">
<label for="orgType">Advising Relationship Type<#if editMode != "edit"> ${requiredHint}<#else>:</#if></label>
<label for="orgType">${i18n().advising_relationship_type}<#if editMode != "edit"> ${requiredHint}<#else>:</#if></label>
<#assign advisingRelTypeOpts = editConfiguration.pageData.advisingRelType />
<#if editMode == "edit">
<#list advisingRelTypeOpts?keys as key>
@ -114,7 +114,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</#list>
<#else>
<select id="selector" name="advisingRelType" ${disabledVal} >
<option value="" selected="selected">Select one</option>
<option value="" selected="selected">${i18n().select_one}</option>
<#list advisingRelTypeOpts?keys as key>
<option value="${key}" <#if advisingRelTypeValue = key>selected</#if>>${advisingRelTypeOpts[key]}</option>
</#list>
@ -122,7 +122,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</#if>
</p>
<p >
<label for="advisee">Advisee: Last Name ${requiredHint}<span style="padding-left:322px">First Name ${requiredHint}</span></label>
<label for="advisee">${i18n().advisee_capitalized}: ${i18n().last_name} ${requiredHint}<span style="padding-left:322px">${i18n().first_name} ${requiredHint}</span></label>
<input class="acSelector" size="50" type="text" acGroupName="advisee" id="advisee" name="adviseeLabel" value="${adviseeLabelValue}" >
<input size="30" type="text" id="firstName" name="firstName" value="${firstNameValue}" ><br />
<input type="hidden" id="lastName" name="lastName" value="">
@ -131,25 +131,24 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<div class="acSelection" acGroupName="advisee" id="adviseeAcSelection">
<p class="inline">
<label>Selected Advisee:</label>
<span class="acSelectionInfo" id="arf"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<label>${i18n().selected_advisee}/span>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="adviseeUri" name="existingAdvisee" value="${adviseeValue}" ${flagClearLabelForExisting}="true"/>
</div>
<p>
<label for="SubjectArea">Subject Area</label>
<label for="SubjectArea">${i18n().subject_area}</label>
<input class="acSelector" size="50" type="text" id="SubjectArea" acGroupName="SubjectArea" name="subjAreaLabel" value="${subjAreaLabelValue}" />
<input class="display" type="hidden" id="SubjectAreaDisplay" acGroupName="SubjectArea" name="subjAreaLabelDisplay" value="${subjAreaLabelDisplayValue}" />
</p>
<div class="acSelection" acGroupName="SubjectArea">
<p class="inline">
<label>Subject Area</label>
<label>${i18n().selected_subject_area}:</label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<#--When no autocomplete value is selected, the value of this field will be set to the 'blank sentinel'.
When an autocomplete value is selected, the 'flagClearLabelField' attribute will clear out the associated label input. -->
@ -157,11 +156,11 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</div>
<p>
<label for="degreeUri">Degree Candidacy</label>
<label for="degreeUri">${i18n().degree_candidacy}</label>
<#assign degreeOpts = editConfiguration.pageData.degree />
<select name="degree" id="degreeUri" >
<option value="" <#if degreeValue = "">selected</#if>>Select one</option>
<option value="" <#if degreeValue = "">selected</#if>>${i18n().select_one}</option>
<#list degreeOpts?keys as key>
<option value="${key}" <#if degreeValue = key>selected</#if>>${degreeOpts[key]}</option>
</#list>
@ -169,17 +168,17 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</p>
<p>
<h4>Years of Participation</h4>
<h4>${i18n().years_participating}</h4>
</p>
<#--Need to draw edit elements for dates here-->
<#assign htmlForElements = editConfiguration.pageData.htmlForElements />
<#if htmlForElements?keys?seq_contains("startField")>
<label class="dateTime" for="startField">Start</label>
<label class="dateTime" for="startField">${i18n().start_capitalized}</label>
${htmlForElements["startField"]} ${yearHint}
</#if>
<br/>
<#if htmlForElements?keys?seq_contains("endField")>
<label class="dateTime" for="endField">End</label>
<label class="dateTime" for="endField">${i18n().end_capitalized}</label>
${htmlForElements["endField"]} ${yearHint}
</#if>
<#--End draw elements-->
@ -188,11 +187,11 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<input type="hidden" id="editKey" name="editKey" value="${editKey}"/>
<p class="submit">
<input type="submit" class="submit" value="${submitButtonText}"/><span class="or"> or </span>
<a class="cancel" href="${cancelUrl}" title="Cancel">Cancel</a>
<input type="submit" class="submit" value="${submitButtonText}"/><span class="or"> ${i18n().or} </span>
<a class="cancel" href="${cancelUrl}" title="${i18n().cancel_title}">${i18n().cancel_link}</a>
</p>
<p id="requiredLegend" class="requiredHint">* required fields</p>
<p id="requiredLegend" class="requiredHint">* ${i18n().required_fields}</p>
</form>

View file

@ -44,19 +44,19 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</#if>
<#if editMode == "edit">
<#assign titleVerb="Edit">
<#assign submitButtonText="Save Changes">
<#assign titleVerb="${i18n().edit_capitalized}">
<#assign submitButtonText="${i18n().save_changes}">
<#assign disabledVal="disabled">
<#else>
<#assign titleVerb="Create">
<#assign submitButtonText="Create Entry">
<#assign titleVerb="${i18n().create_capitalized}">
<#assign submitButtonText="${i18n().create_entry}">
<#assign disabledVal=""/>
</#if>
<#assign requiredHint = "<span class='requiredHint'> *</span>" />
<#assign yearHint = "<span class='hint'>(YYYY)</span>" />
<#assign yearHint = "<span class='hint'>(${i18n().year_hint_format})</span>" />
<h2>${titleVerb}&nbsp;award or honor for ${editConfiguration.subjectName}</h2>
<h2>${titleVerb}&nbsp;${i18n().award_or_honor_for} ${editConfiguration.subjectName}</h2>
<#--Display error messages if any-->
<#if submissionErrors?has_content>
@ -68,23 +68,23 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</#if>
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alt="${i18n().error_alert_icon}" />
<p>
<#--Checking if any required fields are empty-->
<#if lvf.submissionErrorExists(editSubmission, "awardLabel")>
Please select an existing value or enter a new value in the Award or Honor Name field.
${i18n().select_Award_or_enter_name}
</#if>
<#list submissionErrors?keys as errorFieldName>
<#if errorFieldName == "startField">
<#if submissionErrors[errorFieldName]?contains("before")>
The Start Year must be earlier than the End Year.
${i18n().start_year_must_precede_end}
<#else>
${submissionErrors[errorFieldName]}
</#if>
<#elseif errorFieldName == "endField">
<#if submissionErrors[errorFieldName]?contains("after")>
The End Year must be later than the Start Year.
${i18n().end_year_must_be_later}
<#else>
${submissionErrors[errorFieldName]}
</#if>
@ -100,63 +100,63 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<form id="personHasAwardOrHonor" class="customForm noIE67" action="${submitUrl}" role="add/edit AwardOrHonor">
<p>
<label for="relatedIndLabel">Award or Honor Name ${requiredHint}</label>
<label for="relatedIndLabel">${i18n().award_honor_name} ${requiredHint}</label>
<input class="acSelector" size="50" type="text" id="award" acGroupName="award" name="awardLabel" value="${awardLabelValue}">
<input class="display" type="hidden" id="awardDisplay" acGroupName="award" name="awardLabelDisplay" value="${awardLabelDisplayValue}">
</p>
<div class="acSelection" acGroupName="award" id="awardAcSelection">
<p class="inline">
<label>Selected Award:</label>
<label>${i18n().selected_award}:</label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="awardUri" name="existingAward" value="${awardValue}" ${flagClearLabelForExisting}="true" />
</div>
<p>
<label for="org">Conferred by</label>
<label for="org">${i18n().conferred_by_capitalized}</label>
<input class="acSelector" size="50" acGroupName="org" type="text" id="org" name="orgLabel" value="${orgLabelValue}" />
<input class="display" type="hidden" id="orgDisplay" acGroupName="org" name="orgLabelDisplay" value="${orgLabelDisplayValue}" />
</p>
<div class="acSelection" acGroupName="org" id="orgAcSelection">
<p class="inline">
<label>Selected Conferrer:</label>
<label>${i18n().selected_conferred}:</label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="orgUri" name="existingOrg" value="${orgValue}" ${flagClearLabelForExisting}="true"/>
</div>
<#if editMode == "edit">
<div class="hidden" id="hiddenOrgLabel">
<p class="inline">
<label>Selected Conferrer: </label>
<label>${i18n().selected_conferred}: </label>
<span class="readOnly">${orgLabelValue}</span>
</p>
</div>
</#if>
<p>
<label for="description">Description</label>
<label for="description">${i18n().description}</label>
<input size="50" type="text" id="description" name="description" value="${descriptionValue}" />
</p>
<#assign htmlForElements = editConfiguration.pageData.htmlForElements />
<p>
<label for="yearAwardedDisplay" id="yearAwarded">Year Awarded</label>
<label for="yearAwardedDisplay" id="yearAwarded">${i18n().year_awarded}</label>
<input size="4" type="text" id="yearAwardedDisplay" name="yearAwardedDisplay" value="${yearAwardedDisplayValue}" /> ${yearHint}
</p>
<p>
<h4>Years Inclusive <span class="hint">&nbsp;(e.g., for multi-year awards)</span></h4>
<h4>${i18n().years_inclusive} <span class="hint">&nbsp;${i18n().award_hint}</span></h4>
</p>
<#--Need to draw edit elements for dates here-->
<#if htmlForElements?keys?seq_contains("startField")>
<label class="dateTime" for="startField">Start</label>
<label class="dateTime" for="startField">${i18n().start_capitalized}</label>
${htmlForElements["startField"]} ${yearHint}
</#if>
<br/>
<#if htmlForElements?keys?seq_contains("endField")>
<label class="dateTime" for="endField">End</label>
<label class="dateTime" for="endField">${i18n().end_capitalized}</label>
${htmlForElements["endField"]} ${yearHint}
</#if>
<#--End draw elements-->
@ -165,11 +165,11 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<input type="hidden" id="editKey" name="editKey" value="${editKey}"/>
<p class="submit">
<input type="submit" class="submit" value="${submitButtonText}"/><span class="or"> or </span>
<a class="cancel" href="${cancelUrl}" title="Cancel">Cancel</a>
</p>
<input type="submit" class="submit" value="${submitButtonText}"/><span class="or"> ${i18n().or} </span>
<a class="cancel" href="${cancelUrl}" title="${i18n().cancel_title}">${i18n().cancel_link}</a>
</p>
<p id="requiredLegend" class="requiredHint">* required fields</p>
<p id="requiredLegend" class="requiredHint">* ${i18n().required_fields}</p>
<#-- hide the html that gets written, and use java script to pass the value between the two -->
<div class="hidden">

View file

@ -43,20 +43,20 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</#if>
<#if editMode == "edit">
<#assign titleVerb="Edit">
<#assign submitButtonText="Save Changes">
<#assign titleVerb="${i18n().edit_capitalized}">
<#assign submitButtonText="${i18n().save_changes}">
<#assign disabledVal="disabled">
<#else>
<#assign titleVerb="Create">
<#assign submitButtonText="Create Entry">
<#assign titleVerb="${i18n().create_capitalized}">
<#assign submitButtonText="${i18n().create_entry}">
<#assign disabledVal=""/>
</#if>
<#assign requiredHint = "<span class='requiredHint'> *</span>" />
<#assign yearHint = "<span class='hint'>(YYYY)</span>" />
<#assign yearHint = "<span class='hint'>(${i18n().year_hint_format})</span>" />
<h2>${titleVerb}&nbsp;educational training entry for ${subjectName}${editConfiguration.subjectName}</h2>
<h2>${titleVerb}&nbsp;${i18n().educational_training_for} ${subjectName}${editConfiguration.subjectName}</h2>
<#--Display error messages if any-->
<#if submissionErrors?has_content>
@ -64,20 +64,20 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#assign orgLabelValue = orgLabelDisplayValue />
</#if>
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="${i18n().error_alert_icon}" />
<p>
<#--below shows examples of both printing out all error messages and checking the error message for a specific field-->
<#list submissionErrors?keys as errorFieldName>
<#if errorFieldName == "startField">
<#if submissionErrors[errorFieldName]?contains("before")>
The Start Year must be earlier than the End Year.
${i18n().start_year_must_precede_end}
<#else>
${submissionErrors[errorFieldName]}
</#if>
<br />
<#elseif errorFieldName == "endField">
<#if submissionErrors[errorFieldName]?contains("after")>
The End Year must be later than the Start Year.
${i18n().end_year_must_be_later}
<#else>
${submissionErrors[errorFieldName]}
</#if>
@ -85,15 +85,15 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</#list>
<#--Checking if Org Type field is empty-->
<#if lvf.submissionErrorExists(editSubmission, "orgType")>
Please select a value in the Organization Type field.
${i18n().select_organization_type}
</#if>
<#--Checking if Org Name field is empty-->
<#if lvf.submissionErrorExists(editSubmission, "orgLabel")>
Please enter or select a value in the Name field.
${i18n().select_an_organization_name}
</#if>
<#--Checking if Training Type field is empty-->
<#if lvf.submissionErrorExists(editSubmission, "trainingType")>
Please select a value in the Type of Educational Training field.<br />
${i18n().select_educational_training_value}<br />
</#if>
@ -109,78 +109,57 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<p class="inline">
<label for="orgType">Organization Type ${requiredHint}</label>
<label for="orgType">${i18n().org_type_capitalized} ${requiredHint}</label>
<#assign orgTypeOpts = editConfiguration.pageData.orgType />
<#--
<#if editMode == "edit">
<#list orgTypeOpts?keys as key>
<#if orgTypeValue = key >
<span class="readOnly" id="typeSelectorSpan">${orgTypeOpts[key]}</span>
<input type="hidden" id="typeSelectorInput" name="orgType" acGroupName="org" value="${orgTypeValue}" >
</#if>
</#list>
<#else>
<select id="typeSelector" name="orgType" acGroupName="org" ${disabledVal}>
<option value="" selected="selected">Select one</option>
<#list orgTypeOpts?keys as key>
<#if orgTypeValue = key>
<option value="${key}" selected >${orgTypeOpts[key]}</option>
<#else>
<option value="${key}">${orgTypeOpts[key]}</option>
</#if>
</#list>
</select>
</#if>
-->
<select id="typeSelector" name="orgType" acGroupName="org">
<option value="" selected="selected">Select one</option>
<#list orgTypeOpts?keys as key>
<#if orgTypeValue = key>
<option value="${key}" selected >${orgTypeOpts[key]}</option>
<#else>
<option value="${key}">${orgTypeOpts[key]}</option>
</#if>
</#list>
</select>
<select id="typeSelector" name="orgType" acGroupName="org">
<option value="" selected="selected">${i18n().select_one}</option>
<#list orgTypeOpts?keys as key>
<#if orgTypeValue = key>
<option value="${key}" selected >${orgTypeOpts[key]}</option>
<#else>
<option value="${key}">${orgTypeOpts[key]}</option>
</#if>
</#list>
</select>
</p>
<div class="fullViewOnly">
<p>
<label for="relatedIndLabel">### Name ${requiredHint}</label>
<label for="relatedIndLabel">### ${i18n().name_capitalized} ${requiredHint}</label>
<input class="acSelector" size="50" type="text" id="relatedIndLabel" name="orgLabel" acGroupName="org" value="${orgLabelValue}" />
<input class="display" type="hidden" id="orgDisplay" acGroupName="org" name="orgLabelDisplay" value="${orgLabelDisplayValue}">
</p>
<div class="acSelection" acGroupName="org">
<p class="inline">
<label>Selected Organization:</label>
<label>${i18n().selected_organization}:</label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="orgUri" name="existingOrg" value="${existingOrgValue}" ${flagClearLabelForExisting}="true" />
</div>
<label for="positionType">Type of Educational Training ${requiredHint}</label>
<label for="positionType">${i18n().educational_training_type} ${requiredHint}</label>
<#assign trainingTypeOpts = editConfiguration.pageData.trainingType />
<select name="trainingType" style="margin-top:-2px" >
<option value="" <#if trainingTypeValue == "">selected</#if>>Select one</option>
<option value="" <#if trainingTypeValue == "">selected</#if>>${i18n().select_one}</option>
<#list trainingTypeOpts?keys as key>
<option value="${key}" <#if trainingTypeValue == key>selected</#if>><#if trainingTypeOpts[key] == "Other">Academic Studies or Other Training<#else>${trainingTypeOpts[key]}</#if></option>
<option value="${key}" <#if trainingTypeValue == key>selected</#if>><#if trainingTypeOpts[key] == "Other">${i18n().academic_studies_or_other}<#else>${trainingTypeOpts[key]}</#if></option>
</#list>
</select>
<p>
<label for="dept">Department or School Name within the ###</label>
<label for="dept">${i18n().dept_or_school_name} ###</label>
<input size="50" type="text" id="dept" name="dept" value="${deptValue}" />
</p>
<div class="entry">
<label for="degreeUri">Degree</label>
<label for="degreeUri">${i18n().degree}</label>
<#assign degreeOpts = editConfiguration.pageData.degree />
<select name="degree" id="degreeUri" >
<option value="" <#if degreeValue = "">selected</#if>>Select one</option>
<option value="" <#if degreeValue = "">selected</#if>>${i18n().select_one}</option>
<#list degreeOpts?keys as key>
<option value="${key}" <#if degreeValue = key>selected</#if>>${degreeOpts[key]}</option>
</#list>
@ -188,13 +167,13 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</div>
<p>
<label for="majorField">Major Field of Degree</label>
<label for="majorField">${i18n().major_field}</label>
<input type="text" id="majorField" name="majorField" size="30" value="${majorFieldValue}"/>
</p>
<p>
<label for="info">Supplemental Information
<span class="hint">&nbsp;(e.g., Thesis title, Transfer info, etc.)</span>
<label for="info">${i18n().supplemental_information}
<span class="hint">&nbsp;${i18n().supplemental_information_hint}</span>
</label>
<input size="60" type="text" id="info" name="info" value="${infoValue}" />
@ -202,12 +181,12 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<p></p>
<#--Need to draw edit elements for dates here-->
<#if htmlForElements?keys?seq_contains("startField")>
<label class="dateTime" for="startField">Start</label>
<label class="dateTime" for="startField">${i18n().start_capitalized}</label>
${htmlForElements["startField"]} ${yearHint}
</#if>
<p></p>
<#if htmlForElements?keys?seq_contains("endField")>
<label class="dateTime" for="endField">End</label>
<label class="dateTime" for="endField">${i18n().end_capitalized}</label>
${htmlForElements["endField"]} ${yearHint}
</#if>
@ -215,11 +194,11 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</div>
<input type="hidden" id="editKey" name="editKey" value="${editKey}"/>
<p class="submit">
<input type="submit" id="submit" value="${submitButtonText}"/><span class="or"> or </span>
<a class="cancel" href="${cancelUrl}" title="Cancel">Cancel</a>
</p>
<input type="submit" id="submit" value="${submitButtonText}"/><span class="or"> ${i18n().or} </span>
<a class="cancel" href="${cancelUrl}" title="${i18n().cancel_title}">${i18n().cancel_link}</a>
</p>
<p id="requiredLegend" class="requiredHint">* required fields</p>
<p id="requiredLegend" class="requiredHint">* ${i18n().required_fields}</p>
</form>

View file

@ -32,36 +32,36 @@
</#if>
<#if editMode == "edit">
<#assign titleVerb="Edit">
<#assign submitButtonText="Edit Mailing Address">
<#assign titleVerb="${i18n().edit_capitalized}">
<#assign submitButtonText="${i18n().edit_mailing_address}">
<#assign disabledVal="disabled">
<#else>
<#assign titleVerb="Create">
<#assign submitButtonText="Create Mailing Address">
<#assign titleVerb="${i18n().create_capitalized}">
<#assign submitButtonText="${i18n().create_mailing_address}">
<#assign disabledVal=""/>
</#if>
<#assign requiredHint = "<span class='requiredHint'> *</span>" />
<h2>${titleVerb}&nbsp;mailing address for ${editConfiguration.subjectName}</h2>
<h2>${titleVerb}&nbsp;${i18n().mailing_address_for} ${editConfiguration.subjectName}</h2>
<#--Display error messages if any-->
<#if submissionErrors?has_content>
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="${i18n().error_alert_icon}" />
<p>
<#--Checking if any required fields are empty-->
<#if lvf.submissionErrorExists(editSubmission, "country")>
Please select a country.<br />
${i18n().select_a_country}<br />
</#if>
<#if lvf.submissionErrorExists(editSubmission, "addrLineOne")>
Please enter a value in the Address Line 1 field.<br />
${i18n().enter_address1_value}<br />
</#if>
<#if lvf.submissionErrorExists(editSubmission, "city")>
Please enter a value in the City field.<br />
${i18n().enter_a_city}<br />
</#if>
<#if lvf.submissionErrorExists(editSubmission, "postalCode")>
Please enter a value in the Postal Code field.
${i18n().enter_postal_code}
</#if>
</p>
@ -76,7 +76,7 @@
<p>
<label for="country" style="margin-bottom:-4px">Country ${requiredHint}</label>
<label for="country" style="margin-bottom:-4px">${i18n().country} ${requiredHint}</label>
<#assign countryOpts = editConfiguration.pageData.country />
<select id="country" name="country" >
<#list countryOpts?keys as key>
@ -92,30 +92,30 @@
<div id="addressDetails" >
<p>
<label for="addrLineOne">Street Address 1 ${requiredHint}</label>
<label for="addrLineOne">${i18n().street_Address1} ${requiredHint}</label>
<input size="50" type="text" id="addrLineOne" name="addrLineOne" value="${addrLineOneValue}" />
</p>
<p>
<label for="addrLineTwo">Street Address 2</label>
<label for="addrLineTwo">${i18n().street_Address2}</label>
<input size="50" type="text" id="addrLineTwo" name="addrLineTwo" value="${addrLineTwoValue}" />
</p>
<p>
<label for="addrLineThree">Street Address 3</label>
<label for="addrLineThree">${i18n().street_Address3}</label>
<input size="50" type="text" id="addrLineThree" name="addrLineThree" value="${addrLineThreeValue}" />
</p>
<p>
<label for="city">City ${requiredHint}</label>
<label for="city">${i18n().city} ${requiredHint}</label>
<input size="40" type="text" id="city" name="city" value="${cityValue}" />
</p>
<p>
<label for="state" id="stateLabel">State</label>
<label for="state" id="stateLabel">${i18n().state}</label>
<input size="40" type="text" id="state" name="state" value="${stateValue}" />
<select id="stateSelect" name="stateSelect">
<option value="" <#if editMode == "add">selected</#if> >Select one</option>
<option value="" <#if editMode == "add">selected</#if> >${i18n().select_one}</option>
<option value="Alabama" <#if stateValue == "Alabama" || stateValue == "AL" >selected</#if> >Alabama</option>
<option value="Alaska" <#if stateValue == "Alaska" || stateValue == "AK" >selected</#if> >Alaska</option>
<option value="Arizona" <#if stateValue == "Arizona " || stateValue == "AZ" >selected</#if>>Arizona</option>
@ -170,7 +170,7 @@
</p>
<p>
<label for="postalCode" id="postalCodeLabel">Postal Code ${requiredHint}</label>
<label for="postalCode" id="postalCodeLabel">${i18n().postal_code} ${requiredHint}</label>
<input size="8" type="text" id="postalCode" name="postalCode" value="${postalCodeValue}" />
</p>
@ -181,11 +181,11 @@
<input type="hidden" id="editKey" name="editKey" value="${editKey}"/>
<p class="submit">
<input type="submit" id="submit" value="${submitButtonText}"/><span class="or"> or </span>
<a class="cancel" href="${cancelUrl}" title="Cancel">Cancel</a>
<input type="submit" id="submit" value="${submitButtonText}"/><span class="or"> ${i18n().or} </span>
<a class="cancel" href="${cancelUrl}" title="${i18n().cancel_title}">${i18n().cancel_link}</a>
</p>
<p id="requiredLegend" class="requiredHint">* required fields</p>
<p id="requiredLegend" class="requiredHint">* ${i18n().required_fields}</p>
</form>

View file

@ -32,19 +32,19 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#assign disabledVal = ""/>
<#if editMode == "edit">
<#assign formAction="Edit">
<#assign submitButtonText="Save Changes">
<#assign formAction="${i18n().edit_capitalized}">
<#assign submitButtonText="${i18n().save_changes}">
<#assign disabledVal="disabled">
<#else>
<#assign formAction="Create">
<#assign submitButtonText="Create Entry">
<#assign formAction="${i18n().create_capitalized}">
<#assign submitButtonText="${i18n().create_entry}">
<#assign disabledVal="">
</#if>
<#assign requiredHint="<span class='requiredHint'> *</span>"/>
<#assign yearHint = "<span class='hint'>(YYYY)</span>" />
<#assign yearHint = "<span class='hint'>(${i18n().year_hint_format})</span>" />
<h2>${formAction} position entry for ${editConfiguration.subjectName}</h2>
<h2>${formAction} ${i18n().posn_entry_for} ${editConfiguration.subjectName}</h2>
<#--Display error messages if any-->
<#if submissionErrors?has_content>
@ -52,20 +52,20 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#assign orgLabelValue = orgLabelDisplayValue />
</#if>
<section id="error-alert" role="alert">
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="${i18n().error_alert_icon}" />
<p>
<#--below shows examples of both printing out all error messages and checking the error message for a specific field-->
<#list submissionErrors?keys as errorFieldName>
<#if errorFieldName == "startField">
<#if submissionErrors[errorFieldName]?contains("before")>
The Start Year must be earlier than the End Year.
${i18n().start_year_must_precede_end}
<#else>
${submissionErrors[errorFieldName]}
</#if>
<br />
<#elseif errorFieldName == "endField">
<#if submissionErrors[errorFieldName]?contains("after")>
The End Year must be later than the Start Year.
${i18n().end_year_must_be_later}
<#else>
${submissionErrors[errorFieldName]}
</#if>
@ -73,19 +73,19 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</#list>
<#--Checking if Org Type field is empty-->
<#if lvf.submissionErrorExists(editSubmission, "orgType")>
Please select a value in the Organization Type field.<br />
${i18n().select_organization_type}<br />
</#if>
<#--Checking if Org Name field is empty-->
<#if lvf.submissionErrorExists(editSubmission, "orgLabel")>
Please enter or select a value in the Name field.<br />
${i18n().select_an_organization_name}<br />
</#if>
<#--Checking if Position Title field is empty-->
<#if lvf.submissionErrorExists(editSubmission, "positionTitle")>
Please enter a value in the Position Title field.<br />
${i18n().enter_posn_title_value}<br />
</#if>
<#--Checking if Position Type field is empty-->
<#if lvf.submissionErrorExists(editSubmission, "positionType")>
Please select a value in the Position Type field.<br />
${i18n().enter_posn_type_value}<br />
</#if>
</p>
@ -96,7 +96,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<form class="customForm" action ="${submitUrl}" class="customForm noIE67" role="${formAction} position entry">
<p class="inline">
<label for="orgType">Organization Type<#if editMode != "edit"> ${requiredHint}<#else>:</#if></label>
<label for="orgType">${i18n().org_type_capitalized}<#if editMode != "edit"> ${requiredHint}<#else>:</#if></label>
<#assign orgTypeOpts = editConfiguration.pageData.orgType />
<#--
<#if editMode == "edit">
@ -110,7 +110,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
</#if>
-->
<select id="typeSelector" name="orgType" acGroupName="org">
<option value="" selected="selected">Select one</option>
<option value="" selected="selected">${i18n().select_one}</option>
<#list orgTypeOpts?keys as key>
<option value="${key}" <#if orgTypeValue = key>selected</#if>>${orgTypeOpts[key]}</option>
</#list>
@ -119,27 +119,27 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<div class="fullViewOnly">
<p>
<label for="relatedIndLabel">### Name ${requiredHint}</label>
<label for="relatedIndLabel">### ${i18n().name_capitalized} ${requiredHint}</label>
<input type="text" name="orgLabel" id="orgLabel" acGroupName="org" size="50" class="acSelector" value="${orgLabelValue}" >
<input class="display" type="hidden" id="orgDisplay" acGroupName="org" name="orgLabelDisplay" value="${orgLabelDisplayValue}">
</p>
<div class="acSelection" acGroupName="org">
<p class="inline">
<label>Selected Organization:</label>
<label>${i18n().selected_organization}:</label>
<span class="acSelectionInfo"></span>
<a href="" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="" class="verifyMatch" title="${i18n().verify_match_capitalized}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="orgUri" name="existingOrg" value="${existingOrgValue}" ${flagClearLabelForExisting}="true" />
</div>
<label for="positionTitle">Position Title ${requiredHint}</label>
<label for="positionTitle">${i18n().position_title} ${requiredHint}</label>
<input size="30" type="text" id="positionTitle" name="positionTitle" value="${positionTitleValue}" role="input" />
<label for="positionType">Position Type ${requiredHint}</label>
<label for="positionType">${i18n().position_type} ${requiredHint}</label>
<#assign posnTypeOpts = editConfiguration.pageData.positionType />
<select name="positionType" style="margin-top:-2px" >
<option value="" <#if positionTypeValue == "">selected</#if>>Select one</option>
<option value="" <#if positionTypeValue == "">selected</#if>>${i18n().select_one}</option>
<#list posnTypeOpts?keys as key>
<option value="${key}" <#if positionTypeValue == key>selected</#if>>${posnTypeOpts[key]}</option>
</#list>
@ -147,12 +147,12 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<p></p>
<#--Need to draw edit elements for dates here-->
<#if htmlForElements?keys?seq_contains("startField")>
<label class="dateTime" for="startField">Start</label>
<label class="dateTime" for="startField">${i18n().start_capitalized}</label>
${htmlForElements["startField"]} ${yearHint}
</#if>
<p></p>
<#if htmlForElements?keys?seq_contains("endField")>
<label class="dateTime" for="endField">End</label>
<label class="dateTime" for="endField">${i18n().end_capitalized}</label>
${htmlForElements["endField"]} ${yearHint}
</#if>
@ -168,9 +168,9 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<input type="submit" id="submit" name="submit-${formAction}" value="${submitButtonText}" class="submit" />
</#if>
<span class="or"> or </span><a class="cancel" href="${editConfiguration.cancelUrl}" title="Cancel">Cancel</a>
<span class="or"> ${i18n().or} </span><a class="cancel" href="${editConfiguration.cancelUrl}" title="${i18n().cancel_title}">${i18n().cancel_link}</a>
</p>
<p class="requiredHint" id="requiredLegend" >* required fields</p>
<p class="requiredHint" id="requiredLegend" >* ${i18n().required_fields}</p>
</form>

View file

@ -16,9 +16,9 @@
<#-- Works in conjunction with the homePageUtils.js file, which contains the ajax call. -->
<#macro facultyMbrHtml>
<section id="home-faculty-mbrs" class="home-sections" >
<h4>Faculty</h4>
<h4>${i18n().faculty_capitalized}</h4>
<div id="tempSpacing">
<span>Loading faculty . . .&nbsp;&nbsp;&nbsp;
<span>${i18n().loading_faculty}&nbsp;&nbsp;&nbsp;
<img src="${urls.images}/indicatorWhite.gif">
</span>
</div>
@ -58,7 +58,7 @@
<#assign selected = 'class="selected" ' />
<#assign classGroupList>
<section id="home-stats" class="home-sections" >
<h4>Statistics</h4>
<h4>${i18n().statistics}</h4>
<ul id="stats">
<#assign groupCount = 1>
<#list classGroups as group>
@ -101,14 +101,14 @@
<#if firstPopulatedClassGroup??>
${classGroupList}
<#else>
<h3 id="noContentMsg">There is currently no content in the system, or you need to create class groups and assign your classes to them.</h3>
<h3 id="noContentMsg">${i18n().no_content_create_groups_classes}</h3>
<#if user.loggedIn>
<#if user.hasSiteAdminAccess>
<p>You can <a href="${urls.siteAdmin}" title="Manage content">add content and manage this site</a> from the Site Administration page.</p>
<p>${i18n().you_can} <a href="${urls.siteAdmin}" title="${i18n().add_content_manage_site}">${i18n().add_content_manage_site}</a> ${i18n().from_site_admin_page}</p>
</#if>
<#else>
<p>Please <a href="${urls.login}" title="log in to manage this site">log in</a> to manage content.</p>
<p>${i18n().please} <a href="${urls.login}" title="${i18n().login_to_manage_site}">${i18n().log_in}</a> ${i18n().to_manage_content}</p>
</#if>
</#if>
@ -118,7 +118,7 @@
<#macro researchClasses classGroups=vClassGroups>
<#assign foundClassGroup = false />
<section id="home-research" class="home-sections">
<h4>Research</h4>
<h4>${i18n().research_capitalized}</h4>
<ul>
<#list classGroups as group>
<#if (group.individualCount > 0) && group.displayName == "research" >
@ -128,11 +128,11 @@
<li role="listitem"><span>${class.individualCount!}</span>&nbsp;<a href='${urls.base}/individuallist?vclassId=${class.uri?replace("#","%23")!}'>${class.name}s</a></li>
</#if>
</#list>
<li><a href="${urls.base}/research" alt="view all research">View all ...</a></li>
<li><a href="${urls.base}/research" alt="${i18n().view_all_research}">${i18n().view_all}</a></li>
</#if>
</#list>
<#if !foundClassGroup>
<p><li>No research content found.</li></p>
<p><li>${i18n().no_research_content_found}</li></p>
</#if>
</ul>
</section>
@ -142,7 +142,7 @@
<#-- Works in conjunction with the homePageUtils.js file -->
<#macro academicDeptsHtml>
<section id="home-academic-depts" class="home-sections">
<h4>Departments</h4>
<h4>${i18n().departments}</h4>
<div id="academic-depts">
</div>
</section>
@ -170,7 +170,7 @@ var urlsBase = "${urls.base}";
<#-- as the leaflet javascript library. -->
<#macro geographicFocusHtml>
<section id="home-geo-focus" class="home-sections">
<h4>Geographic Focus</h4>
<h4>${i18n().geographic_focus}</h4>
<#-- map controls allow toggling between multiple map types: e.g., global, country, state/province. -->
<#-- VIVO default is for only a global display, though the javascript exists to support the other -->
<#-- types. See map documentation for additional information on how to implement additional types. -->
@ -183,7 +183,7 @@ var urlsBase = "${urls.base}";
-->
<div id="researcherTotal"></div>
<div id="timeIndicatorGeo">
<span>Loading map information . . .&nbsp;&nbsp;&nbsp;
<span>${i18n().loading_map_information}&nbsp;&nbsp;&nbsp;
<img src="${urls.images}/indicatorWhite.gif">
</span>
</div>

View file

@ -7,9 +7,8 @@
<#macro unsupportedBrowser urlsBase>
<div id="ie67DisableWrapper">
<div id="ie67DisableContent">
<img src="${urlsBase}/images/iconAlertBig.png" alt="Alert Icon"/>
<p>This form is not supported in versions of Internet Explorer below version 8. Please upgrade your browser, or
switch to another browser, such as FireFox.</p>
<img src="${urlsBase}/images/iconAlertBig.png" alt="${i18n().alert_icon}"/>
<p>${i18n().unsupported_ie_version}</p>
</div>
</div>
</#macro>
@ -20,8 +19,8 @@
<p class="inline">
<label>${labelValue}</label>
<span class="acSelectionInfo"></span>
<a href="${urlsBase}/individual?uri=" class="verifyMatch" title="verify match">(Verify this match</a> or
<a href="#" class="changeSelection" id="changeSelection">change selection)</a>
<a href="${urlsBase}/individual?uri=" class="verifyMatch" title="${i18n().verify_this_match_title}">(${i18n().verify_match_capitalized}</a> ${i18n().or}
<a href="#" class="changeSelection" id="changeSelection">${i18n().change_selection})</a>
</p>
<input class="acUriReceiver" type="hidden" id="${inputId}" name="${inputName}" value="${inputValue}" />
<!-- Field value populated by JavaScript -->

View file

@ -149,17 +149,17 @@
var totalPubs = onlyUnknownYearPublications ? unknownYearPublicationCounts : renderedShortSparks;
if (totalPubs === 1) {
var pubDisplay = "co-author";
var pubDisplay = "${i18n().co_author}";
} else {
var pubDisplay = "co-authors";
var pubDisplay = "${i18n().co_authors}";
}
$('#${sparklineContainerID} td.sparkline_number').text(totalPubs).css("font-weight", "bold").attr("class", "grey").append("<span style='color: #2485AE;'> " + pubDisplay + " <br/></span>");
var sparksText = ' within the last 10 years';
var sparksText = ' ${i18n().within_last_10_years}';
if (totalPubs !== totalPublicationCount) {
sparksText += ' (' + totalPublicationCount + ' total)';
sparksText += ' (' + totalPublicationCount + ' ${i18n().total})';
}
<#else>
@ -178,22 +178,22 @@
var totalPubs = onlyUnknownYearPublications ? unknownYearPublicationCounts : renderedSparks;
if ( totalPubs == 1 ) {
var pubDisplay = "co-author";
var pubDisplay = "${i18n().co_author}";
} else {
var pubDisplay = "co-authors";
var pubDisplay = "${i18n().co_authors}";
}
$('#${sparklineContainerID} td.sparkline_number').text(totalPubs).css("font-weight", "bold").attr("class", "grey").append("<span style='color: #2485AE;'> " + pubDisplay + " <br/></span>");
var sparksText = ' from <span class="sparkline_range">${sparklineVO.earliestYearConsidered?c}'
+ ' to ${sparklineVO.latestRenderedPublicationYear?c}</span>';
var sparksText = ' ${i18n().from} <span class="sparkline_range">${sparklineVO.earliestYearConsidered?c}'
+ ' ${i18n().to} ${sparklineVO.latestRenderedPublicationYear?c}</span>';
if (totalPubs !== totalPublicationCount) {
sparksText += ' (' + totalPublicationCount + ' total)';
sparksText += ' (' + totalPublicationCount + ' ${i18n().total})';
}
if (totalPublicationCount) {
sparksText += ' <br /><a href="${sparklineVO.downloadDataLink}" title="csv file">(.CSV File)</a> ';
sparksText += ' <br /><a href="${sparklineVO.downloadDataLink}" title="csv ${i18n().file_capitalized}">(.CSV ${i18n().file_capitalized})</a> ';
}
</#if>
@ -271,7 +271,7 @@
<#if sparklineVO.shortVisMode>
<#--<span class="vis_link">-->
<p><a class="all-vivo-publications" href="${sparklineVO.fullTimelineNetworkLink}" title="view full timeline">View full timeline and co-author network.</a></p>
<p><a class="all-vivo-publications" href="${sparklineVO.fullTimelineNetworkLink}" title="${i18n().view_full_timeline_and_network}">${i18n().view_full_timeline_and_network}</a></p>
<#--</span>-->
<#else>
<!-- For Full Sparkline - Print the Table of Couauthor Counts per Year -->
@ -280,14 +280,14 @@
<p>
<#assign tableID = "coauthors_sparkline_data_table" />
<#assign tableCaption = "Unique Co-Authors per year " />
<#assign tableActivityColumnName = "Count" />
<#assign tableCaption = "${i18n().unique_coauthors_per_year} " />
<#assign tableActivityColumnName = "${i18n().count_capitalized}" />
<#assign tableContent = sparklineVO.yearToActivityCount />
<#assign fileDownloadLink = sparklineVO.downloadDataLink />
<#include "yearToActivityCountTable.ftl">
Download data as <a href="${sparklineVO.downloadDataLink}" title="csv download">.csv</a> file.
${i18n().download_data_as} <a href="${sparklineVO.downloadDataLink}" title="csv ${i18n().download}">.csv</a> ${i18n().file}.
<br />
</p>

View file

@ -22,8 +22,8 @@
var onlyUnknownYearGrants = false;
var data = new google.visualization.DataTable();
data.addColumn('string', 'Year');
data.addColumn('number', 'Unique co-investigators');
data.addColumn('string', '${i18n().year_capitalized}');
data.addColumn('number', '${i18n().unique_coinvestigators}');
data.addRows(${sparklineVO.yearToEntityCountDataTable?size});
var knownYearGrantCounts = 0;
@ -152,17 +152,17 @@
if (totalGrants === 1) {
var grantDisplay = "co-investigator";
var grantDisplay = "${i18n().co_investigator}";
} else {
var grantDisplay = "co-investigators";
var grantDisplay = "${i18n().co_investigators}";
}
$('#${sparklineContainerID} td.sparkline_number').text(totalGrants).css("font-weight", "bold").attr("class", "grey").append("<span style='color: #2485AE;'> " + grantDisplay + " <br/></span>");
var sparksText = ' within the last 10 years';
var sparksText = ' ${i18n().within_last_10_years}';
if (totalGrants !== totalGrantCount) {
sparksText += ' (' + totalGrantCount + ' total)';
sparksText += ' (' + totalGrantCount + ' ${i18n().total})';
}
<#else>
@ -181,22 +181,22 @@
var totalGrants = onlyUnknownYearGrants ? unknownYearGrantCounts : renderedSparks;
if (totalGrants === 1) {
var grantDisplay = "co-investigator";
var grantDisplay = "${i18n().co_investigator}";
} else {
var grantDisplay = "co-investigators";
var grantDisplay = "${i18n().co_investigators}";
}
$('#${sparklineContainerID} td.sparkline_number').text(totalGrants).css("font-weight", "bold").attr("class", "grey").append("<span style='color: #2485AE;'> " + grantDisplay + " <br/></span>");
var sparksText = ' from <span class="sparkline_range">${sparklineVO.earliestYearConsidered?c}'
var sparksText = ' ${i18n().from} <span class="sparkline_range">${sparklineVO.earliestYearConsidered?c}'
+ ' through ${sparklineVO.latestRenderedGrantYear?c}</span>';
if (totalGrants !== totalGrantCount) {
sparksText += ' (' + totalGrantCount + ' total)';
sparksText += ' (' + totalGrantCount + ' ${i18n().total})';
}
if (totalGrantCount) {
sparksText += '<br /> <a href="${sparklineVO.downloadDataLink}" title="csv file">(.CSV File)</a> ';
sparksText += '<br /> <a href="${sparklineVO.downloadDataLink}" title="csv ${i18n().file_capitalized}">(.CSV ${i18n().file_capitalized})</a> ';
}
</#if>
@ -275,7 +275,7 @@
<#if sparklineVO.shortVisMode>
<#--<span class="vis_link">-->
<p><a class="all-vivo-grants" href="${sparklineVO.fullTimelineNetworkLink}" title="view full timeline">View full timeline and co-investigator network.</a></p>
<p><a class="all-vivo-grants" href="${sparklineVO.fullTimelineNetworkLink}" title="${i18n().view_timeline_copi_network}">${i18n().view_timeline_copi_network}</a></p>
<#--</span>-->
<#else>
<!-- For Full Sparkline - Print the Table of CoInvestigator Counts per Year -->
@ -283,14 +283,14 @@
<p>
<#assign tableID = "coinve_sparkline_data_table" />
<#assign tableCaption = "Unique Co-Investigators per year " />
<#assign tableActivityColumnName = "Count" />
<#assign tableCaption = "${i18n().unique_coinvestigators_per_year} " />
<#assign tableActivityColumnName = "${i18n().count_capitalized}" />
<#assign tableContent = sparklineVO.yearToActivityCount />
<#assign fileDownloadLink = sparklineVO.downloadDataLink />
<#include "yearToActivityCountTable.ftl">
Download data as <a href="${sparklineVO.downloadDataLink}" title="csv link">.csv</a> file.
${i18n().download_data_as} <a href="${sparklineVO.downloadDataLink}" title="csv ${i18n().download}">.csv</a> ${i18n().file}.
<br />
</p>

View file

@ -1,24 +1,29 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<div id="body">
<h2 id="header-entity-label"><span><a id="organizationMoniker" href="${organizationVivoProfileURL}" title="organizationname">${organizationLabel}</a></span>
<span id="subject-parent-entity"><span>|&nbsp;&nbsp;</span>
<a id="subject-parent-entity-profile-url" href="#" title="Parent organization of ${organizationLabel}"></a>&nbsp;
<a id="subject-parent-entity-temporal-url" href="#" title="temporal graph drill up"><img src="${temporalGraphDrillUpIcon}" width="15px" height="15px"/></a>
</span></h2><br>
<h2 id="header-entity-label">
<span>
<a id="organizationMoniker" href="${organizationVivoProfileURL}" title="${i18n().organization_name}">${organizationLabel}</a>
</span>
<span id="subject-parent-entity">
<span>|&nbsp;&nbsp;</span>
<a id="subject-parent-entity-profile-url" href="#" title="${i18n().parent_organization_of} ${organizationLabel}"></a>&nbsp;
<a id="subject-parent-entity-temporal-url" href="#" title="${i18n().temporal_graph_drill_up}">
<img src="${temporalGraphDrillUpIcon}" width="15px" height="15px" alt="${i18n().temporal_graph_drill_up}"/>
</a>
</span>
</h2>
<br>
<div id="leftblock">
<div id="leftUpper">
<h3>How do you want to compare?</h3>
<h3>${i18n().how_to_compare}</h3>
<div style="text-align: left;">
<select class="comparisonValues" style="margin-bottom: 20px;">
<#assign currentViewLink = "no view link">
<#assign currentViewLink = "${i18n().no_view_link}">
<#list parameterOptions as parameter>
<#if currentParameter = parameter.name>
@ -36,7 +41,7 @@
</select>
<img id="copy-vis-viewlink-icon" title="Persistent link to current visualization" class="middle" src="${urls.images}/individual/uriIcon.gif" alt="uri icon" />
<img id="copy-vis-viewlink-icon" title="${i18n().persistent_link_to_visualization}" class="middle" src="${urls.images}/individual/uriIcon.gif" alt="${i18n().uri_icon}" />
<span id="copy-vis-viewlink"><input type="text" size="21" value="${currentViewLink}" /></span>
</div>
@ -46,34 +51,34 @@
<div id="notification-container" style="display:none">
<div id="error-notification" class="ui-state-error" style="padding:10px; -moz-box-shadow:0 0 6px #980000; -webkit-box-shadow:0 0 6px #980000; box-shadow:0 0 6px #980000;">
<a class="ui-notify-close" href="#" title="error notification"><span class="ui-icon ui-icon-close" style="float:right"></span></a>
<a class="ui-notify-close" href="#" title="${i18n().error_notification}"><span class="ui-icon ui-icon-close" style="float:right"></span></a>
<span style="float:left; margin:0 5px 0 0;" class="ui-icon ui-icon-alert"></span>
<h1>&#035;{title}</h1>
<p>&#035;{text}</p>
<p style="text-align:center"><a class="ui-notify-close" href="#">Close Me</a></p>
<p style="text-align:center"><a class="ui-notify-close" href="#">${i18n().close_me}</a></p>
</div>
<div id="warning-notification" class="ui-state-highlight ui-corner-all" >
<a class="ui-notify-close ui-notify-cross" href="#" title="error notification">x</a>
<a class="ui-notify-close ui-notify-cross" href="#" title="${i18n().error_notification}">x</a>
<span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span>
<h1>&#035;{title}</h1>
<p>&#035;{text}</p>
</div>
</div>
<h3>What do you want to compare?</h3>
<h3>${i18n().what_to_compare}</h3>
<div id="people-organizations-filter">
<span id="organizations-filter" class="filter-option active-filter">Organizations</span> |
<span id="people-filter" class="filter-option">People</span>
<span id="organizations-filter" class="filter-option active-filter">${i18n().organizations_capitalized}</span> |
<span id="people-filter" class="filter-option">${i18n().people_capitalized}</span>
<img class="filterInfoIcon" src="${urls.images}/iconInfo.png"
alt="information icon"
title="Note: the organizations or people listed below are only those which are directly beneath ${organizationLabel} in the organization hierarchy. You may 'drill down' to see the organizations or people below a given sub-organization by selecting the chart icon next to a selected sub-organization's name below the graph on the right." />
alt="${i18n().info_icon}"
title="${i18n().organization_hierarchy_note(organizationLabel)}" />
</div>
<div id="paginatedTable"></div>
<div id="paginated-table-footer">
<a id="csv" href="${temporalGraphDownloadFileLink}" class="temporalGraphLinks" title="save all">Save All as CSV</a>
<a class="clear-selected-entities temporalGraphLinks" title="Clear all selected entities.">Clear</a>
<a id="csv" href="${temporalGraphDownloadFileLink}" class="temporalGraphLinks" title="${i18n().save_all_as_csv}">${i18n().save_all_as_csv}</a>
<a class="clear-selected-entities temporalGraphLinks" title="${i18n().clear_all_selected_entities}">${i18n().clear_capitalized}</a>
</div>
</div>
<#--
@ -85,29 +90,29 @@
<div id="rightblock">
<h3 id="headerText">Comparing <span id="comparisonHeader">${currentParameterObject.value}</span> of <span id="entityHeader">Institutions</span> in ${organizationLabel}</h3>
<h3 id="headerText">${i18n().comparing_capitalized} <span id="comparisonHeader">${currentParameterObject.value}</span> ${i18n().of} <span id="entityHeader">${i18n().institutions_capitalized}</span> ${i18n().in} ${organizationLabel}</h3>
<div id="temporal-graph">
<div id="yaxislabel"></div>
<div id="graphContainer"></div>
<div id="xaxislabel">Year</div>
<div id="xaxislabel">${i18n().year_capitalized}</div>
</div>
<div id="bottom">
<h3><span id="comparisonParameter"></span>&nbsp;
<img id="incomplete-data-disclaimer" class="infoIcon" src="${urls.images}/iconInfo.png" alt="information icon" title="This information is based solely on ${currentParameterObject.value} which have been loaded into the VIVO system" width="15px" height="15px"/></h3>
<p class="displayCounter">You have selected <span id="counter">0</span> of a maximum
<span id="total">10</span> <span id="entityleveltext"> schools</span>.
<img id="incomplete-data-disclaimer" class="infoIcon" src="${urls.images}/iconInfo.png" alt="${i18n().info_icon}" title="${i18n().info_based_on_vivo_data(currentParameterObject.value)}" width="15px" height="15px"/></h3>
<p class="displayCounter">${i18n().you_have_selected} <span id="counter">0</span> ${i18n().of_a_maximum}
<span id="total">10</span> <span id="entityleveltext"> ${i18n().schools}</span>.
<span id="legend-row-header">
<a class="clear-selected-entities temporalGraphLinks" title="Clear all selected entities.">Clear</a>
<a class="clear-selected-entities temporalGraphLinks" title="${i18n().clear_all_selected_entities}">${i18n().clear_capitalized}</a>
</span>
</p>
</div>
<p class="displayCounter">Legend</p>
<span class="legend-bar unknown-legend-bar"><span style="width: 25px; margin-bottom:3px;" class="unknown-inner-bar">&nbsp;</span></span> <span id="legend-unknown-bar-text">${currentParameterObject.name} with unknown year</span><br />
<span style="background-color: #A8A8A8; width: 25px;" class="known-bar legend-bar">&nbsp;</span> <span id="legend-known-bar-text">${currentParameterObject.name} with known year</span><br />
<span style="background-color: #CDCDCD; width: 25px;" class="current-year-legend-bar legend-bar">&nbsp;</span> <span id="legend-current-year-bar-text">${currentParameterObject.name} from current incomplete year</span>
<p class="displayCounter">${i18n().legend_capitalized}</p>
<span class="legend-bar unknown-legend-bar"><span style="width: 25px; margin-bottom:3px;" class="unknown-inner-bar">&nbsp;</span></span> <span id="legend-unknown-bar-text">${currentParameterObject.name} ${i18n().with_unknown_year}</span><br />
<span style="background-color: #A8A8A8; width: 25px;" class="known-bar legend-bar">&nbsp;</span> <span id="legend-known-bar-text">${currentParameterObject.name} ${i18n().with_known_year}</span><br />
<span style="background-color: #CDCDCD; width: 25px;" class="current-year-legend-bar legend-bar">&nbsp;</span> <span id="legend-current-year-bar-text">${currentParameterObject.name} ${i18n().from_current_incomplete_year}</span>
</div>
</div>

View file

@ -15,13 +15,13 @@
<h1 id="noPubsOrGrants-header">${organizationLabel}</h1>
<h3 id="alternative-vis-info">${textForCurrentEntityComparisonType?capitalize} Temporal Graph
<span id="noPubsOrGrants-span">|&nbsp;<a href="${temporalGraphURL}" title="view">view ${textForOtherEntityComparisonType} temporal graph</a></span>
<h3 id="alternative-vis-info">${textForCurrentEntityComparisonType?capitalize} ${i18n().temporal_graph_capitalized}
<span id="noPubsOrGrants-span">|&nbsp;<a href="${temporalGraphURL}" title="${i18n().view}">${i18n().view} ${textForOtherEntityComparisonType} ${i18n().temporal_graph}</a></span>
</h3>
<div id="error-body">
<p>This organization has neither sub-organizations nor people with
<span id="comparison-parameter-unavailable-label">${textForCurrentEntityComparisonType}</span> in the system.
Please visit the full ${organizationLabel} <a href="${organizationVivoProfileURL}" title="profile page">profile page</a> for a more complete overview.</p>
<p>${i18n().entity_comp_error_text1}
<span id="comparison-parameter-unavailable-label">${textForCurrentEntityComparisonType}</span> ${i18n().entity_comp_error_text2}
${i18n().entity_comp_error_text3} ${organizationLabel} <a href="${organizationVivoProfileURL}" title="${i18n().profile_page}">${i18n().profile_page}</a> ${i18n().entity_comp_error_text4}</p>
</div>
</div>

View file

@ -34,25 +34,25 @@
<#assign temporalGraphDownloadCSVCommonURL = '${urls.base}${dataVisualizationURLRoot}?uri=${organizationURI}&labelField=label'>
<#assign publicationParameter = { "name": "publication",
"pluralName": "publications",
"verbName": "published",
"dropDownText": "by Publications",
<#assign publicationParameter = { "name": "${i18n().publication}",
"pluralName": "${i18n().publications}",
"verbName": "${i18n().published}",
"dropDownText": "${i18n().by_publications}",
"viewLink": "${organizationPublicationTemporalGraphURL}",
"viewBaseLink": "${subOrganizationPublicationTemporalGraphCommonURL}",
"dataLink": "${organizationPublicationTemporalGraphDataURL}",
"csvLink": "${temporalGraphDownloadCSVCommonURL}&vis=entity_comparison",
"value": "Publications" }>
"value": "${i18n().publications}" }>
<#assign grantParameter = { "name": "grant",
"pluralName": "grants",
"verbName": "granted",
"dropDownText": "by Grants",
<#assign grantParameter = { "name": "${i18n().grant}",
"pluralName": "${i18n().grants}",
"verbName": "${i18n().granted}",
"dropDownText": "${i18n().by_grants}",
"viewLink": "${organizationGrantTemporalGraphURL}",
"viewBaseLink": "${subOrganizationGrantTemporalGraphCommonURL}",
"dataLink": "${organizationGrantTemporalGraphDataURL}",
"csvLink": "${temporalGraphDownloadCSVCommonURL}&vis=entity_grant_count",
"value": "Grants" }>
"value": "${i18n().grants}" }>
<#assign parameterOptions = [publicationParameter, grantParameter]>
@ -70,8 +70,8 @@ we will use rev 293 (dev build version) of the flot & excanvas files.
<script language="JavaScript" type="text/javascript">
var activitiesLabel = {
singular: 'activity',
plural: 'activities'
singular: '${i18n().activity}',
plural: '${i18n().activities}'
};
</script>

View file

@ -22,8 +22,8 @@
var onlyUnknownYearGrants = false;
var data = new google.visualization.DataTable();
data.addColumn('string', 'Year');
data.addColumn('number', 'Grants');
data.addColumn('string', '${i18n().year_capitalized}');
data.addColumn('number', '${i18n().grants_capitalized}');
data.addRows(${sparklineVO.yearToEntityCountDataTable?size});
var knownYearGrantCounts = 0;
@ -146,17 +146,17 @@
var totalGrants = onlyUnknownYearGrants ? unknownYearGrantCounts : renderedShortSparks;
if (totalGrants === 1) {
var grantDisplay = "grant";
var grantDisplay = "${i18n().grant}";
} else {
var grantDisplay = "grants";
var grantDisplay = "${i18n().grants}";
}
$('#${sparklineContainerID} td.sparkline_number').text(totalGrants).css("font-weight", "bold").attr("class", "grey").append("<span style='color: #2485AE;'> " + grantDisplay + " <br/></span>");
var sparksText = ' within the last 10 years';
var sparksText = ' ${i18n().within_last_10_years}';
if (totalGrants !== totalGrantCount) {
sparksText += ' (' + totalGrantCount + ' total)';
sparksText += ' (' + totalGrantCount + ' ${i18n().total})';
}
<#else>
@ -175,9 +175,9 @@
var totalGrants = onlyUnknownYearGrants ? unknownYearGrantCounts : renderedSparks;
if (totalGrants === 1) {
var grantDisplay = "grant";
var grantDisplay = "${i18n().grant}";
} else {
var grantDisplay = "grants";
var grantDisplay = "${i18n().grants}";
}
$('#${sparklineContainerID} td.sparkline_number').text(totalGrants).css("font-weight", "bold").attr("class", "grey").append("<span style='color: #2485AE;'> " + grantDisplay + " <br/></span>");
@ -186,11 +186,11 @@
+ ' through ${sparklineVO.latestRenderedGrantYear?c}</span>';
if (totalGrants !== totalGrantCount) {
sparksText += ' (' + totalGrantCount + ' total)';
sparksText += ' (' + totalGrantCount + ' ${i18n().total})';
}
if (totalGrantCount) {
sparksText += '<br /> <a href="${sparklineVO.downloadDataLink}" title="csv file">(.CSV File)</a> ';
sparksText += '<br /> <a href="${sparklineVO.downloadDataLink}" title=".csv ${i18n().file}">(.CSV ${i18n().file_capitalized})</a> ';
}
</#if>
@ -265,7 +265,7 @@
<#if sparklineVO.shortVisMode>
<#--<span class="vis_link">-->
<p><a class="all-vivo-grants" href="${sparklineVO.fullTimelineNetworkLink}" title="view all grants">View all VIVO grants and corresponding co-investigator network.</a></p>
<p><a class="all-vivo-grants" href="${sparklineVO.fullTimelineNetworkLink}" title="${i18n().view_all_grants}">${i18n().view_all_grants_text}</a></p>
<#--</span>-->
<#else>
<!-- For Full Sparkline - Print the Table of Grant Counts per Year -->
@ -273,14 +273,14 @@
<p>
<#assign tableID = "grant_sparkline_data_table" />
<#assign tableCaption = "Grants per year" />
<#assign tableActivityColumnName = "Grants" />
<#assign tableCaption = "${i18n().grant_per_year}" />
<#assign tableActivityColumnName = "${i18n().grants_capitalized}" />
<#assign tableContent = sparklineVO.yearToActivityCount />
<#assign fileDownloadLink = sparklineVO.downloadDataLink />
<#include "yearToActivityCountTable.ftl">
Download data as <a href="${sparklineVO.downloadDataLink}" title="csv link">.csv</a> file.
${i18n().download_data_as} <a href="${sparklineVO.downloadDataLink}" title=".csv ${i18n().link}">.csv</a> ${i18n().file}.
<br />
</p>

View file

@ -0,0 +1,52 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#assign aboutImagesRoot = '${urls.images}/visualization/mapofscience/about/'>
<h2>Acerca Mapa de Visualización de Ciencia VIVO</h2>
<h3>Mapa base de referencia</h3>
<p>El mapa VIVO de la visualización ciencia utiliza el mapa UCSD de la ciencia y clasificación
sistema que se calcula a partir de datos de papel a nivel de alrededor de 25 000 revistas de Elsevier
Scopus y y Thomson Reuters Web of Science (WoS) para los años 2001-2010. El mapa UCSD
de la ciencia se encarga de los 25.000 diarios a 554 subdisciplinas que se agregan más
en 13 disciplinas principales de la ciencia. En el mapa, cada disciplina tiene un color distinto
(verde para 'Biología', marrón de 'Ciencias de la Tierra', etc) y una etiqueta. (Sub) disciplinas que
son similares más cerca el uno al otro en el mapa. (Sub) disciplinas que son especialmente similares
están conectados por líneas grises.</p>
<h3>Data Overlay</h3>
<p>La actividad de publicación de una universidad, organización o persona puede superponerse a la
asignar para generar perfiles experiencia. El proceso es el siguiente: (1) El conjunto de único
se identifica revistas, (2) el número de veces que cada revista sirve como un lugar de publicación
se calcula, y (3) el tamaño del área de las 13 disciplinas y 554 es subdisciplinas
calculado sobre la base de estas publicaciones de revistas recuentos lugar. Tenga en cuenta que algunas revistas están
asociado con exactamente una disciplina (sub), mientras que otros, por ejemplo, los interdisciplinares como
<em>Ciencia</em> o <em>Nature</em>, son marginalmente asociados con múltiples
(sub) disciplinas. Subdisciplinas heredan los colores de sus disciplinas principales.
(Sub) disciplinas sin ningún tipo de publicaciones asociadas se muestran en gris.</p>
<img src="${aboutImagesRoot}/scimap_discipline.jpg" width="450" height="327" />
<img src="${aboutImagesRoot}/scimap_subdiscipline.jpg" width="450" height="327" />
<h3>Experiencia Perfil Comparación Mapa</h3>
<p>La actividad de publicación de hasta tres personas u organizaciones pueden compararse a través de "Comparar
organizaciones. "en la tabla de la izquierda, seleccione hasta tres organizaciones. La experiencia
el perfil de cada organización se muestra como datos de overlay. Todas las organizaciones es
representada en un color distinto y una lista de 10 de subdisciplinas con el mayor número
de las publicaciones es la siguiente el mapa comparación. Los datos pueden ser guardados como archivos CSV.</p>
<img src="${aboutImagesRoot}/scimap_comparison.jpg" width="803" height="781" style=
"margin-left: 50px;"/>
<h3>Interactividad</h3>
<p>El mapa puede ser explorado en dos niveles-por 13 disciplinas o subdisciplinas 554. Al hacer clic en
en un nodo en el mapa aparece el número de publicaciones en revistas fraccionada asociada
y el porcentaje de publicaciones asignadas a esta disciplina (sub). Pase el ratón sobre una disciplina
en la tabla de la izquierda para ver lo que los círculos corresponde a en el mapa. Usar control deslizante situado debajo
mapa, sobre el derecho a reducir el número de subdisciplinas demostrado mejorar la legibilidad.</p>
<h3>Enlaces</h3>
<p>Para obtener más información sobre el mapa UCSD de la ciencia y el sistema de clasificación, véase
<a href="http://sci.cns.iu.edu/ucsdmap" target="_blank">http://sci.cns.iu.edu/ucsdmap</a>.
Para otros mapas de la ciencia, ver
<a href="http://scimaps.org" target="_blank">http://scimaps.org</a> y
<a href="http://mapofscience.com" target="_blank">http://mapofscience.com</a>.</p>

View file

@ -10,31 +10,30 @@ corresponding changes in the included Templates. -->
<#--
<div id="subject-parent-entity" class="hide-dom-on-init">
<a id="subject-parent-entity-profile-url" href="#" title="parent entity"></a>&nbsp;
<a id="subject-parent-entity-temporal-url" href="#" title="map of science"><img src="${mapOfScienceIcon}" width="15px" height="15px"/></a>
<a id="subject-parent-entity-profile-url" href="#" title="${i18n().parent_entity}"></a>&nbsp;
<a id="subject-parent-entity-temporal-url" href="#" title="${i18n().map_of_science}"><img src="${mapOfScienceIcon}" width="15px" height="15px" alt="${i18n().map_of_science_icon}"/></a>
</div>
-->
<h2 id="header-entity-label" class="hide-dom-on-init"><span><a id="entityMoniker" href="${entityVivoProfileURL}" title="entity label">${entityLabel}</a></span></h2>
<h2 id="header-entity-label" class="hide-dom-on-init"><span><a id="entityMoniker" href="${entityVivoProfileURL}" title="${i18n().entity_label}">${entityLabel}</a></span></h2>
<div id="map-of-science-info" class="hide-dom-on-init"> Explore activity (<span id="mapped-publications" style="font-weight: bold"></span> publications) across 554 scientific subdisciplines
<div id="map-of-science-info" class="hide-dom-on-init"> ${i18n().explore_activity} (<span id="mapped-publications" style="font-weight: bold"></span> ${i18n().publications}) ${i18n().across_subdisciplines}
<img class="filterInfoIcon" id="imageIconOne" src="${urls.images}/iconInfo.png"
alt="information icon"
title="" />
alt="${i18n().info_icon}" />
</div>
<div id="left-column" class="hide-dom-on-init">
<div id="notification-container" style="display:none">
<div id="error-notification" class="ui-state-error" style="padding:10px; -moz-box-shadow:0 0 6px #980000; -webkit-box-shadow:0 0 6px #980000; box-shadow:0 0 6px #980000;">
<a class="ui-notify-close" href="#" title="error notification"><span class="ui-icon ui-icon-close" style="float:right"></span></a>
<a class="ui-notify-close" href="#" title="${i18n().error_notification}"><span class="ui-icon ui-icon-close" style="float:right"></span></a>
<span style="float:left; margin:0 5px 0 0;" class="ui-icon ui-icon-alert"></span>
<h1>&#035;{title}</h1>
<p>&#035;{text}</p>
<p style="text-align:center"><a class="ui-notify-close" href="#">Close Me</a></p>
<p style="text-align:center"><a class="ui-notify-close" href="#">${i18n().close_me}</a></p>
</div>
<div id="warning-notification" class="ui-state-highlight ui-corner-all" >
<a class="ui-notify-close ui-notify-cross" href="#" title="error notification">x</a>
<a class="ui-notify-close ui-notify-cross" href="#" title="${i18n().error_notification}">x</a>
<span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span>
<h1>&#035;{title}</h1>
<p>&#035;{text}</p>
@ -43,13 +42,13 @@ corresponding changes in the included Templates. -->
<#-- VIEW TYPE FILTER -->
<div id="view-type-filter" style="display:${viewTypeFilterDisplay};">
<input type="radio" name="view-type" value="ENTITY"> Explore ${entityLabel} </input>
<img class="filterInfoIcon" id="exploreInfoIcon" src="${urls.images}/iconInfo.png" alt="information icon" title="" /><br>
<input type="radio" name="view-type" value="COMPARISON"> Compare organizations <#--/ people --></input>
<img class="filterInfoIcon" id="compareInfoIcon" src="${urls.images}/iconInfo.png" alt="information icon" title="" /><br><br>
<input type="radio" name="view-type" value="ENTITY"> ${i18n().explore_capitalized} ${entityLabel} </input>
<img class="filterInfoIcon" id="exploreInfoIcon" src="${urls.images}/iconInfo.png" alt="${i18n().info_icon}" title="" /><br>
<input type="radio" name="view-type" value="COMPARISON"> ${i18n().compare_organizations} <#--/ people --></input>
<img class="filterInfoIcon" id="compareInfoIcon" src="${urls.images}/iconInfo.png" alt="${i18n().info_icon}" title="" /><br><br>
</div>
<!-- <h3>What do you want to compare?</h3> -->
<!-- <h3>${i18n().what_to_compare}</h3> -->
<div id="main-science-areas-table-container"></div>
@ -58,11 +57,11 @@ corresponding changes in the included Templates. -->
<div id="right-column">
<div id="map_area"></div>
<div id="percent-mapped-info">
mapped <span id="percent-mapped"></span>% of <span id="total-publications"></span> publications
<img class="filterInfoIcon" id="imageIconThree" src="${urls.images}/iconInfo.png" alt="information icon" title="" />
${i18n().mapped} <span id="percent-mapped"></span>% ${i18n().of} <span id="total-publications"></span> ${i18n().publications}
<img class="filterInfoIcon" id="imageIconThree" src="${urls.images}/iconInfo.png" alt="${i18n().info_icon}"/>
<div id="download-unlocated-journal-info">
<a href="${entityMapOfScienceUnlocatedJournalsCSVURL}" title="save unmapped publications">Save Unmapped Publications</a>
<a href="${entityMapOfScienceUnlocatedJournalsCSVURL}" title="${i18n().save_unmapped_publications}">${i18n().save_unmapped_publications}</a>
</div>
</div>
<br />
@ -72,82 +71,15 @@ corresponding changes in the included Templates. -->
</div>
<#-- START TOOLTIP TEXT -->
<div id="toolTipOne" style="display:none;">
VIVO's Map of Science visualization depicts the topical expertise a university, organization, or person has
based on past publications loaded into VIVO. Shown here is the expertise profile of the ${entityLabel}--larger
circle sizes denote more publications per topic area.<br /><br />
<a href='${subEntityMapOfScienceCommonURL}about'>Learn more about VIVO's Map of Science visualization?</a>
</div>
<div id="toolTipTwo" style="display:none;">
The table below summarizes the publications plotted on the Map of Science. Each row corresponds to a
(sub)discipline on the map<br /><br />
The <b># of pubs.</b> column shows how many of the publications were mapped to each (sub)discipline. This count can be
fractional because some publication venues are associated with more than one (sub)discipline. Each publication
in such a venue contributes fractionally to all associated (sub)disciplines according to a weighting scheme.<br /><br />
The <b>% of activity</b> column shows what proportion of the publications were mapped to each (sub)discipline.
</div>
<div id="toolTipThree" style="display:none;">
This visualization is based on the publications we were able to 'science locate' for ${entityLabel}, and
therefore it may not be fully representative of the overall publication activity for ${entityLabel}.<br /><br />
The publication coverage of this visualization can be improved by including more publication data in the VIVO
system, and by ensuring that each publication in the VIVO system is associated with a journal that the Map of
Science recognizes (based on the holdings of Thomson's ISI database and Elsevier's Scopus database). Journal
names containing typos or other idiosyncrasies may need to be cleaned up before they are recognized. You may
contact a VIVO system administrator if publication coverage is a concern.</div>
<div id="exploreTooltipText" style="display:none;">
Overlay and examine expertise profiles for a organization. Color coding by discipline.
</div>
<div id="compareTooltipText" style="display:none;">
Overlay and examine expertise profiles for one or more organizations. Color coding by organization.
</div>
<div id="searchInfoTooltipText" style="display:none;">
List only (sub)disciplines whose names contain this text.
</div>
<#-- COMPARISON TOOLTIP TEXT -->
<div id="comparisonToolTipTwo" style="display:none;">
The listed organizations are children of the ${entityLabel} node in the organizational hierarchy.
You may 'drill down' to see the organizations below a given sub-organization by selecting the chart icon
next to a selected sub-organization's name below the graph on the right.
<br /><br />
The <b># of pubs.</b> column shows how many of the publications were mapped to each subdiscipline. This
count can be fractional because some publication venues are associated with more than one subdiscipline.
Each publication in such a venue contributes fractionally to all associated subdisciplines according to
a weighting scheme.
<br /><br />
The <b>% of activity</b> column shows what proportion of the publications were mapped to each subdiscipline.
</div>
<div id="comparisonSearchInfoTooltipText" style="display:none;">
<!-- Search for specific subdiscipline (or discipline) label in the first column of the table. -->
List only organizations <!--(or people) -->whose name contains this text.
</div>
<#-- END TOOLTIP TEXT -->
<#include "mapOfScienceTooltips.ftl">
<div id="error-container">
<h1 id="noPublications-header">${entityLabel}</h1>
<h3 id="vis-title">Map of Science Visualization</h3>
<h3 id="vis-title">${i18n().map_of_science_visualization}</h3>
<div id="error-body">
<p><span id="variable-error-text">No publications in the system have been attributed to this organization.</span><hr />
Please visit the ${entityLabel} <a href="${entityVivoProfileURL}">profile page</a> for a complete overview.</p>
<p><span id="variable-error-text">${i18n().no_publications_for_this_organization}</span><hr />
${i18n().please_visit} ${entityLabel} <a href="${entityVivoProfileURL}">${i18n().profile_page}</a> ${i18n().for_complete_overview}</p>
</div>
</div>

View file

@ -0,0 +1,70 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- START TOOLTIP TEXT -->
<div id="toolTipOne" style="display:none;">
VIVO's Map of Science visualization depicts the topical expertise a university, organization, or person has
based on past publications loaded into VIVO. Shown here is the expertise profile of the ${entityLabel}--larger
circle sizes denote more publications per topic area.<br /><br />
<a href='${subEntityMapOfScienceCommonURL}about'>Learn more about VIVO's Map of Science visualization?</a>
</div>
<div id="toolTipTwo" style="display:none;">
The table below summarizes the publications plotted on the Map of Science. Each row corresponds to a
(sub)discipline on the map<br /><br />
The <b># of pubs.</b> column shows how many of the publications were mapped to each (sub)discipline. This count can be
fractional because some publication venues are associated with more than one (sub)discipline. Each publication
in such a venue contributes fractionally to all associated (sub)disciplines according to a weighting scheme.<br /><br />
The <b>% of activity</b> column shows what proportion of the publications were mapped to each (sub)discipline.
</div>
<div id="toolTipThree" style="display:none;">
This visualization is based on the publications we were able to 'science locate' for ${entityLabel}, and
therefore it may not be fully representative of the overall publication activity for ${entityLabel}.<br /><br />
The publication coverage of this visualization can be improved by including more publication data in the VIVO
system, and by ensuring that each publication in the VIVO system is associated with a journal that the Map of
Science recognizes (based on the holdings of Thomson's ISI database and Elsevier's Scopus database). Journal
names containing typos or other idiosyncrasies may need to be cleaned up before they are recognized. You may
contact a VIVO system administrator if publication coverage is a concern.</div>
<div id="exploreTooltipText" style="display:none;">
Overlay and examine expertise profiles for a organization. Color coding by discipline.
</div>
<div id="compareTooltipText" style="display:none;">
Overlay and examine expertise profiles for one or more organizations. Color coding by organization.
</div>
<div id="searchInfoTooltipText" style="display:none;">
List only (sub)disciplines whose names contain this text.
</div>
<#-- COMPARISON TOOLTIP TEXT -->
<div id="comparisonToolTipTwo" style="display:none;">
The listed organizations are children of the ${entityLabel} node in the organizational hierarchy.
You may 'drill down' to see the organizations below a given sub-organization by selecting the chart icon
next to a selected sub-organization's name below the graph on the right.
<br /><br />
The <b># of pubs.</b> column shows how many of the publications were mapped to each subdiscipline. This
count can be fractional because some publication venues are associated with more than one subdiscipline.
Each publication in such a venue contributes fractionally to all associated subdisciplines according to
a weighting scheme.
<br /><br />
The <b>% of activity</b> column shows what proportion of the publications were mapped to each subdiscipline.
</div>
<div id="comparisonSearchInfoTooltipText" style="display:none;">
<!-- Search for specific subdiscipline (or discipline) label in the first column of the table. -->
List only organizations <!--(or people) -->whose name contains this text.
</div>
<#-- END TOOLTIP TEXT -->

View file

@ -0,0 +1,58 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- START TOOLTIP TEXT -->
<div id="toolTipOne" style="display:none;">
Mapa de la visualización de la Ciencia de VIVO representa la experiencia tópica una universidad, organización o persona tiene
sobre la base de las publicaciones anteriores cargados en vivo. Aquí se muestra el perfil de especialización de la ${entityLabel} -- grande
tamaños círculo denotan más publicaciones por área temática.<br /><br />
<a href='${subEntityMapOfScienceCommonURL}about'>Obtenga más información sobre mapas de visualización Ciencias de VIVO</a>
</div>
<div id="toolTipTwo" style="display:none;">
La siguiente tabla resume las publicaciones representan en el mapa de la Ciencia. Cada fila corresponde a un
(sub) disciplina en el mapa.<br /><br />
El número de la columna de publicaciones muestra cómo muchas de las publicaciones se asigna a cada disciplina (sub). Esta cuenta puede ser fraccionada debido a que algunos lugares de publicación están asociados con más de una disciplina (sub). Cada publicación de tal lugar contribuye fraccionadamente a todas las disciplinas asociadas (sub) de acuerdo con un esquema de ponderación.<br /><br />
El porcentaje de la columna de actividad muestra qué proporción de las publicaciones se asigna a cada disciplina (sub).
</div>
<div id="toolTipThree" style="display:none;">
Esta visualización se basa en las publicaciones que hemos podido "ciencia locate 'para ${entityLabel}, y por lo tanto, puede que no sea plenamente representativo de la actividad general de publicaciones de ${entityLabel}.<br /><br />
La cobertura de la publicación de esta visualización se puede mejorar mediante la inclusión de más datos de publicación en el VIVO sistema, y garantizando que cada publicación en el sistema in vivo se asocia con un diario que el Mapa de La ciencia reconoce (basado en la tenencia de la base de datos ISI de Thomson y de la base de datos Scopus de Elsevier). revista nombres que contengan errores tipográficos u otras idiosincrasias pueden necesitar ser limpiado antes de ser reconocidos. Usted puede ponerse en contacto con un administrador de sistema in vivo si la cobertura publicación es una preocupación.</div>
<div id="exploreTooltipText" style="display:none;">
Superposición y examinar los perfiles de competencias para una organización. El código de colores por la disciplina.
</div>
<div id="compareTooltipText" style="display:none;">
Superposición y examinar los perfiles de competencias de una o más organizaciones. El código de colores según la organización.
</div>
<div id="searchInfoTooltipText" style="display:none;">
Enumere sólo disciplinas (sub) cuyos nombres contengan el texto.
</div>
<#-- COMPARISON TOOLTIP TEXT -->
<div id="comparisonToolTipTwo" style="display:none;">
Las organizaciones mencionadas son hijos del nodo de ${entityLabel} en la jerarquía organizacional. Es posible que 'profundizar' para ver las organizaciones por debajo de un determinado sub-organización, seleccione el icono de gráfico junto al nombre de un sub-organización seleccionada por debajo de la gráfica de la derecha.
<br /><br />
El número de publicaciones columna muestra la cantidad de las publicaciones fueron asignadas a cada especialidad. Esta cuenta puede ser fraccionario ya que algunos lugares de publicación están asociados con más de una especialidad. Cada publicación de tal lugar contribuye fraccionadamente a todas las subdisciplinas asociados de acuerdo con un esquema de ponderación.
<br /><br />
El porcentaje de la columna de actividad muestra qué proporción de las publicaciones que se asigna a cada especialidad.
</div>
<div id="comparisonSearchInfoTooltipText" style="display:none;">
<!-- Search for specific subdiscipline (or discipline) label in the first column of the table. -->
Listar sólo las organizaciones cuyo nombre contenga el texto.
</div>
<#-- END TOOLTIP TEXT -->

View file

@ -4,7 +4,7 @@
<#if (currentModels?size > 0)>
Below cached models will be regenerated.<hr />
${i18n().cached_models_regenerated}<hr />
<ul>
<#list currentModels as model>
@ -12,11 +12,11 @@
<#if model.uri == "">
URI Independent Model
${i18n().uri_independent_model}
<#else>
<a href="${urls.base}/individual?uri=${model.uri?url}" title="label">${model.individualLabel}</a>
<a href="${urls.base}/individual?uri=${model.uri?url}" title="${i18n().label}">${model.individualLabel}</a>
</#if>
<span class="display-title">${model.humanReadableType}</span>
@ -27,7 +27,7 @@
<#else>
Currently there are no constructed models for use by visualization.
${i18n().currently_no_constructed_models}
</#if>

View file

@ -77,7 +77,7 @@ ${stylesheets.add('<link rel="stylesheet" type="text/css" href="${urls.base}/css
$(document).ready(function(){
<#if (numOfCoAuthorShips?? && numOfCoAuthorShips > 0) >
$("#coauth_table_container").empty().html('<img id="loadingData" width="auto" src="${loadingImageLink}" />');
$("#coauth_table_container").empty().html('<img id="loadingData" width="auto" src="${loadingImageLink}" alt="${i18n().loading_data}"/>');
</#if>
processProfileInformation("ego_label",
@ -118,7 +118,7 @@ $(document).ready(function(){
<div id="ego_profile">
<#-- Label -->
<h2><a href="${egoVivoProfileURL}" title="author name"><span id="ego_label" class="author_name"></span></a></h2>
<h2><a href="${egoVivoProfileURL}" title="${i18n().author_name}"><span id="ego_label" class="author_name"></span></a></h2>
<#-- Moniker-->
<em id="ego_moniker" class="moniker"></em>
@ -127,9 +127,9 @@ $(document).ready(function(){
<div class = "toggle_visualization">
<div id="coinvestigator_link_container" class="collaboratorship-link-container">
<div class="collaboratorship-icon"><a href="${coprincipalinvestigatorURL}" title="co-investigator"><img src="${coInvestigatorIcon}" /></a></div>
<div class="collaboratorship-icon"><a href="${coprincipalinvestigatorURL}" title="${i18n().co_investigator}"><img src="${coInvestigatorIcon}" alt="${i18n().co_investigator_icon}"/></a></div>
<div class="collaboratorship-link">
<h3><a href="${coprincipalinvestigatorURL}" title="co-investigator">Co-Investigator Network</a></h3>
<h3><a href="${coprincipalinvestigatorURL}" title="${i18n().co_investigator_network}">${i18n().co_investigator_network_capitalized}</a></h3>
</div>
</div>
</div>
@ -138,27 +138,25 @@ $(document).ready(function(){
<#if (numOfAuthors?? && numOfAuthors > 0) >
<div class="sub_headings"><h3>Co-Author Network </h3></div>
<div class="sub_headings"><h3>${i18n().co_author_network} </h3></div>
<#if (numOfCoAuthorShips?? && numOfCoAuthorShips > 0) || (numOfAuthors?? && numOfAuthors > 0) >
<div class = "graphml-file-link"><a href="${egoCoAuthorshipNetworkDataFileURL}">(GraphML File)</a></div>
<div class = "graphml-file-link"><a href="${egoCoAuthorshipNetworkDataFileURL}" title="GraphML ${i18n().file}">(GraphML ${i18n().file_capitalized})</a></div>
<#else>
<#if numOfAuthors?? && numOfAuthors <= 0 >
<#assign authorsText = "multi-author" />
</#if>
<div id="no_coauthorships">Currently there are no ${authorsText!} papers for
<a href="${egoVivoProfileURL}" title="co-authorship"><span id="no_coauthorships_person" class="author_name">this author</span></a>
in the VIVO database.
<div id="no_coauthorships">${i18n().currently_no_papers_for(authorsText!)}
<a href="${egoVivoProfileURL}" title="${i18n().co_authorship}"><span id="no_coauthorships_person" class="author_name">${i18n().this_author}</span></a> ${i18n().in_the_vivo_db}
</div>
</#if>
<#else>
<span id="no_coauthorships">Currently there are no papers for
<a href="${egoVivoProfileURL}" title="co-authorship"><span id="no_coauthorships_person" class="author_name">this author</span></a> in the
VIVO database.
<span id="no_coauthorships">${i18n().no_papers_for}
<a href="${egoVivoProfileURL}" title="${i18n().co_authorship}"><span id="no_coauthorships_person" class="author_name">${i18n().this_author}</span></a> ${i18n().in_the_vivo_db}
</span>
</#if>
@ -174,7 +172,7 @@ $(document).ready(function(){
</script>
</div>
<div id="dataPanel">
<h4 id ="profileTitle">Profile</h4>
<h4 id ="profileTitle">${i18n().profile_capitalized}</h4>
<div id="data-panel-content">
<div id="profileImage" class="thumbnail"></div>
@ -182,23 +180,22 @@ $(document).ready(function(){
<h4><span id="authorName" class="neutral_author_name">&nbsp;</span></h4>
<em id="profileMoniker" class="moniker"></em>
<div id="profile-links"><a href="#" id="profileUrl" title="VIVO profile">VIVO profile</a></div>
<div id="profile-links"><a href="#" id="profileUrl" title="${i18n().vivo_profile}">${i18n().vivo_profile}</a></div>
<div class="author_stats" id="num_works"><span class="numbers" style="width: 40px;" id="works"></span>&nbsp;&nbsp;
<span class="author_stats_text">Publication(s)</span></div>
<span class="author_stats_text">${i18n().publication_s_capitalized}</span></div>
<div class="author_stats" id="num_authors"><span class="numbers" style="width: 40px;" id="coAuthors"></span>
&nbsp;&nbsp;<span class="author_stats_text">Co-author(s)</span></div>
&nbsp;&nbsp;<span class="author_stats_text">${i18n().co_author_s_capitalized}</span></div>
<div class="author_stats" id="fPub" style="visibility:hidden">
<span class="numbers" style="width:40px;" id="firstPublication"></span>&nbsp;&nbsp;<span>First Publication</span></div>
<span class="numbers" style="width:40px;" id="firstPublication"></span>&nbsp;&nbsp;<span>${i18n().first_publication}</span></div>
<div class="author_stats" id="lPub" style="visibility:hidden"><span class="numbers" style="width:40px;" id="lastPublication"></span>
&nbsp;&nbsp;<span>Last Publication</span></div>
<div id="incomplete-data">Note: This information is based solely on publications that have been loaded into the VIVO system.
This may only be a small sample of the person's total work.<p></p><p></p>
&nbsp;&nbsp;<span>${i18n().last_publication}</span></div>
<div id="incomplete-data">${i18n().incomplete_data_note1}<p></p><p></p>
<#if user.loggedIn >
Go to your profile page to enter additional details about your publications.
${i18n().incomplete_data_note2}
<#else>
Log in to enter additional details about your publications on your profile page.
${i18n().incomplete_data_note3}
</#if>
</div>
</div>
@ -222,15 +219,15 @@ $(document).ready(function(){
<div class="vis_stats">
<div class="sub_headings" id="table_heading"><h3>Tables</h3></div>
<div class="sub_headings" id="table_heading"><h3>${i18n().tables_capitalized}</h3></div>
<div class="vis-tables">
<p id="publications_table_container" class="datatable">
<#assign tableID = "publication_data_table" />
<#assign tableCaption = "Publications per year " />
<#assign tableActivityColumnName = "Publications" />
<#assign tableCaption = "${i18n().publications_per_year} " />
<#assign tableActivityColumnName = "${i18n().publications_capitalized}" />
<#assign tableContent = egoPubSparklineVO.yearToActivityCount />
<#assign fileDownloadLink = egoPubSparklineVO.downloadDataLink />

View file

@ -76,7 +76,7 @@ ${stylesheets.add('<link rel="stylesheet" type="text/css" href="${urls.base}/css
$(document).ready(function(){
<#if (numOfCoInvestigations?? && numOfCoInvestigations > 0) >
$("#coinve_table_container").empty().html('<img id="loadingData" width="auto" src="${loadingImageLink}" />');
$("#coinve_table_container").empty().html('<img id="loadingData" width="auto" src="${loadingImageLink}" alt="${i18n().loading_data}"/>');
</#if>
@ -117,7 +117,7 @@ $(document).ready(function(){
<div id="ego_profile">
<#-- Label -->
<h2><a href="${egoVivoProfileURL}" title="investigator name"><span id="ego_label" class="investigator_name"></span></a></h2>
<h2><a href="${egoVivoProfileURL}" title="${i18n().investigator_name}"><span id="ego_label" class="investigator_name"></span></a></h2>
<#-- Moniker-->
<em id="ego_moniker" class="moniker"></em>
@ -126,9 +126,9 @@ $(document).ready(function(){
<div class = "toggle_visualization">
<div id="coauthorship_link_container" class="collaboratorship-link-container">
<div class="collaboratorship-icon"><a href="${coauthorshipURL}" title="co-author"><img src="${coAuthorIcon}" /></a></div>
<div class="collaboratorship-icon"><a href="${coauthorshipURL}" title="${i18n().co_author}"><img src="${coAuthorIcon}" alt="${i18n().co_author_icon}"/></a></div>
<div class="collaboratorship-link">
<h3><a href="${coauthorshipURL}" title="co-author network">Co-Author Network</a></h3>
<h3><a href="${coauthorshipURL}" title="${i18n().co_author_network}">${i18n().co_author_network}</a></h3>
</div>
</div>
</div>
@ -137,27 +137,25 @@ $(document).ready(function(){
<#if (numOfInvestigators?? && numOfInvestigators > 0) >
<div class="sub_headings"><h3 >Co-Investigator Network </h3></div>
<div class="sub_headings"><h3 >${i18n().co_investigator_network_capitalized} </h3></div>
<#if (numOfCoInvestigations?? && numOfCoInvestigations > 0) || (numOfInvestigators?? && numOfInvestigators > 0) >
<div class = "graphml-file-link"><a href="${egoCoInvestigationNetworkDataFileURL}" title="co-investigator">(GraphML File)</a></div>
<div class = "graphml-file-link"><a href="${egoCoInvestigationNetworkDataFileURL}" title="${i18n().co_investigator}">(GraphML ${i18n().file_capitalized})</a></div>
<#else>
<#if numOfInvestigators?? && numOfInvestigators <= 0 >
<#assign investigatorsText = "multi-investigator" />
</#if>
<span id="no_coinvestigations">Currently there are no ${investigatorsText!} grants for
<a href="${egoVivoProfileURL}" title="investigator name"><span id="no_coinvestigations_person" class="investigator_name">this investigator</span></a>
in the VIVO database.
<span id="no_coinvestigations">${i18n().currently_no_grants_for(investigatorsText!)}
<a href="${egoVivoProfileURL}" title="${i18n().investigator_name}"><span id="no_coinvestigations_person" class="investigator_name">${i18n().this_investigator}</span></a> ${i18n().in_the_vivo_db}
</span>
</#if>
<#else>
<span id="no_coinvestigations">Currently there are no grants for
<a href="${egoVivoProfileURL}" title="co-investigator"><span id="no_coinvestigations_person" class="investigator_name">this investigator</span></a> in the
VIVO database.
<span id="no_coinvestigations">${i18n().no_grants_for}
<a href="${egoVivoProfileURL}" title="${i18n().co_investigator}"><span id="no_coinvestigations_person" class="investigator_name">${i18n().this_investigator}</span></a> ${i18n().in_the_vivo_db}
</span>
</#if>
@ -173,7 +171,7 @@ $(document).ready(function(){
</script>
</div>
<div id="dataPanel">
<h4 id ="profileTitle">Profile</h4>
<h4 id ="profileTitle">${i18n().profile_capitalized}</h4>
<div id="data-panel-content">
<div id="profileImage" class="thumbnail"></div>
@ -182,23 +180,22 @@ $(document).ready(function(){
<em id="profileMoniker" class="moniker"></em>
<div id="profile-links"><a href="#" id="profileUrl" title="VIVO profile">VIVO profile</a></div>
<div id="profile-links"><a href="#" id="profileUrl" title="${i18n().vivo_profile}">${i18n().vivo_profile}</a></div>
<div class="investigator_stats" id="num_works"><span class="numbers" style="width: 40px;" id="works"></span>&nbsp;&nbsp;
<span class="investigator_stats_text">Grant(s)</span></div>
<span class="investigator_stats_text">${i18n().grant_s_capitalized}</span></div>
<div class="investigator_stats" id="num_investigators"><span class="numbers" style="width: 40px;" id="coInvestigators"></span>
&nbsp;&nbsp;<span class="investigator_stats_text">Co-investigator(s)</span></div>
&nbsp;&nbsp;<span class="investigator_stats_text">${i18n().co_investigator_s_capitalized}</span></div>
<div class="investigator_stats" id="fGrant" style="visibility:hidden">
<span class="numbers" style="width:40px;" id="firstGrant"></span>&nbsp;&nbsp;<span>First Grant</span></div>
<span class="numbers" style="width:40px;" id="firstGrant"></span>&nbsp;&nbsp;<span>${i18n().first_grant}</span></div>
<div class="investigator_stats" id="lGrant" style="visibility:hidden"><span class="numbers" style="width:40px;" id="lastGrant"></span>
&nbsp;&nbsp;<span>Last Grant</span></div>
<div id="incomplete-data">Note: This information is based solely on grants that have been loaded into the VIVO system.
This may only be a small sample of the person's total work.<p></p><p></p>
&nbsp;&nbsp;<span>${i18n().last_grant}</span></div>
<div id="incomplete-data">${i18n().incomplete_grant_data_note1}<p></p><p></p>
<#if user.loggedIn >
Go to your profile page to enter additional details about your grants.
${i18n().incomplete_grant_data_note2}
<#else>
Log in to enter additional details about your grants on your profile page.
${i18n().incomplete_grant_data_note3}
</#if>
</div>
</div>
@ -224,16 +221,16 @@ $(document).ready(function(){
<div class="vis_stats">
<div class="sub_headings" id="table_heading"><h3>Tables</h3></div>
<p style="float:left;font-size:.9em">The information in the following tables is for all years.&nbsp;<img class="filterInfoIcon" width="16px" height="16px" id="imageIconThree" src="${urls.images}/iconInfo.png" alt="information icon" title="The spark lines shown above reflect grants through the last complete calendar year. These tables, however, show the grant information for all years, based on the information loaded in the VIVO system." /></p>
<div class="sub_headings" id="table_heading"><h3>${i18n().tables_capitalized}</h3></div>
<p style="float:left;font-size:.9em">${i18n().grant_info_for_all_years}&nbsp;<img class="filterInfoIcon" width="16px" height="16px" id="imageIconThree" src="${urls.images}/iconInfo.png" alt="${i18n().info_icon}" title="${i18n().grant_sparkline_note}" /></p>
<div class="vis-tables">
<p id="grants_table_container" class="datatable">
<#assign tableID = "grant_data_table" />
<#assign tableCaption = "Grants per year" />
<#assign tableActivityColumnName = "Grants" />
<#assign tableCaption = "${i18n().grants_per_year}" />
<#assign tableActivityColumnName = "${i18n().grants_capitalized}" />
<#assign tableContent = egoGrantSparklineVO.yearToActivityCount />
<#assign fileDownloadLink = egoGrantSparklineVO.downloadDataLink />

View file

@ -6,7 +6,7 @@
- personPublicationSparklineContent.ftl, which shows the actual sparkline
- personPublicationCountNoSparkline.ftl, which shows on counts and not the sparkline
The first is the template use with the Wilma theme and the individual--foaf-person.ftl
The first is the template used with the Wilma theme and the individual--foaf-person.ftl
template. The second is used with the individual--foaf-person-2column.ftl template.
-->
<#if shouldVIVOrenderVis>

View file

@ -20,8 +20,8 @@
var onlyUnknownYearPublications = false;
var data = new google.visualization.DataTable();
data.addColumn('string', 'Year');
data.addColumn('number', 'Publications');
data.addColumn('string', '${i18n().year_capitalized}');
data.addColumn('number', '${i18n().publications_capitalized}');
data.addRows(${sparklineVO.yearToEntityCountDataTable?size});
var knownYearPublicationCounts = 0;
@ -59,14 +59,14 @@
var td1Text = totalPublicationCount;
var td2Text = "";
var infoImgText = "<img class='infoIcon' src='" + infoIconSrc + "' height='14px' width='14px' alt='information icon' title='These numbers are based solely on publications that have been loaded into this VIVO application. If this is your profile, you can enter additional publications below.' />";
var infoImgText = "<img class='infoIcon' src='" + infoIconSrc + "' height='14px' width='14px' alt='${i18n().info_icon}' title='${i18n().numbers_based_on_publications_in_vivo}' />";
if ( !onlyUnknownYearPublications ) {
if ( td1Text == tenYearCount ) {
td2Text += "in the last 10 full years " ;
td2Text += "${i18n().last_ten_full_years} " ;
}
else {
td2Text += "<strong>" + tenYearCount + "</strong> in the last 10 full years " ;
td2Text += "<strong>" + tenYearCount + "</strong> ${i18n().last_ten_full_years} " ;
}
if ( tenYearCount < 100 ) {
@ -74,7 +74,7 @@
}
}
else {
td2Text += "total <img class='infoIcon' src='" + infoIconSrc + "' height='14px' width='14px' alt='information icon' title='These numbers are based solely on publications that have been loaded into this VIVO application. If this is your profile, you can enter additional publications below.' />";
td2Text += "total <img class='infoIcon' src='" + infoIconSrc + "' height='14px' width='14px' alt='${i18n().info_icon}' title='${i18n().numbers_based_on_publications_in_vivo}' />";
}
$('#${sparklineContainerID} td#totalPubs').html(td1Text);

View file

@ -22,8 +22,8 @@
var onlyUnknownYearPublications = false;
var data = new google.visualization.DataTable();
data.addColumn('string', 'Year');
data.addColumn('number', 'Publications');
data.addColumn('string', '${i18n().year_capitalized}');
data.addColumn('number', '${i18n().publications_capitalized}');
data.addRows(${sparklineVO.yearToEntityCountDataTable?size});
var knownYearPublicationCounts = 0;
@ -149,20 +149,20 @@
var sparksText = "";
if ( !onlyUnknownYearPublications ) {
$('#${sparklineContainerID} td.sparkline_number').text(totalPubs + " in the last 10 full").attr("class", "grey-text");
$('#${sparklineContainerID} td.sparkline_number').text(totalPubs + " ${i18n().last_ten_full}").attr("class", "grey-text");
sparksText += "years";
sparksText += "${i18n().years}";
if (totalPubs !== totalPublicationCount) {
sparksText += ' (' + totalPublicationCount + ' total)' ;
sparksText += ' (' + totalPublicationCount + ' ${i18n().total})' ;
}
sparksText += "&nbsp;<img class='infoIcon' src='" + infoIconSrc + "' height='16px' width='16px' alt='information icon' title='These numbers are based solely on publications that have been loaded into this VIVO application. If this is your profile, you can enter additional publications below.' />" ;
sparksText += "&nbsp;<img class='infoIcon' src='" + infoIconSrc + "' height='16px' width='16px' alt='${i18n().info_icon}' title='${i18n().numbers_based_on_publications_in_vivo}' />" ;
}
else {
var totalPubs = onlyUnknownYearPublications ? unknownYearPublicationCounts : renderedSparks;
$('#${sparklineContainerID} td.sparkline_number').html(totalPubs + " total <img class='infoIcon' src='" + infoIconSrc + "' height='16px' width='16px' alt='information icon' title='These numbers are based solely on publications that have been loaded into this VIVO application. If this is your profile, you can enter additional publications below.' />").attr("class", "grey-text");
$('#${sparklineContainerID} td.sparkline_number').html(totalPubs + " total <img class='infoIcon' src='" + infoIconSrc + "' height='16px' width='16px' alt='${i18n().info_icon}' title='${i18n().numbers_based_on_publications_in_vivo}' />").attr("class", "grey-text");
}
<#else>
@ -181,22 +181,22 @@
var totalPubs = onlyUnknownYearPublications ? unknownYearPublicationCounts : renderedSparks;
if ( totalPubs == 1 ) {
var pubDisplay = "publication";
var pubDisplay = "${i18n().publication}";
} else {
var pubDisplay = "publications";
var pubDisplay = "${i18n().publications}";
}
$('#${sparklineContainerID} td.sparkline_number').text(totalPubs).attr("class", "grey-text").append("<span style='color: #2485AE;'> "+ pubDisplay +"<br/></span>");
var sparksText = ' from <span class="sparkline_range">${sparklineVO.earliestYearConsidered?c}'
var sparksText = ' ${i18n().from} <span class="sparkline_range">${sparklineVO.earliestYearConsidered?c}'
+ ' to ${sparklineVO.latestRenderedPublicationYear?c}</span>';
if (totalPubs !== totalPublicationCount) {
sparksText += ' (' + totalPublicationCount + ' total)';
sparksText += ' (' + totalPublicationCount + ' ${i18n().total})';
}
if (totalPublicationCount) {
sparksText += ' <br /><a href="${sparklineVO.downloadDataLink}" title="csv file">(.CSV File)</a> ';
sparksText += ' <br /><a href="${sparklineVO.downloadDataLink}" title="csv ${i18n().file}">(.CSV ${i18n().file_capitalized})</a> ';
}
@ -220,7 +220,7 @@
* This is a nuclear option (creating the container in which everything goes)
* the only reason this will be ever used is the API user never submitted a
* container ID in which everything goes. The alternative was to let the
* vis not appear in the calling page at all. So now atleast vis appears but
* vis not appear in the calling page at all. So now at least vis appears but
* appended at the bottom of the body.
* */
@ -280,14 +280,14 @@
<p>
<#assign tableID = "publications_sparkline_data_table" />
<#assign tableCaption = "Publications per year " />
<#assign tableActivityColumnName = "Publications" />
<#assign tableCaption = "${i18n().publications_per_year} " />
<#assign tableActivityColumnName = "${i18n().publications_capitalized}" />
<#assign tableContent = sparklineVO.yearToActivityCount />
<#assign fileDownloadLink = sparklineVO.downloadDataLink />
<#include "yearToActivityCountTable.ftl">
Download data as <a href="${sparklineVO.downloadDataLink}" title="csv download link">.csv</a> file.
${i18n().download_data_as} <a href="${sparklineVO.downloadDataLink}" title="csv ${i18n().download_link}">.csv</a> ${i18n().file}.
<br />
</p>

View file

@ -3,26 +3,19 @@
<#assign shortVisualizationURLRoot ="/vis">
<#assign refreshCacheURL = "${urls.base}${shortVisualizationURLRoot}/refresh-cache">
<h2>Visualization Tools</h2>
<h2>${i18n().visualization_tools}</h2>
<a href="${refreshCacheURL}">Refresh Cached Models for Visualization</a>
<a href="${refreshCacheURL}">${i18n().refresh_cached_vis_model}</a>
<section class="visualizationTools">
<h3>Why is it needed?</h3>
<p>Large-scale visualizations like the Temporal Graph or the Map of Science involve calculating total counts of publications or
of grants for some entity. Since this also means checking through all of its sub-entities, the underlying queries can be both
memory-intensive and time-consuming. For a faster user experience, we wish to save the results of these queries for later re-use.</p>
<h3>${i18n().why_needed}</h3>
<p>${i18n().vis_tools_note_one}</p>
<h3>What's involved in the caching process?</h3>
<p>To this end we have devised a caching solution which will retain information about the hierarchy of organizations -- namely,
which publications are attributed to which organizations -- by storing the RDF model.</p>
<h3>${i18n().vis_caching_process}</h3>
<p>${i18n().vis_tools_note_two}</p>
<p>We're currently caching these models in memory. The cache is built (only once) on the first user request after a server restart.
Because of this, the same model will be served until the next restart. This means that the data in these models may become stale
depending upon when it was last created. This works well enough for now. In future releases we will improve this solution so that
models are stored on disk and periodically updated.</p>
<p>${i18n().vis_tools_note_three}</p>
<p>The models are refreshed each time the server restarts. Since this is not generally practical on production instances,
administrators can instead use the "refresh cache" link above to do this without a restart.</p>
<p>${i18n().vis_tools_note_four}</p>
</section>

View file

@ -2,12 +2,12 @@
<table id='${tableID}'>
<caption>
${tableCaption} <a href="${fileDownloadLink}">(.CSV File)</a>
${tableCaption} <a href="${fileDownloadLink}">(.CSV ${i18n().file_capitalized})</a>
</caption>
<thead>
<tr>
<th>
Year
${i18n().year_capitalized}
</th>
<th>
${tableActivityColumnName}

View file

@ -3,7 +3,8 @@
#
# Default (English)
#
# wilma theme templates (themes/wilma/templates)
#
menu_termuse = Terms of Use
menu_powered = Powered by
menu_about = About
@ -28,20 +29,81 @@ identity_user = user
indiv_foafperson_for = for
indiv_foafperson_return = return to
uri_icon = uri icon
intro_title = Welcome to VIVO
intro_para1 = VIVO is a research-focused discovery tool that enables collaboration among scientists across all disciplines.
intro_para2 = Browse or search information on people, departments, courses, grants, and publications.
intro_para2 = Browse or search information on people, departments, courses, grants, and grants.
intro_searchvivo = Search VIVO
intro_filtersearch = Filter search
#
# List view ("propStatement-") templates
# "partial" individual templates ( /templates/freemarker/body/partials/individual )
#
contact_capitalized = Contact
phone = phone
primary_email = primary email
additional_emails = additional emails
email = email
primary_email_capitalized = Primary Email
additional_emails_capitalized = Additional Emails
contact_info = Contact Info
active_grants_for = Active Grants for
grant_name = Grant Name
close_date = Close Date
no_active_grants = There are currently no active grants for this department.
view_all_active_grants = View all active grants
faculty_who_are_members_of_org = Here are the faculty in the {0} department who are members of this organization.
view_all_faculty = view all faculty
view_all_members_of_org = View all the members of this organization.
faculty_memberships = Faculty Memberships
faculty_with_researh_area = Here are the faculty members in the {0} department who have an interest in this research area.
view_all_faculty_in_area = View all faculty members with an interest in this area.
faculty_research_areas = Faculty Research Areas
research_area = research area
display_more = more
display_less = less
share_the_uri = share the uri
export_qr_codes = Export QR codes
vcard_qr = vCard QR
vcard_qr_code = vCard QR Code
close_capitalized = Close
qr_icon = qr icon
qr_code = QR Code
invalid_qr_code_parameter = You have passed an invalid value for the qrCode display parameter.
research_areas = research areas
publications_in_vivo = Publications in VIVO
grants_in_vivo = grants in VIVO
co_author = co-author
co_authors = co-authors
co_author_network = Co-author Network
map_of_science = map of science
map_of_science_capitalized = Map of Science
co_investigator_network = co-investigator network
co_investigator_network_capitalized = Co-investigator Network
networks = Networks
co_authors_capitalized = Co-authors
temporal_graph = temporal graph
temporal_graph_capitalized = Temporal Graph
websites = Websites
advisee_label = advisee label
candidate = candidate
advisory_label = advisory label
editor_abbreviated = Ed.
volume_abbreviated = Ed.
resource_name = resource name
missing_info_resource = missing information resource
@ -49,14 +111,17 @@ award_receipt_name = award receipt name
award_name = award name
conferred_by = conferred by
incomplete_date_time = incomplete date time
incomplete_date_time_interval = incomplete date/time interval
incomplete_date_time_value = incomplete date/time value
in = in
organization_name = organization name
missing_organization = missing organization
middle_organization = middle organization
concept_name = concept name
at = at
event_name = event name
missing_event = missing event
event_label = event label
@ -93,62 +158,6 @@ link_text = link text
link_name = link name
no_url_provided = no url provided for link
#
# "partial" individual templates ( /templates/freemarker/body/partials/individual )
#
contact_capitalized = Contact
primary_email = primary email
additional_emails = additional emails
email = email
primary_email_capitalized = Primary Email
additional_emails_capitalized = Additional Emails
contact_info = Contact Info
active_grants_for = Active Grants for
grant_name = Grant Name
close_date = Close Date
no_active_grants = There are currently no active grants for this department.
view_all_active_grants = View all active grants
faculty_who_are_members_of_org = Here are the faculty in the {0} department who are members of this organization.
view_all_faculty = view all faculty
view_all_members_of_org = View all the members of this organization.
faculty_memberships = Faculty Memberships
faculty_with_researh_area = Here are the faculty members in the {0} department who have an interest in this research area.
view_all_faculty_in_area = View all faculty members with an interest in this area.
faculty_research_areas = Faculty Research Areas
research_area = research area
display_more = more
display_less = less
share_the_uri = share the uri
export_qr_codes = Export QR codes
vcard_qr_code = vCard QR Code
qr_icon = qr icon
qr_code = QR Code
invalid_qr_code_parameter = You have passed an invalid value for the qrCode display parameter.
research_areas = research areas
publications_in_vivo = Publications in VIVO
co_author = co-author
co_author_network = Co-author Network
map_of_science = map of science
map_of_science_capitalized = Map of Science
co_investigator_network = co-investigator network
co_investigator_network_capitalized = Co-investigator Network
networks = Networks
co_authors = Co-authors
temporal_graph = temporal graph
temporal_graph_capitalized = Temporal Graph
websites = Websites
#
# individual templates ( /templates/freemarker/body/individual )
#
@ -161,3 +170,506 @@ manage_labels = Manage Labels
manage_labels_intro = Multiple labels exist for this profile but there should only be one. Select the label you want displayed on the profile page, and the others will be deleted.
processing_icon = processing
selection_in_process = Your selection is being processed.
for = for
background_top_image = background top image
full_view_icon = full view icon
#
# body templates ( /templates/freemarker/body/ )
#
export_qr_code = Export QR code
more_qr_info = More info on QR codes
what_is_this = What is this?
view_this_profile = View this person's profile
vcard = Vcard
hyperlink = Hyperlink
#
# accounts templates ( /templates/freemarker/body/accounts )
#
congratulations = Congratulations!
we_have_created_your_account = We have created your new {0} account associated with {1}.
did_not_request_text = If you did not request this new account you can safely ignore this email. \
This request will expire if not acted upon for 30 days.
click_to_create_password = Click the link below to create your password for your new account using our secure server.
password = password
if_link_failed = If the link above doesn't work, you can copy and paste the link directly into your browser's address bar.
thanks = Thanks!
paste_the_link = Paste the link below into your browser's address bar to create your password for your new account using our secure server.
#
# harvester templates ( /templates/freemarker/body/harvester )
#
must_be_admin = You must be an administrator to use this tool.
error_no_job_specified = Error: No file harvest job was specified, or an unknown job was specified.
probably_a_bug_so_report = The end user should not see this error under normal circumstances, so this is probably a bug and should be reported.
return_to_ingest_menu = Return to the Data Ingest Tools menu
ingest_menu = Ingest Menu
data_being_harvested = Please wait while your data is harvested.
harvest_complete = Harvest complete. For another, please refresh the page.
error_harvest_cannot_continue = An error has occurred and the file harvest cannot continue.
harvest_error_instructions_one = This is most likely due to an improper Harvester configuration. Please ensure the following:
harvest_error_instructions_two = VIVO Harvester is installed.
the_capitalized = The
harvester_location = harvester.location
harvest_error_instructions_three = property in runtime.properties is pointed to the Harvester installation directory.
harvest_error_instructions_fourA = In VIVO Harvester, the web server user (typically tomcat6) has read and write access to the
harvest_error_instructions_fourB = vivo/
harvest_error_instructions_fourC = directory and all of its children.
harvest_error_instructions_fiveA = In VIVO Harvester, the
harvest_error_instructions_fiveB = logs/
harvest_error_instructions_fiveC = directory exists and the web server user has read and write access to it.
harvest_error_instructions_sixA = In VIVO Harvester, the file
harvest_error_instructions_sixB = vivo/config/vivo.xml
harvest_error_instructions_sixC = is properly configured with your database information and namespace.
step_one = Step 1
download_template = Download template
download = Download
step_two = Step 2
fill_in_data = Fill in data
help_capitalized = Help
fill_in_template_with_data = Fill in the template with your data. You may fill in multiple templates if you wish to harvest multiple files at once.
step_three = Step 3
upload_files = Upload file(s)
upload_completed_templates = Upload your completed template(s).
upload_capitalized = Upload
uploaded_files = Uploaded files
step_four = Step 4
harvest_capitalized = Harvest
click_to_harvest = Click the button to harvest your file(s).
step_five = Step 5
view_results = View results
script_executed = Script being executed
progress_capitalized = Progress
undefined_runtime_property = property in runtime.properties is undefined.
define_value_for_property = In order to use this feature, please define a value for this property that points to the Harvester installation directory before redeploying and restarting the application.
#
# menupage templates ( /templates/freemarker/body/menupage )
#
grants_text_one = This body is from the the template file \
vivo/productMods/templates/freemarker/body/menupage/grants.ftl. \
In the display model, the grants page has a display:requiresBodyTemplate \
property that defines that the grants page overrides the default template. \
The default template for these pages is at /vitro/webapp/web/templates/freemarker/body/menupage/menupage.ftl
grants_two = This technique could be used to define pages without menu items, that get \
their content from a freemarker template. An example would be the about page.
grants_text_three = This would create a page that would use about.ftl as the body. The page would be \
accessed via /about and would override all servlet mappings in web.xml.
#
# lib templates ( /templates/freemarker/body/lib )
#
faculty_capitalized = Faculty
loading_faculty = Loading faculty . . .
research_capitalized = Research
view_all = View all ...
view_all_research = view all research
no_research_content_found = No research content found.
departments = Departments
loading_map_information = Loading map information . . .
verify_match_capitalized = Verify this match
change_selection = change selection
#
# custom form templates ( /templates/freemarker/edit/forms )
#
manage_concepts = Manage Concepts
remove_capitalized = Remove
no_concepts_specified = There are currently no concepts specified.
return_to_profile = Return to Profile Page
external_vocabulary_services = External Vocabulary Services
create_own_concept = Create your own concept
add_selected_concept = Add Selected Concept
cannot_find_concept = Can't find the concept you want? Create your own.
add_concept = Add Concept
attendee_capitalized = Attendee
event_type = event type
attended = attended
manage_authors = Manage Authors
no_linked_author = no linked author
remove_author_link = remove author link
add_author = Add Author
return_to_grant = Return to grant
add_an_author = Add an Author
person_capitalized = Person
organization_capitalized = Organization
middle_name = Middle name
initial_okay = initial okay
selected_author = Selected author
organization_name_capitalized = Organization name
selected_organization = Selected organization
clinical_activity = clinical activity
clinical_activity_type = clinical activity type
year_hint_format = YYYY
collection_series_editor_role = collection or series editor role
editor_role_in = editor role in
edit_wbpage_of = Edit webpage of
add_webpage_for = Add webpage for
add_webpage = Add Web Page
url_type = URL Type
faculty_of_1000 = Faculty of 1000 Link
standard_web_link = Standard Web Link
webpage_name = Webpage Name
investigator_entry_for = investigator entry for
investigator_capitalized = Investigator
principal_investigator_entry_for = principal investigator entry for
co_principal_investigator_entry_for = co-principal investigator entry for
create_capitalized = Create
create_entry = Create Entry
unable_to_handle_position_editing = This form is unable to handle the editing of this position because it is associated with multiple Position individuals.
start_year_must_precede_end = The Start Year must be earlier than the End Year.
end_year_must_be_later = The End Year must be later than the Start Year.
enter_or_select_grant = Please enter or select a value in the Grant Name field.
selected_grant = Selected Grant
years_of_grant_participation = Years of Participation in Grant
leadership = leadership
organization_type = organization type
leadership_role = Leadership Role
membership = membership
membership_in = membership in
organizations = organizations
organizer_of = organizer of
organizer_role = Organizer Role
outreach_comm_service = outreach & community service
outreach_comm_service_in = outreach & community service in
select_or_enter_name = Please select an existing value or enter a new value in the Name field.
enter_new_role_value = Please enter a new value in the Role field.
presentation_entry_for = presentation entry for
presentation_capitalized = Presentation
presentation_type = Presentation Type
role_in = Role in
presentation_hint = e.g., Moderator, Speaker, Panelist
presented_at = Presented At
selected_conference = Selected conference
years_participation_in = Years of Participation in
grant_entry_for = grant entry for
select_existing_pub_or_enter_new = Please select an existing grant in the Title field or enter a new one.
unable_to_handle_grant_editing = This form is unable to handle the editing of this grant because it is associated with multiple grant individuals.
grant_type = grant Type
publication_entry_for = publication entry for
publication_type = Publication Type
selected_publication = Selected Publication
published_in = Published in
selected_journal = Selected Journal
selected_event = Selected Event
proceedings_of = Proceedings of
editor_capitalized = Editor
required_with_last_name = required with new Last name
selected_editor = Selected Editor
publisher_capitalized = Publisher
selected_publisher = Selected Publisher
place_of_grant = Place of grant
volume_capitalized = Volume
number_capitalized = Number
issue_capitalized = Issue
chapter_capitalized = Chapter
start_page = Start Page
end_page = End Page
grant_date = grant Date
selected_book = Selected Book
publication_date = Publication Date
place_of_publication = Place of Publication
research_activity = research activity
research_activity_type = research activity type
reviewer_of = reviewer of
reviewer_role = Reviewer Role
entry_for = entry for
specify_role_for_activity = Please specify a role for this activity.
start_year = Start Year
service_to_profession = service to the profession
service_to_profession_in = service to the profession in
service_provider_role = Service Provider Role
teaching_activity = teaching activity
teaching_activity_type = teaching activity type
teaching_role_hint = e.g., Instructor, Facilitator, Assistant
create_own_concept_all_caps = Create Your Own Concept
concept_capitalized = Concept
selected_concept = Selected Concept
create_concept = Create Concept
return_to+manage_concepts = Return to Manage Concepts
institutional_internal_class = Institutional Internal Class
internal_class_intro_one = This class will be used to designate those individuals internal to your institution.
internal_class_intro_two = This will allow you to limit the individuals displayed on your menu pages (People, Research, etc.) to only those within your institution.
no_local_oncologies = There are currently no recognized local ontologies.
namespace_must_use_this_pattern = In order for a local ontology to be recognized here, its namespace URI must follow this pattern
new_local_oncology = a new local ontology
return_here_to_define_class = and then return here to define the institutional internal class.
select_existing_local_class = Select an existing class from a local extension
cannot_find_class = Can't find an appropriate class?
create_new_class = Create a new class
create_new_one = Create a new one
use_capitals_each_word = use capitals for the first letter of each word
local_namespace = Local Namespace
problematic_section_error = Error: problematic section as above should all have been handled.
new_local_ontology = new local ontology
manage_grants_and_projects = Manage Grants & Projects for
check_grants_to_exclude = Check those grants and projects you want to exclude from the profile page.
manage_affiliated_people = Manage People Affiliated with
check_people_to_exclude = Check those people you want to exclude from the profile page.
manage_grants = Manage grants for
check_pubs_to_exclude = Check those grants you want to exclude from the profile page.
manage_web_pages = Manage Web Pages
has_no_webpages = This individual currently has no web pages specified. Add a new web page by clicking on the button below.
edit_wepage_link = edit web page link
delete_web_page = delete web page link
webpage_url = webpage url
add_new_web_page = Add New Web Page
enable_internal_class_one = To enable this option, you must first select an
enable_internal_class_two = for your instance
internal_class = institutional internal class
only_display = Only display
within_my_institution = within my institution
enter_a_name = Please enter a value in the name field.
enter_last_name = Please enter a Last Name for this person.
enter_first_name = Please enter a First Name for this person.
posn_history_entry_for = position history entry for
enter_posn_title_value = Please enter a value in the Position Title field.
enter_posn_type_value = Please select a value in the Position Type field.
enter_or_select_person_value = Please select an existing value or enter a new value in the Person field.
position_title = Position Title
position_type = Position Type
selected_person = Selected Person
degree_candidacy = Degree Candidacy
subject_area = Subject Area
selected_subject_area = Selected Subject Area
selected_advisee = Selected Advisee
advisee_capitalized = Advisee
advising_relationship_type = Advising Relationship Type
select_advising_relationship_type = Please select an Advising Relationship Type.
advising_relationship_entry_for = advising relationship entry for
years_participating = Years of Participation
award_or_honor_for = award or honor for
select_Award_or_enter_name = Please select an existing value or enter a new value in the Award or Honor Name field.
award_honor_name = Award or Honor Name
select_award = Selected Award
conferred_by_capitalized = Conferred by
selected_conferred = Selected Conferrer
description = Description
year_awarded = Year Awarded
years_inclusive = Years Inclusive
award_hint = (e.g., for multi-year awards)
educational_training_for = educational training entry for
select_organization_type = Please select a value in the Organization Type field.
select_an_organization_name = Please enter or select a value in the Name field.
select_educational_training_value = Please select a value in the Type of Educational Training field.
org_type_capitalized = Organization Type
educational_training_type = Type of Educational Training
dept_or_school_name = Department or School Name within the
degree = Degree
major_field = Major Field of Degree
supplemental_information = Supplemental Information
supplemental_information_hint = (e.g., Thesis title, Transfer info, etc.)
academic_studies_or_other = Academic Studies or Other Training
edit_mailing_address = Edit Mailing Address
create_mailing_address = Create Mailing Address
mailing_address_for = mailing address for
select_a_country = Please select a country.
enter_address1_value = Please enter a value in the Address Line 1 field.
enter_a_city = Please enter a value in the City field.
enter_postal_code = Please enter a value in the Postal Code field.
country = Country
street_Address1 = Street Address 1
street_Address2 = Street Address 2
street_Address3 = Street Address 3
city = City
state = State
postal_code = Postal Code
posn_entry_for = position entry for
#
# coauthorship templates ( /templates/freemarker/visualization/coauthorship )
#
within_last_10_years = within the last 10 years
total = total
from = from
to = to
file = file
file_capitalized = File
view_full_timeline_and_network = View full timeline and co-author network.
download_data_as = Download data as
unique_coauthors_per_year = Unique Co-Authors per year
count_capitalized = Count
#
# copi templates ( /templates/freemarker/visualization/copi )
#
year_capitalized = Year
unique_coinvestigators = Unique co-investigators
co_investigator = co-investigator
co_investigators = co-investigators
unique_coinvestigators_per_year = Unique Co-Investigators per year
view_timeline_copi_network = View full timeline and co-investigator network.
#
# entity comparison templates ( /templates/freemarker/visualization/entitycomparison )
#
parent_organization_of = Parent organization of
temporal_graph_drill_up = temporal graph drill up
how_to_compare = How do you want to compare?
no_view_link = no view link
persistent_link_to_visualization = Persistent link to current visualization
error_notification = error notification
close_me = Close Me
what_to_compare = What do you want to compare?
organizations_capitalized = Organizations
people_capitalized = People
organization_hierarchy_note = Note: the organizations or people listed below are only those which are directly beneath {0} in the organization hierarchy. You may 'drill down' to see the organizations or people below a given sub-organization by selecting the chart icon next to a selected sub-organization's name below the graph on the right.
save_all_as_csv = Save All as CSV
clear_capitalized = Clear
clear_all_selected_entities = Clear all selected entities.
comparing_capitalized = Comparing
of = of
institutions_capitalized = Institutions
info_based_on_vivo_data = This information is based solely on {0} which have been loaded into the VIVO system.
you_have_selected = You have selected
of_a_maximum = of a maximum
schools = schools
legend_capitalized = Legend
with_unknown_year = with unknown year
with_known_year = with known year
from_current_incomplete_year = from current incomplete year
view = view
entity_comp_error_text1 = This organization has neither sub-organizations nor people with
entity_comp_error_text2 = in the system.
entity_comp_error_text3 = Please visit the full
entity_comp_error_text4 = for a more complete overview.
profile_page = profile page
publication = publication
published = published
publications = publications
by_publications = by Publications
publications_capitalized = Publications
grant = grant
granted = granted
grants = grants
by_grants = by Grants
grants_capitalized = Grants
activity = activity
activities = activities
#
# grant visualization templates ( /templates/freemarker/visualization/grant )
#
view_all_grants = view all grants
view_all_grants_text = View all VIVO grants and corresponding co-investigator network.
grant_per_year = Grants per year
link = link
#
# map of science templates ( /templates/freemarker/visualization/mapOfScience )
#
parent_entity = parent entity
map_of_science_icon = map of science icon
entity_label = entity label
explore_activity = Explore activity
explore_capitalized = Explore
across_subdisciplines = across 554 scientific subdisciplines
compare_organizations = Compare organizations
mapped = mapped
save_unmapped_publications = Save Unmapped Publications
map_of_science_visualization = Map of Science Visualization
no_publications_for_this_organization = No publications in the system have been attributed to this organization.
please_visit = Please visit the
for_complete_overview = for a complete overview.
#
# model constructor templates ( /templates/freemarker/visualization/modelconstructor )
#
cached_models_regenerated = The following cached models will be regenerated.
uri_independent_model = URI Independent Model
currently_no_constructed_models = Currently there are no constructed models for use by visualization.
#
# person level templates ( /templates/freemarker/visualization/personlevel)
#
loading_data = loading data
co_investigator_icon = co-investigator icon
co_authorship = co-authorship
currently_no_papers_for = Currently there are no {0} papers for
this_author = this author
in_the_vivo_db = in the VIVO database.
no_papers_for = Currently there are no papers for
profile_capitalized = Profile
vivo_profile = VIVO profile
publication_s_capitalized = Publication(s)
co_author_s_capitalized = Co-author(s)
first_publication = First Publication
last_publication = Last Publication
incomplete_data_note1 = Note: This information is based solely on publications that have been loaded into the VIVO system. This may only be a small sample of the person's total work.
incomplete_data_note2 = Go to your profile page to enter additional details about your publications.
incomplete_data_note3 = Log in to enter additional details about your publications on your profile page.
tables_capitalized = Tables
publications_per_year = Publications per year
investigator_name = investigator name
co_author_icon = co-author icon
currently_no_grants_for = Currently there are no {0} grants for
this_investigator = this investigator
no_grants_for = Currently there are no grants for
grant_s_capitalized = Grant(s)
co_investigator_s_capitalized = Co-investigator(s)
first_grant = First Grant
last_grant = Last Grant
incomplete_grant_data_note1 = Note: This information is based solely on grants that have been loaded into the VIVO system. This may only be a small sample of the person's total work.
incomplete_grant_data_note2 = Go to your profile page to enter additional details about your grants.
incomplete_grant_data_note3 = Log in to enter additional details about your grants on your profile page.
grants_per_year = Grants per year
grant_info_for_all_years = The information in the following tables is for all years.
grant_sparkline_note = The spark lines shown above reflect grants through the last complete calendar year. These tables, however, show the grant information for all years, based on the information loaded in the VIVO system.
#
# publication templates ( /templates/freemarker/visualization/publication)
#
numbers_based_on_publications_in_vivo = These numbers are based solely on publications that have been loaded into this VIVO application. If this is your profile, you can enter additional publications below.
last_ten_full_years = in the last 10 full years
last_ten_full = in the last 10 full
download_link = download link
years = years
#
# miscellaneous visualization templates ( /templates/freemarker/visualization)
#
visualization_tools = Visualization Tools
refresh_cached_vis_models = Refresh Cached Models for Visualization
why_needed = Why is it needed?
vis_tools_note_one = Large-scale visualizations like the Temporal Graph or the Map of Science involve calculating total counts of publications or of grants for some entity. Since this also means checking through all of its sub-entities, the underlying queries can be both memory-intensive and time-consuming. For a faster user experience, we wish to save the results of these queries for later re-use.
vis_caching_process = What's involved in the caching process?
vis_tools_note_two = To this end we have devised a caching solution which will retain information about the hierarchy of organizations -- namely, which publications are attributed to which organizations -- by storing the RDF model.
vis_tools_note_three = We're currently caching these models in memory. The cache is built (only once) on the first user request after a server restart. Because of this, the same model will be served until the next restart. This means that the data in these models may become stale depending upon when it was last created. This works well enough for now. In future releases we will improve this solution so that models are stored on disk and periodically updated.
vis_tools_note_four = The models are refreshed each time the server restarts. Since this is not generally practical on production instances, administrators can instead use the "refresh cache" link above to do this without a restart.

View file

@ -13,7 +13,7 @@
</#if>
| <a class="terms" href="${urls.termsOfUse}" title="${i18n().menu_termuse}">${i18n().menu_termuse}</a></small> |
</#if>
${i18n().menu_powered} <a class="powered-by-vivo" href="http://vivoweb.org" target="_blank" title="${i18n().menu_powered} VIVO"><strong>VIVO</strong></a>
${i18n().menu_powered} <a class="powered-by-vivo" href="http://vivoweb.org" target="_blank" title="${i18n().menu_powered} VIVO"><strong>VIVO}</strong></a>
<#if user.hasRevisionInfoAccess>
| ${i18n().menu_version} <a href="${version.moreInfoUrl}" title="${i18n().menu_version}">${version.label}</a>
</#if>

View file

@ -32,7 +32,7 @@
<!-- Contact Info -->
<div id="individual-tools-people">
<span id="iconControlsLeftSide">
<img id="uriIcon" title="${individual.uri}" src="${urls.images}/individual/uriIcon.gif" alt="uri icon"/>
<img id="uriIcon" title="${individual.uri}" src="${urls.images}/individual/uriIcon.gif" alt="${i18n().uri_icon}"/>
<@qr.renderCode "qr_icon.png" />
</span>
</div>
@ -50,8 +50,8 @@
<header>
<#if relatedSubject??>
<h2>${relatedSubject.relatingPredicateDomainPublic} ${i18n.indiv_foafperson_for} ${relatedSubject.name}</h2>
<p><a href="${relatedSubject.url}" title="${i18n.indiv_foafperson_return}">&larr; ${i18n.indiv_foafperson_return} ${relatedSubject.name}</a></p>
<h2>${relatedSubject.relatingPredicateDomainPublic} ${i18n().indiv_foafperson_for} ${relatedSubject.name}</h2>
<p><a href="${relatedSubject.url}" title="${i18n().indiv_foafperson_return}">&larr; ${i18n().indiv_foafperson_return} ${relatedSubject.name}</a></p>
<#else>
<h1 class="vcard foaf-person">
<#-- Label -->

View file

@ -35,17 +35,17 @@
<h2>${i18n().intro_title}</h2>
<p>${i18n().intro_para1}</p>
<p>${i18n().intro_para2}Browse or search information on people, departments, courses, grants, and publications.</p>
<p>${i18n().intro_para2}</p>
<section id="search-home" role="region">
<h3>${i18n().intro_searchvivo} <span class="search-filter-selected">filteredSearch</span></h3>
<fieldset>
<legend>Search form</legend>
<legend>${i18n().search_form}</legend>
<form id="search-homepage" action="${urls.search}" name="search-home" role="search" method="post" >
<div id="search-home-field">
<input type="text" name="querytext" class="search-homepage" value="" autocapitalize="off" />
<input type="submit" value="Search" class="search" />
<input type="submit" value="${i18n().search_button}" class="search" />
<input type="hidden" name="classgroup" class="search-homepage" value="" autocapitalize="off" />
</div>
@ -54,7 +54,7 @@
</a>
<ul id="filter-search-nav">
<li><a class="active" href="">All</a></li>
<li><a class="active" href="">${i18n().all_capitalized}</a></li>
<@lh.allClassGroupNames vClassGroups! />
</ul>
</form>

View file

@ -13,12 +13,12 @@
<section id="search" role="region">
<fieldset>
<legend>Search form</legend>
<legend>${i18n().search_form}</legend>
<form id="search-form" action="${urls.search}" name="search" role="search" accept-charset="UTF-8" method="POST">
<div id="search-field">
<input type="text" name="querytext" class="search-vivo" value="${querytext!}" autocapitalize="off" />
<input type="submit" value="Search" class="search">
<input type="submit" value="${i18n().search_button}" class="search">
</div>
</form>
</fieldset>