Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
b7cc4df9
Verified
Commit
b7cc4df9
authored
Nov 21, 2020
by
Baptiste Beauplat
Browse files
urlencode package name in PTS links
parent
05de1aeb
Changes
2
Hide whitespace changes
Inline
Side-by-side
debexpo/packages/templates/package.html
View file @
b7cc4df9
...
...
@@ -10,7 +10,7 @@
<th>
{% trans 'Name:' %}
</th>
<td>
{{ package.name }}
{% if package.in_debian %}
(
<a
href=
"https://tracker.debian.org/pkg/{{ package.name }}"
>
PTS
</a
(
<a
href=
"https://tracker.debian.org/pkg/{{ package.name
|urlencode
}}"
>
PTS
</a
>
)
{% endif %}
</td>
...
...
debexpo/packages/templates/packages-list.html
View file @
b7cc4df9
...
...
@@ -35,7 +35,7 @@
</td>
<td
class=
"lines"
>
{% if pkg.in_debian %}
<a
href=
"https://tracker.debian.org/pkg/{{ pkg.name }}"
>
{% trans 'Yes' %}
</a>
<a
href=
"https://tracker.debian.org/pkg/{{ pkg.name
|urlencode
}}"
>
{% trans 'Yes' %}
</a>
{% else %}
{% trans 'No' %}
{% endif %}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment