]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/node/award_points.html
#OSQAAWS-69, It was not a good idea to make the filtration for the moderation module...
[osqa.git] / forum / skins / default / templates / node / award_points.html
1 {% load i18n %}
2
3 <p>
4 {% blocktrans %}
5 Award {{ awarded_user }} with reputation points.
6 {% endblocktrans %}
7 </p>
8
9 <p>
10     Points:
11     <span id="reputation_points_award">1</span>
12 </p>
13
14 <div class="award_points_slider"></div>
15
16 <input type="hidden" name="points" id="points_input" value="0" />
17
18 <script>
19 $('.award_points_slider').slider({
20     min: 1, max: {{ user.reputation }},
21     slide: function(evt, ui) {
22         $('#reputation_points_award').html(ui.value)
23         $('#points_input').val(ui.value)
24     }
25 });
26 </script>