1. Made change in text display logic for a profile that has no publications attached ot it for the person level vis per Katy's request.

This commit is contained in:
cdtank 2010-07-20 20:20:51 +00:00
parent 30740451b3
commit cfa8fdb03c

View file

@ -148,9 +148,14 @@ table.sparkline_wrapper_table td, th {
<div style="clear:both;"></div> <div style="clear:both;"></div>
<c:choose>
<c:when test='${numOfAuthors > 0}'>
<div id="incomplete-data">This information is based solely on publications which have been loaded into the VIVO system. <div id="incomplete-data">This information is based solely on publications which have been loaded into the VIVO system.
This may only be a small sample of the person's total work. </div> This may only be a small sample of the person's total work. </div>
<%-- Sparkline --%> <%-- Sparkline --%>
<h2 class="sub_headings">General Statistics</h2> <h2 class="sub_headings">General Statistics</h2>
<div id="${egoPubSparklineContainerID}"> <div id="${egoPubSparklineContainerID}">
@ -174,11 +179,16 @@ table.sparkline_wrapper_table td, th {
</c:if> </c:if>
<span id="no_coauthorships">Currently there are no ${authorsText} papers for <span id="no_coauthorships">Currently there are no ${authorsText} papers for
<span id="no_coauthorships_person" class="author_name">this author</span> in the VIVO database.</span> <a href="${egoVivoProfileURL}"><span id="no_coauthorships_person" class="author_name">this author</span></a> in the VIVO database.</span>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</c:when>
<c:otherwise>
<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 VIVO database.</span>
</c:otherwise>
</c:choose>
</div> </div>