diff --git a/core/static/core/style.scss b/core/static/core/style.scss index ea6ed00b..3e54d38f 100644 --- a/core/static/core/style.scss +++ b/core/static/core/style.scss @@ -1730,6 +1730,10 @@ label { margin-bottom: 30px; margin-top: 10px; + .anchor { + float: right; + } + .grade_block { .grade { @@ -1757,6 +1761,10 @@ label { } } + .not_rated { + color: #f0f0f0; + } + .info { background-color: #1bb9ea; width: 100%; @@ -1801,12 +1809,19 @@ label { } .action { - float: left; + float: right; text-align: center; padding: 5px; margin: 0px; } + .status_reported { + color: red; + float: left; + padding: 5px; + margin: 0px; + } + .markdown { height: 125px; margin-top: 0px; diff --git a/pedagogy/templates/pedagogy/macros.jinja b/pedagogy/templates/pedagogy/macros.jinja index 78b78afc..2f26dfd6 100644 --- a/pedagogy/templates/pedagogy/macros.jinja +++ b/pedagogy/templates/pedagogy/macros.jinja @@ -9,7 +9,7 @@ {% endif %} {% endfor %} {% else %} -
{% trans %} not rated {% endtrans %}
+{% trans %} not rated {% endtrans %}
{% endif %} {%- endmacro %} \ No newline at end of file diff --git a/pedagogy/templates/pedagogy/uv_detail.jinja b/pedagogy/templates/pedagogy/uv_detail.jinja index 7bd233ee..84dc78ba 100644 --- a/pedagogy/templates/pedagogy/uv_detail.jinja +++ b/pedagogy/templates/pedagogy/uv_detail.jinja @@ -31,10 +31,10 @@{% trans %}global grade{% endtrans %}
-{% trans %}utility grade{% endtrans %}
-{% trans %}interest grade{% endtrans %}
-{% trans %}teaching grade{% endtrans %}
-{% trans %}work_load grade{% endtrans %}
+{% trans %}utility{% endtrans %}
+{% trans %}interest{% endtrans %}
+{% trans %}teaching{% endtrans %}
+{% trans %}work load{% endtrans %}
{{ display_star(comment.grade_global) }}
@@ -44,24 +44,29 @@{{ display_star(comment.grade_work_load) }}
+ {% trans %}This comment has been reported{% endtrans %} +
+ {% endif %} + + {% if user.is_owner(comment) %} ++ {% trans %}Edit{% endtrans %} + {% trans %}Delete{% endtrans %} +
+ {% endif %} +{% trans %}Report this comment{% endtrans %}
{{ comment.publish_date.strftime('%d/%m/%Y') }}
- - {% if user.is_owner(comment) %} - {% trans %}Edit{% endtrans %} - {% trans %}Delete{% endtrans %} - {% endif %} -
- {% if comment.is_reported %} -{% trans %}This comment has been reported{% endtrans %}
- {% endif %} {% endfor %}