From 0131b54976afdd3662475e7e84ad66c2997c0287 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Fri, 15 Mar 2013 13:30:57 +0800 Subject: Bug 850675: editing the splinter url always appends a /, which results in a broken url --- .../template/en/default/hook/request/email-after_summary.txt.tmpl | 5 +++-- .../template/en/default/hook/request/queue-after_column.html.tmpl | 8 ++------ 2 files changed, 5 insertions(+), 8 deletions(-) (limited to 'extensions/Splinter/template/en/default/hook/request') diff --git a/extensions/Splinter/template/en/default/hook/request/email-after_summary.txt.tmpl b/extensions/Splinter/template/en/default/hook/request/email-after_summary.txt.tmpl index 320d20a82..c9717fbd6 100644 --- a/extensions/Splinter/template/en/default/hook/request/email-after_summary.txt.tmpl +++ b/extensions/Splinter/template/en/default/hook/request/email-after_summary.txt.tmpl @@ -1,6 +1,7 @@ +[% USE Bugzilla %] [% IF flag && flag.status == '?' && flag.type.name == 'review' && attachment && attachment.ispatch %] -Splinter Review -[%+ urlbase FILTER none %][% Param('splinter_base') %]&bug=[% bug.bug_id FILTER uri %]&attachment=[% attachment.id FILTER uri %] +Review +[%+ Bugzilla.splinter_review_url(request.bug_id, request.attach_id) FILTER none %] [%- END %] diff --git a/extensions/Splinter/template/en/default/hook/request/queue-after_column.html.tmpl b/extensions/Splinter/template/en/default/hook/request/queue-after_column.html.tmpl index 5d1c7a2bb..a5fc61cea 100644 --- a/extensions/Splinter/template/en/default/hook/request/queue-after_column.html.tmpl +++ b/extensions/Splinter/template/en/default/hook/request/queue-after_column.html.tmpl @@ -1,8 +1,4 @@ [% IF column == 'attachment' && request.ispatch %] -   - [% IF Param("splinter_base").search('\?') %] - [review] - [% ELSE %] - [review] - [% END %] +   + [review] [% END %] -- cgit v1.2.3-24-g4f1b