Skip to content

Commit 9391cb7

Browse files
author
Richard Jones
committed
add json awesomeness
1 parent 0c93d5a commit 9391cb7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

website/www/_templates/layout.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
{%- else %}
1919
<link rel="stylesheet" href="{{ pathto('_static/style.css', 1) }}" type="text/css" />
2020
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
21+
2122
{%- endif %}
2223
{%- if builder != 'htmlhelp' %}
2324
<script type="text/javascript">

website/www/index.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ Roundup Issue Tracker
55

66
Latest stable release: `download`_
77

8+
.. raw:: html
9+
10+
<span id="release_info">release info</span>
11+
12+
.. raw:: html
13+
14+
<script type="text/javascript">
15+
$.getJSON('http://pypi.python.org/pypi/roundup/json', function(data) {
16+
$('#release_info').html('<p>Version: ' + data.version + '</p>');
17+
});
18+
</script>
819

920
Roundup is a simple-to-use and -install issue-tracking system with command-line, web and e-mail interfaces.
1021
It is based on the winning design from Ka-Ping Yee in the Software Carpentry "Track" design competition.

0 commit comments

Comments
 (0)