Commit ea87160c authored by Dan McGee's avatar Dan McGee
Browse files

releng: ensure links are valid for option names with spaces

Can't believe this went unnoticed for so long.

Signed-off-by: default avatarDan McGee <>
parent 20899d59
......@@ -81,6 +81,7 @@ def calculate_option_overview(field_name):
is_rollback = field_name.startswith('rollback_')
option = {
'option': model,
'field_name': field_name,
'name': model._meta.verbose_name,
'is_rollback': is_rollback,
'values': []
......@@ -6,7 +6,7 @@
{% for item in option.values %}
<a href="{% url releng-results-for|lower %}">
<a href="{% url releng-results-for option.field_name %}">
{{|lower }}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment