aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2019-03-06 11:44:09 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-03-06 11:44:09 +0000
commit6ba7906fda032f1a24c0e209129fe15e77dc11f9 (patch)
tree5d3b10e892a58381cfbffff3444ab8cd5a4edbee /templates
parent1e67b3fea57ee8560d0741c96bc5702c90980dad (diff)
Fix couple of links broken by admin code refactor.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/admin/bodies/open311-form-fields.html2
-rw-r--r--templates/web/base/admin/users/form.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/base/admin/bodies/open311-form-fields.html b/templates/web/base/admin/bodies/open311-form-fields.html
index b716cf175..bdd4ad935 100644
--- a/templates/web/base/admin/bodies/open311-form-fields.html
+++ b/templates/web/base/admin/bodies/open311-form-fields.html
@@ -90,7 +90,7 @@
<label for"comment_user_id">[% loc('User ID to attribute fetched comments to') %]</label>
<input type="text" class="form-control" name="comment_user_id" value="[% object.comment_user_id %]">
[% IF object.comment_user_id %]
- <a href="[% c.uri_for('user_edit', object.comment_user_id) %]">[% loc('edit user') %]</a>
+ <a href="[% c.uri_for_action('admin/users/edit', object.comment_user_id) %]">[% loc('edit user') %]</a>
[% END %]
</p>
diff --git a/templates/web/base/admin/users/form.html b/templates/web/base/admin/users/form.html
index ca3fd99fb..bc64a79c7 100644
--- a/templates/web/base/admin/users/form.html
+++ b/templates/web/base/admin/users/form.html
@@ -111,7 +111,7 @@
<p>
[% loc("Mark users whose behaviour you want to keep a check on as <strong>flagged</strong>.") %]
<br>
- [% tprintf(loc("Flagged users are listed on the <a href='%s'>flagged</a> page."), c.uri_for( 'flagged' )) %]
+ [% tprintf(loc("Flagged users are listed on the <a href='%s'>flagged</a> page."), c.uri_for_action( 'admin/flagged' )) %]
<br>
[% loc("You can add an abusive user's email to the abuse list, which automatically hides (and never sends) reports they create.") %]
</p>