1 {% extends basetemplate %}
3 {% load i18n extra_tags %}
8 <style type="text/css">
16 <script type="text/javascript">
19 $('#check_for_updates').live('click', function() {
20 var update_check_url = $(this).attr('href')
21 var update_check_status = $('#update_check_status')
22 update_check_status.html('{% trans "Checking for updates" %}')
23 update_check_status.show('slow')
25 $.get(update_check_url, function(data) {
26 update_check_status.hide('slow', function() {
27 update_check_status.html(data)
28 update_check_status.show('slow');
38 {% trans "Update Checker" %}
40 {% block description %}
41 {% trans "Use the OSQA update server to check for updates" %}
44 {% block admincontent %}
46 <a href="{% url "stats_check" %}" id="check_for_updates" class="button">{% trans "Check for Updates" %}</a>
47 <div id="update_check_status"></div>