Skip to content

Commit

Permalink
fix: correct formatting of user teams table
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Dec 11, 2024
1 parent 1781de2 commit d849948
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion weblate/templates/accounts/user.html
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ <h3>{{ page_user }}</h3>
<th>{{ group.defining_project }}</th>
{% else %}
<td>
<em>{% trans "None" context "No project associated with group" %}</em>
<em>{% trans "Site-wide team" %}</em>
</td>
{% endif %}
<th>{{ group.name }}</th>
Expand All @@ -349,6 +349,7 @@ <h3>{{ page_user }}</h3>
{% for userblock in page_user.userblock_set.all %}
<tr>
<th>{{ userblock.project.name }}</th>
<td></td>
<td>
{% if userblock.expiry %}
{% blocktrans with expiry=userblock.expiry|date:"DATE_FORMAT" %}Blocked until {{ expiry }}{% endblocktrans %}
Expand Down

0 comments on commit d849948

Please sign in to comment.