make dynamic content portable using uri_for

This commit is contained in:
Oliver Gorwits
2012-01-18 14:45:53 +00:00
parent b2adf9d839
commit 266faacfe0
16 changed files with 48 additions and 43 deletions

View File

@@ -14,7 +14,7 @@
</tbody>
[% WHILE (row = results.next) %]
<tr>
<td><a href="/device?ip=[% row.ip %]">[% row.dns.remove(settings.domain_suffix) %]</a></td>
<td><a href="[% uri_for('/device') %]?ip=[% row.ip %]">[% row.dns.remove(settings.domain_suffix) %]</a></td>
<td>[% row.contact %]</td>
<td>[% row.location %]</td>
<td>[% row.name %]</td>