[bugzilla-gnome-org-extensions] trace parser: Use proper filter
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bugzilla-gnome-org-extensions] trace parser: Use proper filter
- Date: Thu, 20 Nov 2014 22:28:36 +0000 (UTC)
commit fbe54aaec7d2e72c6ecba1b8e196c870d09ae9ec
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Wed Nov 19 14:23:49 2014 +0100
trace parser: Use proper filter
url_quote filter does not exist in Template Toolkit. Maybe it existed
in previous major version. Replaced it with plain url filter.
.../pages/traceparser/popular-traces.html.tmpl | 2 +-
.../en/default/pages/traceparser/trace.html.tmpl | 4 ++--
.../en/default/traceparser/format.html.tmpl | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/TraceParser/template/en/default/pages/traceparser/popular-traces.html.tmpl
b/TraceParser/template/en/default/pages/traceparser/popular-traces.html.tmpl
index c725b22..f4d5136 100644
--- a/TraceParser/template/en/default/pages/traceparser/popular-traces.html.tmpl
+++ b/TraceParser/template/en/default/pages/traceparser/popular-traces.html.tmpl
@@ -40,7 +40,7 @@
[% FOREACH trace = traces %]
<li>
<a href="page.cgi?id=traceparser/trace.html&trace_id=
- [%- trace.id FILTER url_quote %]">
+ [%- trace.id FILTER url %]">
[%- trace_count.${trace.id} FILTER html %]</a>:
[% FOREACH function = trace.short_stack %]
[% function FILTER html %]
diff --git a/TraceParser/template/en/default/pages/traceparser/trace.html.tmpl
b/TraceParser/template/en/default/pages/traceparser/trace.html.tmpl
index 392764d..61afb4a 100644
--- a/TraceParser/template/en/default/pages/traceparser/trace.html.tmpl
+++ b/TraceParser/template/en/default/pages/traceparser/trace.html.tmpl
@@ -26,7 +26,7 @@
[% IF user.in_group('traceparser_edit') %]
<h2>Properties of trace [% trace.id FILTER html %]</h2>
<form action="page.cgi?id=traceparser/trace.html&trace_id=
- [%- trace.id FILTER url_quote %]"
+ [%- trace.id FILTER url %]"
method="POST">
<div>
<p>If a trace with an <em>identical</em> function stack is submitted,
@@ -74,7 +74,7 @@
[% SET bug = this_trace.bug %]
<li>
<a href="page.cgi?id=traceparser/trace.html&trace_id=
- [%- this_trace.id FILTER url_quote %]">Trace
+ [%- this_trace.id FILTER url %]">Trace
[%+ this_trace.id FILTER html %]</a>
(Quality: <strong>[% this_trace.quality FILTER html %]</strong>)
on
diff --git a/TraceParser/template/en/default/traceparser/format.html.tmpl
b/TraceParser/template/en/default/traceparser/format.html.tmpl
index b0d89b5..b4e127f 100644
--- a/TraceParser/template/en/default/traceparser/format.html.tmpl
+++ b/TraceParser/template/en/default/traceparser/format.html.tmpl
@@ -27,7 +27,7 @@
onclick="traceparser_toggle_trace(this, [% trace.id FILTER html %]); return false;">
[%~ IF show %]—[% ELSE %]+[% END %]</a>
<a href="page.cgi?id=traceparser/trace.html&trace_id=
- [%- trace.id FILTER url_quote %]">Trace
+ [%- trace.id FILTER url %]">Trace
[%+ trace.id FILTER html %]</a></p>
<table border="0" cellpadding="0" cellspacing="0"><tr><td>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]