Commit 79243aec authored by Sli's avatar Sli

pedagogy: better display for uv_details

parent a61322b8
Pipeline #1879 passed with stage
in 44 minutes and 38 seconds
......@@ -1936,9 +1936,16 @@ $pedagogy-white-text: #f0f0f0;
}
.author-info {
color: $pedagogy-white-text;
text-align: center;
font-weight: bold;
a {
color: $pedagogy-white-text;
text-align: center;
font-weight: bold;
}
a:hover {
color: $pedagogy-light-blue;
}
padding-right: 33%;
padding: 5px;
......@@ -1949,7 +1956,7 @@ $pedagogy-white-text: #f0f0f0;
.report {
background-color: $pedagogy-orange;
clip-path: polygon(0 0%, 0 100%, 40% 100%, 30% 0);
clip-path: polygon(0 0%, 0 100%, 300px 100%, 250px 0);
width : 33%;
& a {
......
{% extends "core/base.jinja" %}
{% from "core/macros.jinja" import user_profile_link %}
{% from "pedagogy/macros.jinja" import display_star %}
{% block title %}
......@@ -159,7 +160,7 @@
<div class="info">
<p class="report"><a href="{{ url('pedagogy:comment_report', comment_id=comment.id) }}">{% trans %}Report this comment{% endtrans %}</a></p>
<p class="date-info">{{ comment.publish_date.strftime('%d/%m/%Y') }}</p>
<p class="author-info">{{ comment.author }}</p>
<p class="author-info">{{ user_profile_link(comment.author) }}</p>
</div>
</div>
......
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