more template updates for i18n
This commit is contained in:
parent
e937d9d0a0
commit
fe1b52ab49
80 changed files with 1517 additions and 913 deletions
|
@ -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>| </span>
|
||||
<a id="subject-parent-entity-profile-url" href="#" title="Parent organization of ${organizationLabel}"></a>
|
||||
<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>| </span>
|
||||
<a id="subject-parent-entity-profile-url" href="#" title="${i18n().parent_organization_of} ${organizationLabel}"></a>
|
||||
<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>#{title}</h1>
|
||||
<p>#{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>#{title}</h1>
|
||||
<p>#{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>
|
||||
<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"> </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"> </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"> </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"> </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"> </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"> </span> <span id="legend-current-year-bar-text">${currentParameterObject.name} ${i18n().from_current_incomplete_year}</span>
|
||||
</div>
|
||||
</div>
|
|
@ -15,13 +15,13 @@
|
|||
|
||||
<h1 id="noPubsOrGrants-header">${organizationLabel}</h1>
|
||||
|
||||
<h3 id="alternative-vis-info">${textForCurrentEntityComparisonType?capitalize} Temporal Graph
|
||||
<span id="noPubsOrGrants-span">| <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">| <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>
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue