Skip to content
Snippets Groups Projects
Commit 1fcd7d08 authored by Stauros Kroustouris's avatar Stauros Kroustouris
Browse files

fix message formatting

parent 4296d788
Branches
Tags
No related merge requests found
......@@ -149,5 +149,5 @@ def check_if_rule_exists(fields):
destination=IPNetwork(fields.get('destination')).compressed,
)
for route in routes:
return _('Rule exists: %s' % reverse('edit-route', args=[route.name]))
return _('Rule exists with id %s and status %s. Please edit it.' % (route.id, route.status))
return False
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment