NIHVIVO-1073 Markup and stylesheet cleanup.
This commit is contained in:
parent
74ba0be165
commit
5a30680747
2 changed files with 6 additions and 11 deletions
|
@ -49,10 +49,10 @@ browseByVClass.getIndividuals = function(vclassUri, alpha) {
|
|||
// Build the content of each list item, piecing together each component
|
||||
listItem = '<li class="vcard individual-foaf-person" role="listitem" role="navigation">';
|
||||
listItem += '<img src="'+ image +'" width="90" height="90" alt="'+ fullName +'" />';
|
||||
listItem += '<h1 class="fn"><a href="'+ profileUrl +'" title="View the profile page for '+ fullName +'">'+ fullName +'</a></h1>';
|
||||
listItem += '<h1 class="fn thumb"><a href="'+ profileUrl +'" title="View the profile page for '+ fullName +'">'+ fullName +'</a></h1>';
|
||||
// Include the calculated preferred title (see above) only if it's not empty
|
||||
if ( preferredTitle != "" ) {
|
||||
listItem += '<p>'+ preferredTitle +'</p>';
|
||||
listItem += '<span class="title">'+ preferredTitle +'</span>';
|
||||
}
|
||||
listItem += '</li>';
|
||||
browseByVClass.individualsInVClass.append(listItem);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue