From: Charles Connell Date: Fri, 16 May 2014 00:57:22 +0000 (-0400) Subject: Indicate mturk keywords X-Git-Tag: release-20150131~50 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=469ba4847898491103618b614a1f88a6493c1605;p=oweals%2Fkarmaworld.git Indicate mturk keywords --- diff --git a/karmaworld/apps/notes/views.py b/karmaworld/apps/notes/views.py index d491cf3..349cd17 100644 --- a/karmaworld/apps/notes/views.py +++ b/karmaworld/apps/notes/views.py @@ -225,6 +225,7 @@ class NoteKeywordsView(FormView, SingleObjectMixin): keyword_object.note = self.get_object() keyword_object.word = word keyword_object.definition = definition + keyword_object.unreviewed = False keyword_object.save() diff --git a/karmaworld/assets/css/note_course_pages.css b/karmaworld/assets/css/note_course_pages.css index e5096c2..59c5c1d 100644 --- a/karmaworld/assets/css/note_course_pages.css +++ b/karmaworld/assets/css/note_course_pages.css @@ -170,6 +170,10 @@ button.add-note-btn { background-color: #ffdcdc; } +tr.unreviewed { + background-color: #ffdcdc !important; +} + .correct-label, .incorrect-label { padding-left: 0; diff --git a/karmaworld/templates/notes/note_keywords.html b/karmaworld/templates/notes/note_keywords.html index 483f3f5..ed2db36 100644 --- a/karmaworld/templates/notes/note_keywords.html +++ b/karmaworld/templates/notes/note_keywords.html @@ -4,7 +4,7 @@
{% if user.is_authenticated %}

These key terms and definitions have been defined by KarmaNotes users. - You can edit them for accuracy and add more if you like.

+ You can edit them for accuracy and add more if you like. Red rows indicate unreviewed entries.

{% else %}

These key terms and definitions have been defined by KarmaNotes users.

@@ -17,7 +17,7 @@ {% for keyword in keywords %} - + {{ keyword.word }} {% if keyword.definition %}