diff options
Diffstat (limited to 'extensions/Splinter/template/en/default/hook/attachment')
-rw-r--r-- | extensions/Splinter/template/en/default/hook/attachment/edit-action.html.tmpl | 10 | ||||
-rw-r--r-- | extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl | 10 |
2 files changed, 4 insertions, 16 deletions
diff --git a/extensions/Splinter/template/en/default/hook/attachment/edit-action.html.tmpl b/extensions/Splinter/template/en/default/hook/attachment/edit-action.html.tmpl index ba564d4b4..7648e1d76 100644 --- a/extensions/Splinter/template/en/default/hook/attachment/edit-action.html.tmpl +++ b/extensions/Splinter/template/en/default/hook/attachment/edit-action.html.tmpl @@ -20,12 +20,6 @@ #%] [% IF attachment.ispatch %] -  | - [% IF Param("splinter_base").search('\?') %] - <a href="[% urlbase FILTER none %][% Param("splinter_base") FILTER html %]&bug=[% attachment.bug_id FILTER uri %]&attachment=[% attachment.id FILTER uri%]"> - Splinter Review</a> - [% ELSE %] - <a href="[% urlbase FILTER none %][% Param("splinter_base") FILTER html %]?bug=[% attachment.bug_id FILTER uri %]&attachment=[% attachment.id FILTER uri %]"> - Splinter Review</a> - [% END %] +   | + <a href="[% Bugzilla.splinter_review_url(attachment.bug_id, attachment.id) FILTER none %]">Review</a> [% END %] diff --git a/extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl b/extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl index 51babf079..cd2db2770 100644 --- a/extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl +++ b/extensions/Splinter/template/en/default/hook/attachment/list-action.html.tmpl @@ -20,12 +20,6 @@ #%] [% IF attachment.ispatch %] -  | - [% IF Param("splinter_base").search('\?') %] - <a href="[% urlbase FILTER none %][% Param("splinter_base") FILTER html %]&bug=[% bugid FILTER uri %]&attachment=[% attachment.id FILTER uri %]"> - Splinter Review</a> - [% ELSE %] - <a href="[% urlbase FILTER none %][% Param("splinter_base") FILTER html %]?bug=[% bugid FILTER uri %]&attachment=[% attachment.id FILTER uri %]"> - Splinter Review</a> - [% END %] +   | + <a href="[% Bugzilla.splinter_review_url(bug.id, attachment.id) FILTER none %]">Review</a> [% END %] |