NIHVIVO-2595 adding title attribute to anchor tags

This commit is contained in:
tworrall 2011-11-30 20:28:44 +00:00
parent 99a44e13a2
commit fe4cf5d7c7
11 changed files with 39 additions and 39 deletions

View file

@ -193,7 +193,7 @@
} }
if (totalPublicationCount) { if (totalPublicationCount) {
sparksText += ' <br /><a href="${sparklineVO.downloadDataLink}">(.CSV File)</a> '; sparksText += ' <br /><a href="${sparklineVO.downloadDataLink}" title="csv file">(.CSV File)</a> ';
} }
</#if> </#if>
@ -271,7 +271,7 @@
<#if sparklineVO.shortVisMode> <#if sparklineVO.shortVisMode>
<#--<span class="vis_link">--> <#--<span class="vis_link">-->
<p><a class="all-vivo-publications" href="${sparklineVO.fullTimelineNetworkLink}">View full timeline and co-author network.</a></p> <p><a class="all-vivo-publications" href="${sparklineVO.fullTimelineNetworkLink}" title="view full timeline">View full timeline and co-author network.</a></p>
<#--</span>--> <#--</span>-->
<#else> <#else>
<!-- For Full Sparkline - Print the Table of Couauthor Counts per Year --> <!-- For Full Sparkline - Print the Table of Couauthor Counts per Year -->
@ -287,7 +287,7 @@
<#include "yearToActivityCountTable.ftl"> <#include "yearToActivityCountTable.ftl">
Download data as <a href="${sparklineVO.downloadDataLink}">.csv</a> file. Download data as <a href="${sparklineVO.downloadDataLink}" title="csv download">.csv</a> file.
<br /> <br />
</p> </p>

View file

@ -196,7 +196,7 @@
} }
if (totalGrantCount) { if (totalGrantCount) {
sparksText += '<br /> <a href="${sparklineVO.downloadDataLink}">(.CSV File)</a> '; sparksText += '<br /> <a href="${sparklineVO.downloadDataLink}" title="csv file">(.CSV File)</a> ';
} }
</#if> </#if>
@ -275,7 +275,7 @@
<#if sparklineVO.shortVisMode> <#if sparklineVO.shortVisMode>
<#--<span class="vis_link">--> <#--<span class="vis_link">-->
<p><a class="all-vivo-grants" href="${sparklineVO.fullTimelineNetworkLink}">View full timeline and co-investigator network.</a></p> <p><a class="all-vivo-grants" href="${sparklineVO.fullTimelineNetworkLink}" title="view full timeline">View full timeline and co-investigator network.</a></p>
<#--</span>--> <#--</span>-->
<#else> <#else>
<!-- For Full Sparkline - Print the Table of CoInvestigator Counts per Year --> <!-- For Full Sparkline - Print the Table of CoInvestigator Counts per Year -->
@ -290,7 +290,7 @@
<#include "yearToActivityCountTable.ftl"> <#include "yearToActivityCountTable.ftl">
Download data as <a href="${sparklineVO.downloadDataLink}">.csv</a> file. Download data as <a href="${sparklineVO.downloadDataLink}" title="csv link">.csv</a> file.
<br /> <br />
</p> </p>

View file

@ -88,7 +88,7 @@ $(document).ready(function() {
<h2 id="ajax_activator">Hello World!</h2> <h2 id="ajax_activator">Hello World!</h2>
<a href="${testURL}">vis query for person -> "Crane, Brian"</a> <a href="${testURL}" title="query">vis query for person -> "Crane, Brian"</a>
<div id="ajax_recipient">iioio</div> <div id="ajax_recipient">iioio</div>

View file

@ -4,10 +4,10 @@
<h2 id="header-entity-label"><span><a id="organizationMoniker" href="${organizationVivoProfileURL}">${organizationLabel}</a></span> <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> <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-profile-url" href="#" title="Parent organization of ${organizationLabel}"></a>&nbsp;
<a id="subject-parent-entity-temporal-url" href="#"><img src="${temporalGraphDrillUpIcon}" width="15px" height="15px"/></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> </span></h2><br>
<div id="leftblock"> <div id="leftblock">
@ -46,7 +46,7 @@
<div id="notification-container" style="display:none"> <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;"> <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="#"><span class="ui-icon ui-icon-close" style="float:right"></span></a> <a class="ui-notify-close" href="#" title="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> <span style="float:left; margin:0 5px 0 0;" class="ui-icon ui-icon-alert"></span>
<h1>&#035;{title}</h1> <h1>&#035;{title}</h1>
<p>&#035;{text}</p> <p>&#035;{text}</p>
@ -54,7 +54,7 @@
</div> </div>
<div id="warning-notification" class="ui-state-highlight ui-corner-all" > <div id="warning-notification" class="ui-state-highlight ui-corner-all" >
<a class="ui-notify-close ui-notify-cross" href="#">x</a> <a class="ui-notify-close ui-notify-cross" href="#" title="error notification">x</a>
<span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span> <span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span>
<h1>&#035;{title}</h1> <h1>&#035;{title}</h1>
<p>&#035;{text}</p> <p>&#035;{text}</p>
@ -72,7 +72,7 @@
<div id="paginatedTable"></div> <div id="paginatedTable"></div>
<div id="paginated-table-footer"> <div id="paginated-table-footer">
<a id="csv" href="${temporalGraphDownloadFileLink}" class="temporalGraphLinks">Save All as CSV</a> <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 class="clear-selected-entities temporalGraphLinks" title="Clear all selected entities.">Clear</a>
</div> </div>
</div> </div>

View file

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

View file

@ -190,7 +190,7 @@
} }
if (totalGrantCount) { if (totalGrantCount) {
sparksText += '<br /> <a href="${sparklineVO.downloadDataLink}" >(.CSV File)</a> '; sparksText += '<br /> <a href="${sparklineVO.downloadDataLink}" title="csv file">(.CSV File)</a> ';
} }
</#if> </#if>
@ -265,7 +265,7 @@
<#if sparklineVO.shortVisMode> <#if sparklineVO.shortVisMode>
<#--<span class="vis_link">--> <#--<span class="vis_link">-->
<p><a class="all-vivo-grants" href="${sparklineVO.fullTimelineNetworkLink}">View all VIVO grants and corresponding co-investigator network.</a></p> <p><a class="all-vivo-grants" href="${sparklineVO.fullTimelineNetworkLink}" title="view all grants">View all VIVO grants and corresponding co-investigator network.</a></p>
<#--</span>--> <#--</span>-->
<#else> <#else>
<!-- For Full Sparkline - Print the Table of Grant Counts per Year --> <!-- For Full Sparkline - Print the Table of Grant Counts per Year -->
@ -280,7 +280,7 @@
<#include "yearToActivityCountTable.ftl"> <#include "yearToActivityCountTable.ftl">
Download data as <a href="${sparklineVO.downloadDataLink}">.csv</a> file. Download data as <a href="${sparklineVO.downloadDataLink}" title="csv link">.csv</a> file.
<br /> <br />
</p> </p>

View file

@ -10,12 +10,12 @@ corresponding changes in the included Templates. -->
<#-- <#--
<div id="subject-parent-entity" class="hide-dom-on-init"> <div id="subject-parent-entity" class="hide-dom-on-init">
<a id="subject-parent-entity-profile-url" href="#"></a>&nbsp; <a id="subject-parent-entity-profile-url" href="#" title="parent entity"></a>&nbsp;
<a id="subject-parent-entity-temporal-url" href="#"><img src="${mapOfScienceIcon}" width="15px" height="15px"/></a> <a id="subject-parent-entity-temporal-url" href="#" title="map of science"><img src="${mapOfScienceIcon}" width="15px" height="15px"/></a>
</div> </div>
--> -->
<h2 id="header-entity-label" class="hide-dom-on-init"><span><a id="entityMoniker" href="${entityVivoProfileURL}">${entityLabel}</a></span></h2> <h2 id="header-entity-label" class="hide-dom-on-init"><span><a id="entityMoniker" href="${entityVivoProfileURL}" title="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"> Explore activity (<span id="mapped-publications" style="font-weight: bold"></span> publications) across 554 scientific subdisciplines
<img class="filterInfoIcon" id="imageIconOne" src="${urls.images}/iconInfo.png" <img class="filterInfoIcon" id="imageIconOne" src="${urls.images}/iconInfo.png"
@ -26,7 +26,7 @@ corresponding changes in the included Templates. -->
<div id="left-column" class="hide-dom-on-init"> <div id="left-column" class="hide-dom-on-init">
<div id="notification-container" style="display:none"> <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;"> <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="#"><span class="ui-icon ui-icon-close" style="float:right"></span></a> <a class="ui-notify-close" href="#" title="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> <span style="float:left; margin:0 5px 0 0;" class="ui-icon ui-icon-alert"></span>
<h1>&#035;{title}</h1> <h1>&#035;{title}</h1>
<p>&#035;{text}</p> <p>&#035;{text}</p>
@ -34,7 +34,7 @@ corresponding changes in the included Templates. -->
</div> </div>
<div id="warning-notification" class="ui-state-highlight ui-corner-all" > <div id="warning-notification" class="ui-state-highlight ui-corner-all" >
<a class="ui-notify-close ui-notify-cross" href="#">x</a> <a class="ui-notify-close ui-notify-cross" href="#" title="error notification">x</a>
<span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span> <span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span>
<h1>&#035;{title}</h1> <h1>&#035;{title}</h1>
<p>&#035;{text}</p> <p>&#035;{text}</p>
@ -62,7 +62,7 @@ corresponding changes in the included Templates. -->
<img class="filterInfoIcon" id="imageIconThree" src="${urls.images}/iconInfo.png" alt="information icon" title="" /> <img class="filterInfoIcon" id="imageIconThree" src="${urls.images}/iconInfo.png" alt="information icon" title="" />
<div id="download-unlocated-journal-info"> <div id="download-unlocated-journal-info">
<a href="${entityMapOfScienceUnlocatedJournalsCSVURL}">Save Unmapped Publications</a> <a href="${entityMapOfScienceUnlocatedJournalsCSVURL}" title="save unmapped publications">Save Unmapped Publications</a>
</div> </div>
</div> </div>
<br /> <br />

View file

@ -16,7 +16,7 @@
<#else> <#else>
<a href="${urls.base}/individual?uri=${model.uri?url}">${model.individualLabel}</a> <a href="${urls.base}/individual?uri=${model.uri?url}" title="label">${model.individualLabel}</a>
</#if> </#if>
<span class="display-title">${model.humanReadableType}</span> <span class="display-title">${model.humanReadableType}</span>

View file

@ -118,7 +118,7 @@ $(document).ready(function(){
<div id="ego_profile"> <div id="ego_profile">
<#-- Label --> <#-- Label -->
<h2><a href="${egoVivoProfileURL}"><span id="ego_label" class="author_name"></span></a></h2> <h2><a href="${egoVivoProfileURL}" title="author name"><span id="ego_label" class="author_name"></span></a></h2>
<#-- Moniker--> <#-- Moniker-->
<em id="ego_moniker" class="moniker"></em> <em id="ego_moniker" class="moniker"></em>
@ -127,9 +127,9 @@ $(document).ready(function(){
<div class = "toggle_visualization"> <div class = "toggle_visualization">
<div id="coinvestigator_link_container" class="collaboratorship-link-container"> <div id="coinvestigator_link_container" class="collaboratorship-link-container">
<div class="collaboratorship-icon"><a href="${coprincipalinvestigatorURL}"><img src="${coInvestigatorIcon}" /></a></div> <div class="collaboratorship-icon"><a href="${coprincipalinvestigatorURL}" title="co-investigator"><img src="${coInvestigatorIcon}" /></a></div>
<div class="collaboratorship-link"> <div class="collaboratorship-link">
<h3><a href="${coprincipalinvestigatorURL}">Co-Investigator Network</a></h3> <h3><a href="${coprincipalinvestigatorURL}" title="co-investigator">Co-Investigator Network</a></h3>
</div> </div>
</div> </div>
</div> </div>
@ -149,7 +149,7 @@ $(document).ready(function(){
</#if> </#if>
<div id="no_coauthorships">Currently there are no ${authorsText!} papers for <div id="no_coauthorships">Currently there are no ${authorsText!} papers for
<a href="${egoVivoProfileURL}"><span id="no_coauthorships_person" class="author_name">this author</span></a> <a href="${egoVivoProfileURL}" title="co-authorship"><span id="no_coauthorships_person" class="author_name">this author</span></a>
in the VIVO database. in the VIVO database.
</div> </div>
</#if> </#if>
@ -157,7 +157,7 @@ $(document).ready(function(){
<#else> <#else>
<span id="no_coauthorships">Currently there are no papers for <span id="no_coauthorships">Currently there are no papers for
<a href="${egoVivoProfileURL}"><span id="no_coauthorships_person" class="author_name">this author</span></a> in the <a href="${egoVivoProfileURL}" title="co-authorship"><span id="no_coauthorships_person" class="author_name">this author</span></a> in the
VIVO database. VIVO database.
</span> </span>
@ -182,7 +182,7 @@ $(document).ready(function(){
<h4><span id="authorName" class="neutral_author_name">&nbsp;</span></h4> <h4><span id="authorName" class="neutral_author_name">&nbsp;</span></h4>
<em id="profileMoniker" class="moniker"></em> <em id="profileMoniker" class="moniker"></em>
<div id="profile-links"><a href="#" id="profileUrl">VIVO profile</a></div> <div id="profile-links"><a href="#" id="profileUrl" title="VIVO profile">VIVO profile</a></div>
<div class="author_stats" id="num_works"><span class="numbers" style="width: 40px;" id="works"></span>&nbsp;&nbsp; <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">Publication(s)</span></div>

View file

@ -117,7 +117,7 @@ $(document).ready(function(){
<div id="ego_profile"> <div id="ego_profile">
<#-- Label --> <#-- Label -->
<h2><a href="${egoVivoProfileURL}"><span id="ego_label" class="investigator_name"></span></a></h2> <h2><a href="${egoVivoProfileURL}" title="investigator name"><span id="ego_label" class="investigator_name"></span></a></h2>
<#-- Moniker--> <#-- Moniker-->
<em id="ego_moniker" class="moniker"></em> <em id="ego_moniker" class="moniker"></em>
@ -126,9 +126,9 @@ $(document).ready(function(){
<div class = "toggle_visualization"> <div class = "toggle_visualization">
<div id="coauthorship_link_container" class="collaboratorship-link-container"> <div id="coauthorship_link_container" class="collaboratorship-link-container">
<div class="collaboratorship-icon"><a href="${coauthorshipURL}"><img src="${coInvestigatorIcon}" /></a></div> <div class="collaboratorship-icon"><a href="${coauthorshipURL}" title="co-investigator"><img src="${coInvestigatorIcon}" /></a></div>
<div class="collaboratorship-link"> <div class="collaboratorship-link">
<h3><a href="${coauthorshipURL}">Co-Investigator Network</a></h3> <h3><a href="${coauthorshipURL}" title="co-investigator network">Co-Investigator Network</a></h3>
</div> </div>
</div> </div>
</div> </div>
@ -140,7 +140,7 @@ $(document).ready(function(){
<div class="sub_headings"><h3 >Co-Investigator Network </h3></div> <div class="sub_headings"><h3 >Co-Investigator Network </h3></div>
<#if (numOfCoInvestigations?? && numOfCoInvestigations > 0) || (numOfInvestigators?? && numOfInvestigators > 0) > <#if (numOfCoInvestigations?? && numOfCoInvestigations > 0) || (numOfInvestigators?? && numOfInvestigators > 0) >
<div class = "graphml-file-link"><a href="${egoCoInvestigationNetworkDataFileURL}">(GraphML File)</a></div> <div class = "graphml-file-link"><a href="${egoCoInvestigationNetworkDataFileURL}" title="co-investigator">(GraphML File)</a></div>
<#else> <#else>
<#if numOfInvestigators?? && numOfInvestigators <= 0 > <#if numOfInvestigators?? && numOfInvestigators <= 0 >
@ -148,7 +148,7 @@ $(document).ready(function(){
</#if> </#if>
<span id="no_coinvestigations">Currently there are no ${investigatorsText!} grants for <span id="no_coinvestigations">Currently there are no ${investigatorsText!} grants for
<a href="${egoVivoProfileURL}"><span id="no_coinvestigations_person" class="investigator_name">this investigator</span></a> <a href="${egoVivoProfileURL}" title="investigator name"><span id="no_coinvestigations_person" class="investigator_name">this investigator</span></a>
in the VIVO database. in the VIVO database.
</span> </span>
</#if> </#if>
@ -156,7 +156,7 @@ $(document).ready(function(){
<#else> <#else>
<span id="no_coinvestigations">Currently there are no grants for <span id="no_coinvestigations">Currently there are no grants for
<a href="${egoVivoProfileURL}"><span id="no_coinvestigations_person" class="investigator_name">this investigator</span></a> in the <a href="${egoVivoProfileURL}" title="co-investigator"><span id="no_coinvestigations_person" class="investigator_name">this investigator</span></a> in the
VIVO database. VIVO database.
</span> </span>
@ -182,7 +182,7 @@ $(document).ready(function(){
<em id="profileMoniker" class="moniker"></em> <em id="profileMoniker" class="moniker"></em>
<div id="profile-links"><a href="#" id="profileUrl">VIVO profile</a></div> <div id="profile-links"><a href="#" id="profileUrl" title="VIVO profile">VIVO profile</a></div>
<div class="investigator_stats" id="num_works"><span class="numbers" style="width: 40px;" id="works"></span>&nbsp;&nbsp; <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">Grant(s)</span></div>

View file

@ -187,7 +187,7 @@
} }
if (totalPublicationCount) { if (totalPublicationCount) {
sparksText += ' <br /><a href="${sparklineVO.downloadDataLink}">(.CSV File)</a> '; sparksText += ' <br /><a href="${sparklineVO.downloadDataLink}" title="csv file">(.CSV File)</a> ';
} }
</#if> </#if>
@ -278,7 +278,7 @@
<#include "yearToActivityCountTable.ftl"> <#include "yearToActivityCountTable.ftl">
Download data as <a href="${sparklineVO.downloadDataLink}">.csv</a> file. Download data as <a href="${sparklineVO.downloadDataLink}" title="csv download link">.csv</a> file.
<br /> <br />
</p> </p>