diff --git a/pkgs/plt-services/meta/pkg-index/official/static/index.js b/pkgs/plt-services/meta/pkg-index/official/static/index.js index b6a33d10c0..c237dbccef 100644 --- a/pkgs/plt-services/meta/pkg-index/official/static/index.js +++ b/pkgs/plt-services/meta/pkg-index/official/static/index.js @@ -81,7 +81,10 @@ $( document ).ready(function() { href: pkgi['source_url'] } )); make_editbutton ( "pi_source", pkgi['source'], submit_mod_source ); - $( "#pi_checksum" ).text( pkgi['checksum'] ); + $( "#pi_checksum" ).html("").text( pkgi['checksum'] ); + if ( pkgi['checksum-error'] ) { + $( "#pi_checksum" ).append( [ "Error:", $("
").text(pkgi['checksum-error']) ] ); } + $( "#pi_last_updated" ).text( format_time(pkgi['last-updated']) ); $( "#pi_last_checked" ).text( format_time(pkgi['last-checked']) ); $( "#pi_last_edit" ).text( format_time(pkgi['last-edit']) );