more template updates for i18n
This commit is contained in:
parent
e937d9d0a0
commit
fe1b52ab49
80 changed files with 1517 additions and 913 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
|
@ -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>
|
||||
<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>
|
||||
<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>#{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>
|
||||
|
@ -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>
|
||||
|
||||
|
|
|
@ -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 -->
|
|
@ -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 -->
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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"> </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>
|
||||
<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>
|
||||
<span class="author_stats_text">Co-author(s)</span></div>
|
||||
<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> <span>First Publication</span></div>
|
||||
<span class="numbers" style="width:40px;" id="firstPublication"></span> <span>${i18n().first_publication}</span></div>
|
||||
<div class="author_stats" id="lPub" style="visibility:hidden"><span class="numbers" style="width:40px;" id="lastPublication"></span>
|
||||
<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>
|
||||
<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 />
|
||||
|
||||
|
|
|
@ -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>
|
||||
<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>
|
||||
<span class="investigator_stats_text">Co-investigator(s)</span></div>
|
||||
<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> <span>First Grant</span></div>
|
||||
<span class="numbers" style="width:40px;" id="firstGrant"></span> <span>${i18n().first_grant}</span></div>
|
||||
<div class="investigator_stats" id="lGrant" style="visibility:hidden"><span class="numbers" style="width:40px;" id="lastGrant"></span>
|
||||
<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>
|
||||
<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. <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} <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 />
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 += " <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 += " <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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue