1. Fixed the bug NIHVIVO-1803.
2. Changed the code/style that shows/hides collaborator links (co-pi & co-author n/ws) for a person, so that the code that will check if any publications/grants are attached to a person can manipulate visibility of these links.
This commit is contained in:
parent
2a0d21ad3c
commit
1a36693cb1
4 changed files with 33 additions and 12 deletions
|
@ -80,6 +80,13 @@ $(document).ready(function(){
|
|||
setProfileName('no_coauthorships_person', $('#ego_label').text());
|
||||
}
|
||||
</#if>
|
||||
|
||||
|
||||
/*
|
||||
Collaboratorship links do not show up by default. They should show up only if there any data to
|
||||
show on that page.
|
||||
*/
|
||||
$("#coinvestigator_link_container").show();
|
||||
|
||||
});
|
||||
</script>
|
||||
|
@ -98,10 +105,10 @@ $(document).ready(function(){
|
|||
</div>
|
||||
|
||||
<div class = "toggle_visualization">
|
||||
<div id="coinvestigator_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-link">
|
||||
<h3><a href="${coprincipalinvestigatorURL}">Co-Investigator Network</a></h3>
|
||||
<h3><a href="${coprincipalinvestigatorURL}">Co-Investigator Network</a></h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -79,6 +79,13 @@ $(document).ready(function(){
|
|||
setProfileName('no_coinvestigations_person', $('#ego_label').text());
|
||||
}
|
||||
</#if>
|
||||
|
||||
|
||||
/*
|
||||
Collaboratorship links do not show up by default. They should show up only if there any data to
|
||||
show on that page.
|
||||
*/
|
||||
$("#coauthorship_link_container").show();
|
||||
|
||||
});
|
||||
</script>
|
||||
|
@ -96,10 +103,10 @@ $(document).ready(function(){
|
|||
</div>
|
||||
|
||||
<div class = "toggle_visualization">
|
||||
<div id="coauthorship_link_container">
|
||||
<div id="coauthorship_link_container" class="collaboratorship-link-container">
|
||||
<div class="collaboratorship-icon"><a href="${coauthorshipURL}"><img src="${coAuthorIcon}" /></a></div>
|
||||
<div class="collaboratorship-link">
|
||||
<h3><a href="${coauthorshipURL}">Co-Author Network</a></h3>
|
||||
<h3><a href="${coauthorshipURL}">Co-Author Network</a></h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue