mirror of
https://github.com/ae-utbm/sith.git
synced 2024-10-31 19:38:04 +00:00
pedagogy: better display for uv_details
This commit is contained in:
parent
a61322b83f
commit
79243aece3
@ -1936,9 +1936,16 @@ $pedagogy-white-text: #f0f0f0;
|
||||
}
|
||||
|
||||
.author-info {
|
||||
|
||||
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 {
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user