diff --git a/css/roblib_search.base.css b/css/roblib_search.base.css index da2e5fa..c48067a 100644 --- a/css/roblib_search.base.css +++ b/css/roblib_search.base.css @@ -12,6 +12,10 @@ .panel-pane {border-top:1px solid #cecfcc; border-left:1px solid #cecfcc; border-right:1px solid #cecfcc; line-height: 1.5em; margin:10px; border-bottom:1px solid #cecfcc; } + +.roblib-search-more { + padding-right:5px; +} .roblib-search-header { background:#333; padding-left: 5px; @@ -51,7 +55,7 @@ } .roblib-search-other-sources-header { - border-left-color:#800000; + border-color:#800000; border-left-width: 10px; } diff --git a/targets/islandscholar/css/roblib_search_islandscholar.css b/targets/islandscholar/css/roblib_search_islandscholar.css index 25e86db..97e358e 100644 --- a/targets/islandscholar/css/roblib_search_islandscholar.css +++ b/targets/islandscholar/css/roblib_search_islandscholar.css @@ -11,15 +11,17 @@ } .islandscholar-hostTitle{ font-size: smaller; + font-style: italic; } .islandscholar-genre, .islandscholar-volume{ padding-left: 10px; font-size: smaller; } -.islandscholar-authors { +.islandscholar-authors, .islandscholar-source { padding-left: 10px; } .islandscholar-label { - padding-left: 10px; font-size: smaller; font-weight: bolder; -} \ No newline at end of file + font-size: smaller; font-weight: bolder; +} + diff --git a/targets/islandscholar/js/islandscholar_results.js b/targets/islandscholar/js/islandscholar_results.js index 5627ea2..9e8f673 100644 --- a/targets/islandscholar/js/islandscholar_results.js +++ b/targets/islandscholar/js/islandscholar_results.js @@ -28,7 +28,7 @@ Drupal.behaviors.roblib_search_islandscholar = { ' + val.Title_sorted + ''); try { items.push('
'); - jQuery.each(val.author, function(key2, val2){ + jQuery.each(val["mods.author"], function(key2, val2){ items.push('' + val2 + '; ') }) items.push('
') @@ -42,9 +42,10 @@ Drupal.behaviors.roblib_search_islandscholar = { }) try{ - jQuery.each(val["mods.hostTitle"], function(key2, val2){ - items.push('' + val2 + ' ') - }) + if (typeof val["mods.hostTitle"][0] !== 'undefined') { + items.push('' + val["mods.hostTitle"][0] + ' ') + } + } catch (err){ } diff --git a/theme/roblib-search-other-sources.tpl.php b/theme/roblib-search-other-sources.tpl.php index 6c93330..d723000 100644 --- a/theme/roblib-search-other-sources.tpl.php +++ b/theme/roblib-search-other-sources.tpl.php @@ -8,7 +8,6 @@ */ ?> -
Google Scholar @@ -16,4 +15,7 @@ +
\ No newline at end of file