Commit d85152e5 authored by Sli's avatar Sli

pedagogy: quick access to comment from moderation

parent f1180404
Pipeline #1889 passed with stage
in 28 minutes and 43 seconds
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
{% for widget in form.accepted_reports.subwidgets %} {% for widget in form.accepted_reports.subwidgets %}
{% set report = queryset.get(id=widget.data.value) %} {% set report = queryset.get(id=widget.data.value) %}
<tr> <tr>
<td><a href="{{ url('pedagogy:uv_detail', uv_id=report.comment.uv.id) }}">{{ report.comment.uv }}</a></td> <td><a href="{{ url('pedagogy:uv_detail', uv_id=report.comment.uv.id) }}#{{ report.comment.uv.id }}">{{ report.comment.uv }}</a></td>
<td>{{ report.comment.comment|markdown }}</td> <td>{{ report.comment.comment|markdown }}</td>
<td>{{ report.reason|markdown }}</td> <td>{{ report.reason|markdown }}</td>
<td>{{ widget.tag() }}</td> <td>{{ widget.tag() }}</td>
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
{% for widget in form.denied_reports.subwidgets %} {% for widget in form.denied_reports.subwidgets %}
{% set report = queryset.get(id=widget.data.value) %} {% set report = queryset.get(id=widget.data.value) %}
<tr> <tr>
<td><a href="{{ url('pedagogy:uv_detail', uv_id=report.comment.uv.id) }}">{{ report.comment.uv }}</a></td> <td><a href="{{ url('pedagogy:uv_detail', uv_id=report.comment.uv.id) }}#{{ report.comment.uv.id }}">{{ report.comment.uv }}</a></td>
<td>{{ report.comment.comment|markdown }}</td> <td>{{ report.comment.comment|markdown }}</td>
<td>{{ report.reason|markdown }}</td> <td>{{ report.reason|markdown }}</td>
<td>{{ widget.tag() }}</td> <td>{{ widget.tag() }}</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment