diff options
Diffstat (limited to 'templates/web/base')
-rw-r--r-- | templates/web/base/my/my.html | 2 | ||||
-rw-r--r-- | templates/web/base/questionnaire/index.html | 2 | ||||
-rw-r--r-- | templates/web/base/report/_main.html | 2 | ||||
-rw-r--r-- | templates/web/base/report/update.html | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/templates/web/base/my/my.html b/templates/web/base/my/my.html index 9ba9533f8..69f686f68 100644 --- a/templates/web/base/my/my.html +++ b/templates/web/base/my/my.html @@ -56,7 +56,7 @@ <div class="item-list__update-wrap"> [% INCLUDE 'report/photo.html' object=u %] <div class="item-list__update-text"> - [% add_links( u.text ) | html_para %] + [% u.text | add_links | html_para %] <p class="meta-2"> [% tprintf( loc("Added %s"), prettify_dt( u.confirmed, 'date' ) ) %] diff --git a/templates/web/base/questionnaire/index.html b/templates/web/base/questionnaire/index.html index 312300b9d..b4595bbcd 100644 --- a/templates/web/base/questionnaire/index.html +++ b/templates/web/base/questionnaire/index.html @@ -25,7 +25,7 @@ <strong>Last update</strong> <a href="/report/[% problem.id %]">Show all updates</a> </p> - <p class="questionnaire-report-reminder__last-update">“[% add_links( updates.last.text ) %]”</p> + <p class="questionnaire-report-reminder__last-update">“[% updates.last.text | add_links %]”</p> [% END %] </div> diff --git a/templates/web/base/report/_main.html b/templates/web/base/report/_main.html index e536d3f33..dfcfb8ce4 100644 --- a/templates/web/base/report/_main.html +++ b/templates/web/base/report/_main.html @@ -58,7 +58,7 @@ [% INCLUDE 'report/photo.html' object=problem %] <div class="moderate-display"> - [% add_links( problem.detail ) | html_para %] + [% problem.detail | add_links | html_para %] </div> [% IF moderating %] diff --git a/templates/web/base/report/update.html b/templates/web/base/report/update.html index 93d03c75d..55fdeb3b1 100644 --- a/templates/web/base/report/update.html +++ b/templates/web/base/report/update.html @@ -31,7 +31,7 @@ [% INCLUDE 'report/photo.html' object=update %] <div class="item-list__update-text"> <div class="moderate-display"> - [% add_links( update.text ) | html_para %] + [% update.text | add_links | html_para %] </div> [% IF moderating %] <div class="moderate-edit"> @@ -39,7 +39,7 @@ <label><input type="checkbox" name="update_revert_detail" class="revert-textarea"> Revert to original</label> [% END %] - <textarea name="update_detail">[% add_links( update.text ) %]</textarea> + <textarea name="update_detail">[% update.text | add_links %]</textarea> </div> [% END %] |