From: olivier <> Date: Tue, 9 Feb 2010 18:17:04 +0000 (+0000) Subject: add year of recording to tabular lists ; fix some js error X-Git-Tag: 1.1~557 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=95ce56735385756b2eeb0f0647bc1d51a170fca1;p=telemeta.git add year of recording to tabular lists ; fix some js error --- diff --git a/telemeta/htdocs/css/telemeta.css b/telemeta/htdocs/css/telemeta.css index a77ee55c..fb90179c 100644 --- a/telemeta/htdocs/css/telemeta.css +++ b/telemeta/htdocs/css/telemeta.css @@ -585,8 +585,10 @@ table.listing thead th { table.listing thead th :link:hover, table.listing thead th :visited:hover { background-color: transparent; } -table.listing thead th a { +table.listing a { border: none; +} +table.listing thead th a { padding-right: 12px; } table.listing th.asc a, table.listing th.desc a { font-weight: bold } diff --git a/telemeta/htdocs/js/player.js b/telemeta/htdocs/js/player.js index 2a479828..4ff463d1 100644 --- a/telemeta/htdocs/js/player.js +++ b/telemeta/htdocs/js/player.js @@ -44,6 +44,9 @@ function change_visualizer() { function load_player(duration) { $(document).ready(function () { + if (!$('#player').length) + return; + soundUrl = $('.ts-wave a').attr('href'); $('.ts-wave a img').insertAfter('.ts-wave a'); diff --git a/telemeta/templates/telemeta_default/collection_detail.html b/telemeta/templates/telemeta_default/collection_detail.html index bf95a9f6..46c27d7b 100644 --- a/telemeta/templates/telemeta_default/collection_detail.html +++ b/telemeta/templates/telemeta_default/collection_detail.html @@ -135,8 +135,10 @@