pedagogy: better display for uv_details

This commit is contained in:
Antoine Bartuccio 2019-07-07 18:51:36 +02:00
parent a61322b83f
commit 79243aece3
Signed by: klmp200
GPG Key ID: E7245548C53F904B
2 changed files with 13 additions and 5 deletions

View File

@ -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 {

View File

@ -1,4 +1,5 @@
{% 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>