Last reply in topics now has an avatar!
This commit is contained in:
parent
14424687d6
commit
7d4126443c
2 changed files with 37 additions and 12 deletions
|
@ -89,18 +89,33 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding-left: 1px;
|
padding-left: 1px;
|
||||||
min-width: 70px;
|
min-width: 70px;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__activity {
|
&__activity {
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
padding-left: 3px;
|
padding-left: 3px;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
&__info {
|
||||||
|
flex-grow: 1;
|
||||||
|
flex-shrink: 1;
|
||||||
|
margin-left: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__avatar {
|
||||||
|
width: 36px;
|
||||||
|
height: 36px;
|
||||||
|
flex-grow: 0;
|
||||||
|
flex-shrink: 0;
|
||||||
|
margin-right: 2px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__stats,
|
&__stats,
|
||||||
&__activity {
|
&__activity {
|
||||||
display: inline-flex;
|
display: flex;
|
||||||
flex-direction: column;
|
|
||||||
justify-content: center;
|
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
border-left: 1px solid #9475b2;
|
border-left: 1px solid #9475b2;
|
||||||
|
|
|
@ -173,6 +173,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="forum__topics__entry__activity">
|
<div class="forum__topics__entry__activity">
|
||||||
|
<div class="forum__topics__entry__activity__info">
|
||||||
<div class="forum__topics__entry__activity__datetime">
|
<div class="forum__topics__entry__activity__datetime">
|
||||||
<a href="/forum/topic.php?p={{ topic.response_id }}#p{{ topic.response_id }}" class="forum__topics__entry__activity__datetime__link">
|
<a href="/forum/topic.php?p={{ topic.response_id }}#p{{ topic.response_id }}" class="forum__topics__entry__activity__datetime__link">
|
||||||
{{ topic.response_created }}
|
{{ topic.response_created }}
|
||||||
|
@ -186,6 +187,15 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% if topic.respondent_id is not null %}
|
||||||
|
<a
|
||||||
|
href="/profile.php?u={{ topic.respondent_id }}"
|
||||||
|
class="avatar forum__topics__entry__activity__avatar"
|
||||||
|
style="background-image:url('/profile.php?u={{ topic.respondent_id }}&m=avatar')">
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue