Skip to content

Commit

Permalink
style: improved admin changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Sep 28, 2024
1 parent 8052d81 commit 36774f4
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions phpmyfaq/assets/templates/admin/content/faq.editor.twig
Original file line number Diff line number Diff line change
Expand Up @@ -366,17 +366,27 @@
</h6>
<div class="row mb-2">
<div class="offset-2 col-lg-10">
<ul>
{% for changelog in changelogs %}
<li class="small pt-0">
<i class="bi bi-archive"></i> {{ ad_entry_revision }} 1.{{ changelog['revision_id'] }}
<i class="bi bi-calendar"></i> {{ changelog['date'] | date('Y-m-d H:i:s') }}
<i class="bi bi-person-fill"></i> {{ changelog['user'] | realName }}
<br>
{{ changelog['changelog'] }}
</li>
<div class="d-flex align-items-center flex-wrap text-muted mb-md-0 mb-4 small">
<div class="border-end pe-3 me-3 mb-2">
<i aria-hidden="true" class="bi bi-person-fill"></i>
{{ changelog['user'] | realName }}
</div>
<div class="d-flex mb-2">
<div class="d-flex border-end align-items-center pe-3 me-3">
<i aria-hidden="true" class="bi bi-calendar-date me-1"></i>
{{ changelog['date'] | date('Y-m-d H:i:s') }}
</div>
<div class="d-flex align-items-center me-3">
<i aria-hidden="true" class="bi bi-archive me-1"></i>
{{ ad_entry_revision }} 1.{{ changelog['revision_id'] }}
</div>
</div>
</div>
<p class="border-bottom">
{{ changelog['changelog'] }}
</p>
{% endfor %}
</ul>
</div>
</div>
</div>
Expand Down

0 comments on commit 36774f4

Please sign in to comment.