summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/useful-links.html.tmpl
diff options
context:
space:
mode:
authorJulien Heyman <jheyman@portaildulibre.fr>2012-08-07 23:59:18 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-08-07 23:59:18 +0200
commit14d7441b73d32614aa0e086c5f69ac087b939a48 (patch)
tree281660eac457755f199b4600439e2a7973f54612 /template/en/default/global/useful-links.html.tmpl
parenteb04bb66cee35f39d546403ea4f777b43452cd4d (diff)
downloadbugzilla-14d7441b73d32614aa0e086c5f69ac087b939a48.tar.gz
bugzilla-14d7441b73d32614aa0e086c5f69ac087b939a48.tar.xz
Bug 319598: Add support for saved tabular and graphical reports
r/a=LpSolit
Diffstat (limited to 'template/en/default/global/useful-links.html.tmpl')
-rw-r--r--template/en/default/global/useful-links.html.tmpl13
1 files changed, 12 insertions, 1 deletions
diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl
index 1b5ba9a30..5959ab656 100644
--- a/template/en/default/global/useful-links.html.tmpl
+++ b/template/en/default/global/useful-links.html.tmpl
@@ -56,7 +56,18 @@
</li>
[% END %]
- [%# Individual bugs addition %]
+ [% IF user.reports.size %]
+ <li id="reports-saved">
+ <ul class="links">
+ [% FOREACH r = user.reports %]
+ <li>[% '<span class="separator">| </span>' IF print_pipe %]
+ <a href="report.cgi?[% r.query FILTER html %]&amp;saved_report_id=
+ [%~ r.id FILTER uri %]">[% r.name FILTER html %]</a></li>
+ [% print_pipe = 1 %]
+ [% END %]
+ </ul>
+ </li>
+ [% END %]
[%# Sections of links to more things users can do on this installation. %]
[% Hook.process("end") %]