mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
small change comment
This commit is contained in:
parent
bfb7380715
commit
601193ff3c
@ -1683,16 +1683,15 @@ label {
|
||||
#pedagogy {
|
||||
font-family: "Fira Sans";
|
||||
color: #062f38;
|
||||
background-color: #caf0ff;
|
||||
.comment {
|
||||
background-color: #caf0ff;
|
||||
max-width: 100%;
|
||||
max-height: 200px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 40px;
|
||||
margin-bottom: 30px;
|
||||
margin-top: 10px;
|
||||
|
||||
.grade {
|
||||
height: 200px;
|
||||
height: 156px;
|
||||
float: left;
|
||||
text-align: left;
|
||||
padding: 15px;
|
||||
@ -1705,8 +1704,9 @@ label {
|
||||
.dif_grade {
|
||||
background-color: #1bb9ea;
|
||||
color: #f0f0f0;
|
||||
height: 200px;
|
||||
height: 156px;
|
||||
float: left;
|
||||
font-weight: bold;
|
||||
text-align: right;
|
||||
padding: 15px;
|
||||
padding-top: 0px;
|
||||
@ -1718,6 +1718,7 @@ label {
|
||||
text-align: center;
|
||||
width: 50px;
|
||||
padding: 5px;
|
||||
font-weight: bold;
|
||||
margin: 0px;
|
||||
float: left;
|
||||
padding-right: 50px;
|
||||
@ -1733,16 +1734,21 @@ label {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.action {
|
||||
float: left;
|
||||
text-align: center;
|
||||
padding: 5px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.text {
|
||||
height: 125px;
|
||||
margin-top: 0px;
|
||||
margin-right: 0px;
|
||||
padding: 10px;
|
||||
padding-left: 40px;
|
||||
margin-bottom: 29px;
|
||||
overflow: auto;
|
||||
text-align: justify;
|
||||
background-color: #caf0ff;
|
||||
}
|
||||
}
|
||||
}
|
@ -9,9 +9,7 @@
|
||||
<div id="pedagogy">
|
||||
<p><a href="{{ url('pedagogy:guide') }}">{% trans %}Back{% endtrans %}</a></p>
|
||||
<h1>{{ object.code }} - {{ object.title }}</h1>
|
||||
<p>{{ object.department }}</p>
|
||||
<p>{{ object.credit_type }}</p>
|
||||
<p>{{ object.semester }}</p>
|
||||
<p style = "word-spacing: 20px;">{{ object.department }} {{ object.credit_type }} {{ object.semester }}</p>
|
||||
<p>{{ object.objectives|markdown }}</p>
|
||||
<p>{{ object.program|markdown }}</p>
|
||||
<p>{{ object.skills|markdown }}</p>
|
||||
@ -47,15 +45,17 @@
|
||||
<p class="author_info">{{ comment.author }}</p>
|
||||
|
||||
{# Warning, it's not displayed yet #}
|
||||
<p><a href="{{ url('pedagogy:comment_report', comment_id=comment.id) }}">{% trans %}Report{% endtrans %}</a></p>
|
||||
<p class="action">
|
||||
<a href="{{ url('pedagogy:comment_report', comment_id=comment.id) }}">{% trans %}Report{% endtrans %}</a>
|
||||
{% if user.is_owner(comment) %}
|
||||
<a href="{{ url('pedagogy:comment_update', comment_id=comment.id) }}">{% trans %}Edit{% endtrans %}</a>
|
||||
<a href="{{ url('pedagogy:comment_delete', comment_id=comment.id) }}">{% trans %}Delete{% endtrans %}</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if comment.is_reported %}
|
||||
<p>{% trans %}This comment has been reported{% endtrans %}</p>
|
||||
{% endif %}
|
||||
|
||||
{% if user.is_owner(comment) %}
|
||||
<p><a href="{{ url('pedagogy:comment_update', comment_id=comment.id) }}">{% trans %}Edit{% endtrans %}</a></p>
|
||||
<p><a href="{{ url('pedagogy:comment_delete', comment_id=comment.id) }}">{% trans %}Delete{% endtrans %}</a></p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user