version exceptions

This commit is contained in:
Jay McCarthy 2013-10-08 14:25:36 -06:00
parent 45b4378df2
commit a7e39f6dec
2 changed files with 7 additions and 1 deletions

View File

@ -30,7 +30,7 @@
<tr><td>Description:</td><td><span id="pi_description"></span></td></tr> <tr><td>Description:</td><td><span id="pi_description"></span></td></tr>
<tr><td>Tags:</td><td><span id="pi_tags"></span></td></tr> <tr><td>Tags:</td><td><span id="pi_tags"></span></td></tr>
<tr><td>XXX</td><td>Add a tag</td></tr> <tr><td>XXX</td><td>Add a tag</td></tr>
<tr><td>XXX</td><td>Version exceptions</td></tr> <tr><td>Versions Exceptions</td><td><table id="pi_versions"></table></td></tr>
</table> </table>
<div class="install">Install this package with:<br><br><tt>raco pkg install <span id="pi_name_inst"></span></tt><br><br>or, with the 'File|Install Package...' menu option in DrRacket.</div> <div class="install">Install this package with:<br><br><tt>raco pkg install <span id="pi_name_inst"></span></tt><br><br>or, with the 'File|Install Package...' menu option in DrRacket.</div>

View File

@ -40,6 +40,12 @@ $( document ).ready(function() {
$( "#pi_description" ).text( pkgi['description'] ); $( "#pi_description" ).text( pkgi['description'] );
$( "#pi_tags" ).html("").append( $.map( pkgi['tags'], function ( tag, i ) { $( "#pi_tags" ).html("").append( $.map( pkgi['tags'], function ( tag, i ) {
return [tag, " "]; } ) ) return [tag, " "]; } ) )
$( "#pi_versions" ).html("").append( $.map( pkgi['versions'], function ( vo, v ) {
return [ $('<tr>').append( $('<td>').html(v),
$('<td>').html(vo['source']) ),
$('<tr>').append( $('<td>').html(""),
$('<td>').html(vo['checksum']) ),
" "]; } ) )
active_info = pkgi; }; active_info = pkgi; };
var search_terms = { }; var search_terms = { };