app/soc/templates/modules/ghop/task/approve/approve.html
author Sverre Rabbelier <srabbelier@gmail.com>
Mon, 14 Sep 2009 20:19:46 +0200
changeset 2920 afeac06aabb2
parent 2827 58e2a02e35b4
child 3017 6689a4c8f02e
permissions -rw-r--r--
Set new Melange version number to 0-5-20090914 in app.yaml.template.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2827
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
{% extends "soc/models/list.html" %}
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     3
{% block scripts %}
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
{{ block.super }}
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     6
<script type="text/javascript">
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     7
  var RETURN_URL = "{{ return_url }}";
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     8
  $(document).ready(function(){
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     9
    $('[id^=id_spin_slot_count_]').spin({min:0});
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    10
  });
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    11
</script>
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    12
{% endblock %}
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    13
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    14
{% block body %}
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    15
<form method="POST">
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    16
{% if up_list %}
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    17
<input style="font-weight: bold" type="submit" 
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    18
value="Approve and Publish"/></span>
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    19
{% endif %}
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    20
{% if error_message %}
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    21
<div class="error">{{ error_message|safe }}</div>
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    22
{% endif %}
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    23
{{ block.super }}
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    24
</form>
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    25
{% endblock %}
58e2a02e35b4 Bulk add templates regarding Task Views.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    26