X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=karmaworld%2Ftemplates%2Fnotes%2Fnote_base.html;h=00bd48c744a72f690bf063879138f59aa035d715;hb=38f196fb035a61f851e16315e74d30f205cf3e66;hp=bb46f9d69832966926d6ee5f521a77c59d2ed90f;hpb=f014a73dd40db96c87853bfa7b76def4966cd848;p=oweals%2Fkarmaworld.git diff --git a/karmaworld/templates/notes/note_base.html b/karmaworld/templates/notes/note_base.html index bb46f9d..00bd48c 100644 --- a/karmaworld/templates/notes/note_base.html +++ b/karmaworld/templates/notes/note_base.html @@ -26,7 +26,6 @@ var annotator_js_url = "{{ STATIC_URL }}js/annotator-full.min.js"; var annotator_css_url = "{{ STATIC_URL }}css/annotator.min.css"; var setup_ajax_url = "{{ STATIC_URL }}js/setup-ajax.js"; - var note_edit_url = "{% url 'edit_note' note.id %}"; var user_authenticated = {% if user.is_authenticated %}true{% else %}false{% endif %}; {% compress js %} @@ -151,7 +150,7 @@ {% endif %} - {% if note.user == request.user %} + {% if note.user == request.user or user.is_staff %}    {% endif %} @@ -278,6 +277,11 @@
  • Keywords you define will appear here, and you can define new ones here too.

  • + {% if note.thanks < 3 %} +
  • +

    Keywords and quizzes are automatically generated when a note gets {{ note.total_thanks_for_mturk }} thanks. This note needs {{ note.remaining_thanks_for_mturk }} more!

    +
  • + {% endif %} {% endblock %}