Skip to content

Commit

Permalink
Merge branch 'main' into new/report-notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
BentiGorlich authored Jun 7, 2024
2 parents 22e72fa + 1e6d471 commit bc5e8b1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,13 @@ For developers:
</a>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/CocoPoops">
<img src="https://avatars.githubusercontent.com/u/7891055?v=4" width="100;" alt="CocoPoops"/>
<br />
<sub><b>CocoPoops</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/garrettw">
<img src="https://avatars.githubusercontent.com/u/84885?v=4" width="100;" alt="garrettw"/>
Expand All @@ -210,13 +217,6 @@ For developers:
<sub><b>Bryson</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/CocoPoops">
<img src="https://avatars.githubusercontent.com/u/7891055?v=4" width="100;" alt="CocoPoops"/>
<br />
<sub><b>CocoPoops</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/vpzomtrrfrt">
<img src="https://avatars.githubusercontent.com/u/3528358?v=4" width="100;" alt="vpzomtrrfrt"/>
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RUN chown -R $USER:$GROUP /usr/local/etc/php-fpm.d

####################

FROM caddy:2.8.1-builder-alpine AS builder-caddy
FROM caddy:2.8.4-builder-alpine AS builder-caddy

# Build Caddy with the Mercure and Vulcain and brotil cache modules
RUN xcaddy build \
Expand Down
10 changes: 8 additions & 2 deletions templates/modlog/_blocks.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,15 @@
{% endblock %}

{% block log_moderator_add %}
{{ component('user_inline', {user: log.actingUser}) }} {{ 'magazine_log_mod_added'|trans }}: {{ component('user_inline', {user: log.user}) }}
{% if log.actingUser is not same as null %}
{{ component('user_inline', {user: log.actingUser}) }}
{% endif %}
{{ 'magazine_log_mod_added'|trans }}: {{ component('user_inline', {user: log.user}) }}
{% endblock %}

{% block log_moderator_remove %}
{{ component('user_inline', {user: log.actingUser}) }} {{ 'magazine_log_mod_removed'|trans }}: {{ component('user_inline', {user: log.user}) }}
{% if log.actingUser is not same as null %}
{{ component('user_inline', {user: log.actingUser}) }}
{% endif %}
{{ 'magazine_log_mod_removed'|trans }}: {{ component('user_inline', {user: log.user}) }}
{% endblock %}

0 comments on commit bc5e8b1

Please sign in to comment.