.
This commit is contained in:
+1
-1
@@ -181,7 +181,7 @@ class Rapid(models.Model):
|
|||||||
help_text="If a question should be freely available to browse", default=True
|
help_text="If a question should be freely available to browse", default=True
|
||||||
)
|
)
|
||||||
|
|
||||||
anon_notes = GenericRelation(QuestionNote)
|
notes = GenericRelation(QuestionNote)
|
||||||
|
|
||||||
|
|
||||||
def get_absolute_url(self):
|
def get_absolute_url(self):
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
{% if view_feedback %}
|
{% if view_feedback %}
|
||||||
Notes:
|
Notes:
|
||||||
<ul class="notes">
|
<ul class="notes">
|
||||||
{% for note in question.anon_notes.all %}
|
{% for note in question.notes.all %}
|
||||||
<li {% if note.complete %}class='complete' {% endif %}>
|
<li {% if note.complete %}class='complete' {% endif %}>
|
||||||
{{ note.created_on }} by
|
{{ note.created_on }} by
|
||||||
{% if note.user_author %}
|
{% if note.user_author %}
|
||||||
|
|||||||
Reference in New Issue
Block a user