diff --git a/css/profile-pages.css b/css/profile-pages.css index 44d9a6c..c8175b3 100644 --- a/css/profile-pages.css +++ b/css/profile-pages.css @@ -674,6 +674,29 @@ table.no-bgcolor tr{ margin: 3px 0 0; } +.widget_download .nc_tweetContainer{ + height: 35px !important; +} +.widget_download .button.download{ + padding: 8px 6px 0 !important; + border-radius: 2px; + position: absolute; + right: 215px; +} +.widget_download a.download span{ + display: none; +} + +.widget_download a.download:hover{ + right: 215px; +} +.widget_download a.download:hover span{ + display: initial; +} +.widget_download a.download i{ + margin-right: 5px; + margin-left: 5px; + .full-width-content ul{ padding: 5px 0; } @@ -764,5 +787,5 @@ table.no-bgcolor tr{ .single #post-content .selected_option_ha, .single #post-content .selected_option_per{ border: none; - padding: 0; + padding: 0; } diff --git a/post-types/templates/single-profiles.php b/post-types/templates/single-profiles.php index 2bf07db..cd0d393 100644 --- a/post-types/templates/single-profiles.php +++ b/post-types/templates/single-profiles.php @@ -30,6 +30,7 @@ $ckan_dataset_exploded_by_dataset = explode('/dataset/', $ckan_dataset ); $ckan_dataset_exploded_by_resource = explode('/resource/', $ckan_dataset_exploded_by_dataset[1]); $ckan_dataset_id = $ckan_dataset_exploded_by_resource[0]; + $dataset = wpckan_api_package_show(wpckan_get_ckan_domain(),$ckan_dataset_id); } @@ -46,21 +47,31 @@