]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/updater/templates/index.html
creating some views for the update checker and creating the functions that get the...
[osqa.git] / forum_modules / updater / templates / index.html
index 1ddb980b68bed388bab0db0fa4799d9614c99545..04f20af4922bcdcb3bca7851d5723ebfd1aeff4a 100644 (file)
@@ -2,6 +2,18 @@
 
 {% load i18n %}
 
+{% block adminjs %}
+{{ block.super }}
+<script type="text/javascript">
+$(function() {
+
+    $('#check_for_updates').live('click', function() {
+        alert("Ok")
+    })
+});
+</script>
+{% endblock %}
+
 {% block subtitle %}
     {% trans "Update Checker" %}
 {% endblock %}
@@ -11,4 +23,6 @@
 
 {% block admincontent %}
 
+<a href="javascript:void(0);" id="check_for_updates" class="button">{% trans "Check for Updates" %}</a>
+
 {% endblock %}