Hallo,
jetzt, da ich dieses Thema gesehen habe, fiel mir ein, dass ich zuvor einen Commit dazu gesehen hatte. ![]()
Ich denke, das sollte jetzt funktionieren ![]()
Header
<script type="text/discourse-plugin" version="0.8">
api.includePostAttributes('topicMap');
</script>
Ich habe auch ein wenig CSS hinzugefügt, um unnötige Statistiken auszublenden, wenn keine anderen Beiträge vorhanden sind.
Common / CSS
body:not(.archetype-private_message) {
.topic-post.regular {
// if last-of-type is the #post_1
&:last-of-type {
article#post_1 {
.topic-map {
width: max-content;
nav.buttons {
display: none;
}
ul li {
// hide all statistics but views
&:not(.secondary.views) {
display: none;
}
}
// show views on mobile view
.secondary.views {
.mobile-view & {
display: list-item;
text-align: center;
}
}
}
}
}
}
}
Desktop (ohne Antwort)
Mobile (ohne Antwort)
Wenn jemand antwortet, wird es wieder auf die Standardeinstellung zurückgesetzt.



