Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ repos:
hooks:
- id: validate-pyproject
- repo: https://github.com/djlint/djLint
rev: v1.36.4
rev: v1.39.0
hooks:
- id: djlint-reformat-django
types_or: [html, text]
Expand Down
8 changes: 6 additions & 2 deletions weblate/templates/base.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% load compress i18n icons permissions static translations %}

<!DOCTYPE html>
Expand Down Expand Up @@ -217,9 +217,13 @@
href="{% url 'checks' path=projectlanguage.get_url_path %}">{% blocktranslate %}Failing checks in {{ project }} — {{ language }}{% endblocktranslate %}</a>
</li>
{% endfor %}
{% if languages|length > 1 %}<li role="separator" class="divider"></li>{% endif %}
{% if languages|length > 1 %}
<li role="separator" class="divider"></li>
{% endif %}
{% endfor %}
{% if languages|length == 1 %}<li role="separator" class="divider"></li>{% endif %}
{% if languages|length == 1 %}
<li role="separator" class="divider"></li>
{% endif %}
{% endif %}
{% for project in watched_projects %}
<li>
Expand Down
4 changes: 1 addition & 3 deletions weblate/templates/trans/alert/duplicatestring.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
{% for occurrence in occurrences %}
<tr>
<td>{{ occurrence.language }}</td>
<td>
{% if occurrence.unit %}{{ occurrence.unit.translation.filename }}{% endif %}
</td>
<td>{% if occurrence.unit %}{{ occurrence.unit.translation.filename }}{% endif %}</td>
<td>
{% if occurrence.unit %}
<a href="{{ occurrence.unit.get_absolute_url }}">{% format_unit_source occurrence.unit %}</a>
Expand Down
4 changes: 3 additions & 1 deletion weblate/templates/trans/project-access-row.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
</td>
{% endif %}
<td>{{ user.full_name }}</td>
{% if not user.is_bot and can_edit_user %}<td>{{ user.email }}</td>{% endif %}
{% if not user.is_bot and can_edit_user %}
<td>{{ user.email }}</td>
{% endif %}
<td>
{% if user.is_bot %}
{{ user.date_expires|naturaltime }}
Expand Down
Loading