Skip to content

Commit

Permalink
improve UI
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Aug 22, 2024
1 parent 07ba840 commit 3704928
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/templates/list.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -86,23 +86,23 @@
<p class="oneline-hide-overflow m-0 p-0">
{% if patch.subject_type %}
分类:
<span class="badge bg-light text-dark">
<span class="badge bg-light text-dark border border-info">
{{ patch.subject_type | subject_type_readable }}
</span>
{% endif %}
{% if patch.original_name %}
条目名:
<span class="badge bg-light text-dark">{{ patch.original_name }}</span>
<span class="badge bg-light text-dark border border-info">{{ patch.original_name }}</span>
{% endif %}
</p>
</div>

<small>from:
<span class="badge bg-light text-dark">{{ users.get(patch.from_user_id).nickname | default(patch.from_user_id) }}</span>
<span class="badge bg-light text-dark border border-info">{{ users.get(patch.from_user_id).nickname | default(patch.from_user_id) }}</span>
</small>
{% if patch.state != 0 %}
<small>reviewed by:
<span class="badge bg-light text-dark">{{ users.get(patch.wiki_user_id).nickname | default(patch.wiki_user_id) }}</span>
<span class="badge bg-light text-dark border border-info">{{ users.get(patch.wiki_user_id).nickname | default(patch.wiki_user_id) }}</span>
</small>
{% endif %}
</a>
Expand Down

0 comments on commit 3704928

Please sign in to comment.