Skip to content

Commit 2822a49

Browse files
committed
templates/profile: Remove leading space before dot
9aaf31f added new line before "{% endfor %}." which renders space before dot (".") in "Maintainer of" and "Contributor to" sections. Although it was more readable correct rendered page is more important. Fixes: 9aaf31f ("templates: Use standard indentation") Signed-off-by: Petr Vorel <pvorel@suse.cz>
1 parent 1c3e4d4 commit 2822a49

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎patchwork/templates/patchwork/profile.html‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,15 @@ <h1>Your Profile</h1>
1010
<p>
1111
Maintainer of
1212
{% for project in user.profile.maintainer_projects.all %}
13-
<a href="{% url 'patch-list' project_id=project.linkname %}">{{ project.linkname }}</a>{% if not forloop.last %},{% endif %}
14-
{% endfor %}.
13+
<a href="{% url 'patch-list' project_id=project.linkname %}">{{ project.linkname }}</a>{% if not forloop.last %},{% endif %}{% endfor %}.
1514
</p>
1615
{% endif %}
1716

1817
{% if user.profile.contributor_projects.count %}
1918
<p>
2019
Contributor to
2120
{% for project in user.profile.contributor_projects.all %}
22-
<a href="{% url 'patch-list' project_id=project.linkname %}">{{ project.linkname }}</a>{% if not forloop.last %},{% endif %}
23-
{% endfor %}.
21+
<a href="{% url 'patch-list' project_id=project.linkname %}">{{ project.linkname }}</a>{% if not forloop.last %},{% endif %}{% endfor %}.
2422
</p>
2523
{% endif %}
2624

0 commit comments

Comments
 (0)