aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2015-07-30 16:39:23 +0100
committerMatthew Somerville <matthew@mysociety.org>2015-07-30 17:42:14 +0100
commit9b61f5a2294d786f97c6bf78375257ca339638bd (patch)
tree5591c5c7eb1f11e24fae8da75b7a948ff0821bae /templates
parent68fc33ac915bda5c5e737c037eb7854068039d29 (diff)
Add link to comment user ID from body form if present.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/admin/body-form.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/web/base/admin/body-form.html b/templates/web/base/admin/body-form.html
index 4122ecd3f..6b103a7cf 100644
--- a/templates/web/base/admin/body-form.html
+++ b/templates/web/base/admin/body-form.html
@@ -184,6 +184,9 @@
<p>
<label for"comment_user_id">User ID to attribute fetched comments to</label>
<input type="text" name="comment_user_id" value="[% body.comment_user_id %]">
+ [% IF body.comment_user_id %]
+ <a href="[% c.uri_for('user_edit', body.comment_user_id) %]">[% loc('edit user') %]</a>
+ [% END %]
</p>
<div class="admin-hint">