NIHVIVO-1315: Done more refactoring work on individual pages.

This commit is contained in:
mb863 2011-01-25 15:54:38 +00:00
parent 7dd38fc00d
commit 73338f1453
4 changed files with 12 additions and 10 deletions

View file

@ -6,9 +6,8 @@
<#if overview?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
<@p.addLinkWithLabel overview editable />
<#list overview.statements as statement>
<p class="individual-overview">
${statement.value}
<@p.editingLinks "${overview.localName}" statement editable />
</p>
<p class="individual-overview">${statement.value}</p>
<@p.editingLinks "${overview.localName}" statement editable />
</#list>
</#if>

View file

@ -3,7 +3,7 @@
<#-- Template for sparkline visualization on individual profile page -->
<#if individual.visualizationUrl??>
<section id="sparklines-publications" role="region">
<#assign coAuthorIcon = '${urls.images}/visualization/co_author_icon.png'>
<#assign coInvestigatorIcon = '${urls.images}/visualization/co_investigator_icon.png'>
@ -13,6 +13,7 @@
<#assign coInvestigatorURL = '${urls.base}${standardVisualizationURLRoot}?vis=person_level&uri=${individual.uri}&vis_mode=copi'>
<#assign visualizationHelperJavaScript = 'js/visualization/visualization-helper-functions.js'>
<section id="sparklines-publications" role="region">
<div id="vis_container_coauthor">&nbsp;</div>
<div id="coauthorship_link_container" class="collaboratorship-link-container">

View file

@ -2,11 +2,9 @@
<#-- Individual visualization template -->
<#if individual.organization >
<#-- Logically we only need section#temporal-graph, but css may depend on the outer sections. Leaving here for UI
team to check. -->
<#if individual.organization >
<#-- Logically we only need section#temporal-graph, but css may depend on the outer sections. Leaving here for UI team to check. -->
<section id="temporal-graph" role="region">
<h3><img src="${urls.images}/visualization/temporal_vis_icon.jpg" width="25px" height="25px" /><a href="${urls.base}/visualization?vis=entity_comparison&uri=${individual.uri}">Temporal Graph</a></h3>
</section>
</#if>

View file

@ -31,6 +31,9 @@ body{
a:hover{
text-decoration: none;
}
a{
color: #2485AE;
}
/* h1,h2,h3,h4,h5,h6 ------> */
h2{
padding: 10px 0 12px 0;
@ -696,6 +699,7 @@ p{
}
.individualList li a {
font-weight: normal;
color: #2485AE;
}
/* -------------------------------------------------> */
@ -1102,7 +1106,7 @@ ul#individual-positions li a{
font-size: 1em;
padding-right: 10px;
padding-top: 10px;
width: 75%;
width: 100%;
}
ul#individual-areas{
padding-bottom: 24px;