Skip to content

Commit

Permalink
comment recent: Better layout of buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
illume committed Oct 5, 2023
1 parent 849597b commit e75a050
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pygameweb/templates/comment/recent.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
width: 15%;
}

{% if current_user.is_authenticated and current_user.has_role('moderator') %}
.custom-table th:nth-child(4), .custom-table td:nth-child(4) {
width: 15%;
}
{% endif %}

</style>
{%set posts = comments_for(forum) %}
Expand Down

0 comments on commit e75a050

Please sign in to comment.