aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-01-15 19:32:56 +0000
committerMatthew Somerville <matthew@mysociety.org>2016-01-19 15:51:16 +0000
commit9232c62b050f5b9371b3c74dfe57e87ad186b9c9 (patch)
tree0eba0334066bf38796392f314366f712da519f06 /templates
parent3d5e0210feacf96e21e1916ab0df84b83f5f05e2 (diff)
Pad internal update links so they are in view.
Fixes #1308.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/report/update.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/report/update.html b/templates/web/base/report/update.html
index 66e698606..a09913d39 100644
--- a/templates/web/base/report/update.html
+++ b/templates/web/base/report/update.html
@@ -28,6 +28,7 @@
<p class="meta-2"> [% INCLUDE meta_line %] </p>
</div>
[% ELSE %]
+ <a name="update_[% update.id %]" class="internal-link-fixed-header"></a>
[% INCLUDE 'report/photo.html' object=update %]
<div class="item-list__update-text">
<div class="moderate-display">
@@ -44,7 +45,6 @@
[% END %]
<p class="meta-2">
- <a name="update_[% update.id %]"></a>
[% INCLUDE meta_line %]
[% mlog = update.latest_moderation_log_entry(); IF mlog %]
<br /> Moderated by [% mlog.user.from_body.name %] at [% prettify_dt(mlog.whenedited) %]