NIHVIVO-2595 adding title attribute to anchor tags

This commit is contained in:
tworrall 2011-11-30 20:08:51 +00:00
parent eb61b25b7a
commit 99a44e13a2
28 changed files with 60 additions and 60 deletions

View file

@ -50,11 +50,11 @@
</header>
<ul role="list">
<li role="listitem"><a href="#"><img class="co-author" src="" /></a></li>
<li role="listitem"><a href="#"><img class="co-author" src="" /></a></li>
<li role="listitem"><a href="#" title="co-author image"><img class="co-author" src="" /></a></li>
<li role="listitem"><a href="#" title="co-author image"><img class="co-author" src="" /></a></li>
</ul>
<p class="view-all-coauthors"><a class="view-all-style" href="#">View All <img src="${urls.images}/arrowIcon.gif" alt="arrow icon" /></a></p>
<p class="view-all-coauthors"><a class="view-all-style" href="#" title="view all">View All <img src="${urls.images}/arrowIcon.gif" alt="arrow icon" /></a></p>
</section>
-->
@ -63,7 +63,7 @@
<header>
<#if relatedSubject??>
<h2>${relatedSubject.relatingPredicateDomainPublic} for ${relatedSubject.name}</h2>
<p><a href="${relatedSubject.url}">&larr; return to ${relatedSubject.name}</a></p>
<p><a href="${relatedSubject.url}" title="return to">&larr; return to ${relatedSubject.name}</a></p>
<#else>
<h1 class="vcard foaf-person">
<#-- Label -->

View file

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

View file

@ -40,7 +40,7 @@
<#list email.statements as statement>
<li role="listitem">
<img class ="icon-email middle" src="${urls.images}/individual/emailIcon.gif" alt="email icon" />
<a class="email" href="mailto:${statement.value}">${statement.value}</a>
<a class="email" href="mailto:${statement.value}" title="email">${statement.value}</a>
<@p.editingLinks "${email.localName}" statement editable />
</li>
</#list>

View file

@ -28,15 +28,15 @@
<#macro renderCode display="icon" width="125">
<#if hasValidVCard()>
<#local qrData = individual.qrData()>
<#local qrCodeLinkedImage><a title="Export QR codes" href="${qrData.exportQrCodeUrl}"><@qrCodeVCard qrCodeWidth=width /></a></#local>
<#local qrCodeLinkedImage><a title="Export QR codes" href="${qrData.exportQrCodeUrl}" title="QR Code"><@qrCodeVCard qrCodeWidth=width /></a></#local>
<#if (display == "full")>
<h5 class="qrCode">vCard QR</h5>
${qrCodeLinkedImage}
<#elseif (display == "icon")>
<li role="listitem">
<a id="qrIcon" title="vCard QR Code" href="${qrData.exportQrCodeUrl}"><img class="middle" src="${urls.images}/individual/qr_icon.png" alt="qr icon" /></a>
<span id="qrCodeImage" class="hidden">${qrCodeLinkedImage} <a class="qrCloseLink" href="#">Close</a></span>
<a id="qrIcon" title="vCard QR Code" href="${qrData.exportQrCodeUrl}" title="QR Code"><img class="middle" src="${urls.images}/individual/qr_icon.png" alt="qr icon" /></a>
<span id="qrCodeImage" class="hidden">${qrCodeLinkedImage} <a class="qrCloseLink" href="#" title="QR Code">Close</a></span>
</li>
<#else>
<p class="notice">You have passed an invalid value for the qrCode display parameter.</p>

View file

@ -32,18 +32,18 @@
<div id="coauthorship_link_container" class="collaboratorship-link-container">
<div class="collaboratorship-icon">
<a href="${coAuthorVisUrl}"><img src="${coAuthorIcon}" alt="Co-author network icon" width="30px" height="30px" /></a>
<a href="${coAuthorVisUrl}" title="co-author"><img src="${coAuthorIcon}" alt="Co-author network icon" width="30px" height="30px" /></a>
</div>
<div class="collaboratorship-link"><a href="${coAuthorVisUrl}">Co-Author Network</a></div>
<div class="collaboratorship-link"><a href="${coAuthorVisUrl}" title="co-author network">Co-Author Network</a></div>
</div>
<div class="collaboratorship-link-separator"></div>
<div id="mapofscience_link_container" class="collaboratorship-link-container">
<div class="collaboratorship-icon">
<a href="${mapOfScienceVisUrl}"><img src="${mapOfScienceIcon}" alt="Map Of Science icon" width="30px" height="30px" /></a>
<a href="${mapOfScienceVisUrl}" title="map of science"><img src="${mapOfScienceIcon}" alt="Map Of Science icon" width="30px" height="30px" /></a>
</div>
<div class="collaboratorship-link"><a href="${mapOfScienceVisUrl}">Map Of Science</a></div>
<div class="collaboratorship-link"><a href="${mapOfScienceVisUrl}" title="map of science">Map Of Science</a></div>
</div>
${scripts.add('<script type="text/javascript" src="${googleJSAPI}"></script>',
@ -66,9 +66,9 @@
<div id="coinvestigator_link_container" class="collaboratorship-link-container">
<div class="collaboratorship-icon">
<a href="${coInvestigatorVisUrl}"><img src="${coInvestigatorIcon}" alt="Co-investigator network icon" width="30px" height="30px" /></a>
<a href="${coInvestigatorVisUrl}" title="co-investigator network"><img src="${coInvestigatorIcon}" alt="Co-investigator network icon" width="30px" height="30px" /></a>
</div>
<div class="collaboratorship-link"><a href="${coInvestigatorVisUrl}">Co-Investigator Network</a></div>
<div class="collaboratorship-link"><a href="${coInvestigatorVisUrl}" title="co-investigator network">Co-Investigator Network</a></div>
</div>
</#if>
</section>

View file

@ -3,5 +3,5 @@
<#-- Map Of Science visualization -->
<div id="map-of-science">
<h3><img src="${urls.images}/visualization/mapofscience/scimap_icon.png" width="25px" height="25px" /><a href="${individual.mapOfScienceUrl()}">Map of Science</a></h3>
<h3><img src="${urls.images}/visualization/mapofscience/scimap_icon.png" width="25px" height="25px" /><a href="${individual.mapOfScienceUrl()}" title="map of science">Map of Science</a></h3>
</div>

View file

@ -3,5 +3,5 @@
<#-- Temporal graph visualization -->
<div id="temporal-graph">
<h3><img src="${urls.images}/visualization/temporalgraph/temporal_graph_icon.png" width="25px" height="25px" /><a href="${individual.temporalGraphUrl()}">Temporal Graph</a></h3>
<h3><img src="${urls.images}/visualization/temporalgraph/temporal_graph_icon.png" width="25px" height="25px" /><a href="${individual.temporalGraphUrl()}" title="temporal graph">Temporal Graph</a></h3>
</div>

View file

@ -15,13 +15,13 @@
an rdfs:label. So check to see if there's an advisee first. If not, just display the label. -->
<#local linkedIndividual>
<#if statement.advisee??>
<a href="${profileUrl(statement.advisee)}">${statement.adviseeLabel!}</a>,
<a href="${profileUrl(statement.advisee)}" title="advisee label">${statement.adviseeLabel!}</a>,
<#if statement.degreeLabel??>
${statement.degreeAbbr!statement.degreeLabel!}
<#if statement.dateTimeStart??>&nbsp;candidate,<#else>&nbsp;candidate</#if>
</#if>
<#elseif statement.advisoryLabel??>
<a href="${profileUrl(statement.advisory)}">${statement.advisoryLabel!statement.localName}</a>
<a href="${profileUrl(statement.advisory)}" title="advisory label">${statement.advisoryLabel!statement.localName}</a>
</#if>
</#local>

View file

@ -16,10 +16,10 @@
<#macro showAuthorship statement>
<#local resourceTitle>
<#if statement.infoResource??>
<a href="${profileUrl(statement.infoResource)}">${statement.infoResourceName}</a>.&nbsp;
<a href="${profileUrl(statement.infoResource)}" title="resource name">${statement.infoResourceName}</a>.&nbsp;
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.authorship)}">missing information resource</a>.&nbsp;
<a href="${profileUrl(statement.authorship)}" title="missing resource">missing information resource</a>.&nbsp;
</#if>
</#local>

View file

@ -15,7 +15,7 @@
<#local linkedIndividual>
<#if statement.award??>
<a href="${profileUrl(statement.award)}">${statement.awardLabel!statement.localName}</a>
<a href="${profileUrl(statement.award)}" title="award name">${statement.awardLabel!statement.localName}</a>
</#if>
</#local>
@ -29,7 +29,7 @@
<#local conferredByOrg>
<#if statement.conferredBy?has_content && statement.conferredByLabel?has_content>
conferred by <a href="${profileUrl(statement.conferredBy)}">${statement.conferredByLabel}</a>
conferred by <a href="${profileUrl(statement.conferredBy)}" title="conferred by">${statement.conferredByLabel}</a>
</#if>
</#local>

View file

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

View file

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

View file

@ -10,7 +10,7 @@
<#macro showStatement statement>
<#-- The query retrieves a type only for Persons. Post-processing will remove all but one. -->
<a href="${profileUrl(statement.object)}">${statement.label!statement.localName!}</a> ${statement.title!statement.type!}
<a href="${profileUrl(statement.object)}" title="name">${statement.label!statement.localName!}</a> ${statement.title!statement.type!}
</#macro>

View file

@ -29,10 +29,10 @@
<#local linkedIndividual>
<#if statement.org??>
<a href="${profileUrl(statement.org)}">${statement.orgName}</a>
<a href="${profileUrl(statement.org)}" title="organization name">${statement.orgName}</a>
<#elseif editable>
<#-- Show the link to the context node only if the user is editing the page. -->
<a href="${profileUrl(statement.edTraining)}">missing organization</a>
<a href="${profileUrl(statement.edTraining)}" title="missing organization">missing organization</a>
</#if>
</#local>

View file

@ -12,8 +12,8 @@
next statement -->
<#macro showConcept statement>
<#if statement.vocabularySourceName??>
<a href="${profileUrl(statement.concept)}">${statement.conceptLabel!statement.conceptName}</a> (${statement.vocabularySourceName})
<a href="${profileUrl(statement.concept)}" title="concept name">${statement.conceptLabel!statement.conceptName}</a> (${statement.vocabularySourceName})
<#else>
<a href="${profileUrl(statement.concept)}">${statement.conceptLabel!statement.conceptName}</a>
<a href="${profileUrl(statement.concept)}" title="concept name">${statement.conceptLabel!statement.conceptName}</a>
</#if>
</#macro>

View file

@ -16,10 +16,10 @@
<#macro showRole statement>
<#local linkedIndividual>
<#if statement.event1??>
<a href="${profileUrl(statement.event1)}">${statement.event1Label!statement.event1Name}</a>
<a href="${profileUrl(statement.event1)}" title="event name">${statement.event1Label!statement.event1Name}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.role)}">missing event</a>
<a href="${profileUrl(statement.role)}" title="event name">missing event</a>
</#if>
</#local>
@ -29,9 +29,9 @@
<#local attendedEvent>
<#if statement.event2?has_content && statement.event2Label?has_content>
at <a href="${profileUrl(statement.event2)}">${statement.event2Label}</a>
at <a href="${profileUrl(statement.event2)}" title="event label">${statement.event2Label}</a>
<#elseif statement.series?has_content && statement.seriesLabel?has_content>
at <a href="${profileUrl(statement.series)}">${statement.seriesLabel}</a>
at <a href="${profileUrl(statement.series)}" title="event label">${statement.seriesLabel}</a>
</#if>
</#local>

View file

@ -16,7 +16,7 @@
<#macro showRole statement property>
<#local linkedIndividual>
<#if statement?has_content && statement.activity?has_content>
<a href="${profileUrl(statement.activity)}">${statement.activityLabel!statement.activityName}</a>
<a href="${profileUrl(statement.activity)}" title="activity name">${statement.activityLabel!statement.activityName}</a>
</#if>
</#local>

View file

@ -15,18 +15,18 @@
<#macro showRole statement>
<#local linkedIndividual>
<#if statement.activity??>
<a href="${profileUrl(statement.activity)}">${statement.activityLabel!statement.activityName!}</a>
<a href="${profileUrl(statement.activity)}" title="activity name">${statement.activityLabel!statement.activityName!}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.role)}">missing activity</a>
<a href="${profileUrl(statement.role)}" title="missing activity">missing activity</a>
</#if>
</#local>
<#local awardOrAdminBy>
<#if statement.awardedByLabel??>
&nbsp;awarded by&nbsp;<a href="${profileUrl(statement.awardedBy)}">${statement.awardedByLabel!}</a>
&nbsp;awarded by&nbsp;<a href="${profileUrl(statement.awardedBy)}" title="awarded by">${statement.awardedByLabel!}</a>
<#elseif statement.adminedByLabel??>
&nbsp;administered by&nbsp;<a href="${profileUrl(statement.adminedBy)}">${statement.adminedByLabel!}</a>
&nbsp;administered by&nbsp;<a href="${profileUrl(statement.adminedBy)}" title="administered by">${statement.adminedByLabel!}</a>
</#if>
</#local>

View file

@ -16,10 +16,10 @@
<#macro showRole statement>
<#local linkedIndividual>
<#if statement.presentation??>
<a href="${profileUrl(statement.presentation)}">${statement.presentationLabel!statement.presentationName}</a>
<a href="${profileUrl(statement.presentation)}" title="presentation name">${statement.presentationLabel!statement.presentationName}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.role)}">missing presentation</a>
<a href="${profileUrl(statement.role)}" title="missing presentation">missing presentation</a>
</#if>
</#local>
@ -29,9 +29,9 @@
<#local conference>
<#if statement.conference?has_content && statement.conferenceLabel?has_content>
<a href="${profileUrl(statement.conference)}">${statement.conferenceLabel}</a>
<a href="${profileUrl(statement.conference)}" title="conference">${statement.conferenceLabel}</a>
<#elseif statement.series?has_content && statement.seriesLabel?has_content>
<a href="${profileUrl(statement.series)}">${statement.seriesLabel}</a>
<a href="${profileUrl(statement.series)}" title="series">${statement.seriesLabel}</a>
</#if>
</#local>

View file

@ -15,10 +15,10 @@
<#macro showRole statement>
<#local linkedIndividual>
<#if statement.activity??>
<a href="${profileUrl(statement.activity)}">${statement.activityLabel!statement.activityName}</a>
<a href="${profileUrl(statement.activity)}" title="activity name">${statement.activityLabel!statement.activityName}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.role)}">missing activity</a>
<a href="${profileUrl(statement.role)}" title="missing activity">missing activity</a>
</#if>
</#local>

View file

@ -14,9 +14,9 @@
next statement -->
<#macro showAuthorship statement>
<#if statement.person??>
<a href="${profileUrl(statement.person)}">${statement.personName}</a>
<a href="${profileUrl(statement.person)}" title="author name">${statement.personName}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.authorship)}">missing author</a>
<a href="${profileUrl(statement.authorship)}" title="missing author">missing author</a>
</#if>
</#macro>

View file

@ -64,7 +64,7 @@
<#elseif statement.editable>
<#-- This can be removed when the custom form is available. Until then, provide a link to the
address profile so the data can be edited. -->
<a href="${profileUrl(statement.address)}">${statement.label!statement.localName}</a>
<a href="${profileUrl(statement.address)}" title="address label">${statement.label!statement.localName}</a>
<#else>
${statement.label!}
</#if>

View file

@ -17,10 +17,10 @@
<#local linkedIndividual>
<#if statement.person??>
<a href="${profileUrl(statement.person)}">${statement.personName}</a>
<a href="${profileUrl(statement.person)}" title="person name">${statement.personName}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.position)}">missing person in this position</a>
<a href="${profileUrl(statement.position)}" title="missing person">missing person in this position</a>
</#if>
</#local>

View file

@ -17,10 +17,10 @@
<#local linkedIndividual>
<#if statement.person??>
<a href="${profileUrl(statement.person)}">${statement.personName}</a>
<a href="${profileUrl(statement.person)}" title="person name">${statement.personName}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.training)}">missing person in this position</a>
<a href="${profileUrl(statement.training)}" title="missing person">missing person in this position</a>
</#if>
</#local>
<#local detailedInfo>

View file

@ -17,17 +17,17 @@
<#local linkedIndividual>
<#if statement.org??>
<a href="${profileUrl(statement.org)}">${statement.orgName}</a>
<a href="${profileUrl(statement.org)}" title="organization name">${statement.orgName}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.position)}">missing organization</a>
<a href="${profileUrl(statement.position)}" title="missing organization">missing organization</a>
</#if>
</#local>
<#-- The sparql query returns both the org's parent (middleOrg) and grandparent (outerOrg).
For now, we are only displaying the parent in the list view. -->
<#local middleOrganization>
<#if statement.middleOrg??>
<a href="${profileUrl(statement.middleOrg)}">${statement.middleOrgName!}</a>
<a href="${profileUrl(statement.middleOrg)}" title="middle organization">${statement.middleOrgName!}</a>
</#if>
</#local>

View file

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

View file

@ -14,7 +14,7 @@
<#if statement.url?has_content>
<a href="${statement.url}">${linkText}</a>
<a href="${statement.url}" title="link text">${linkText}</a>
<#else>
<a href="${profileUrl(statement.link)}">${statement.linkName}</a> (no url provided for link)
<a href="${profileUrl(statement.link)}" title="link name">${statement.linkName}</a> (no url provided for link)
</#if>

View file

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