[bugzilla-gnome-org-customizations/production] Link in top bar to "Browse" product overview page in show_bug.cgi



commit 1c04ffd8f1822146deed898dcad803a6f139f90b
Author: Andre Klapper <ak-47 gmx net>
Date:   Tue Feb 24 23:40:34 2015 +0100

    Link in top bar to "Browse" product overview page in show_bug.cgi
    
    Now for real. Sigh.
    
    Bug 743056

 .../en/default/global/common-links.html.tmpl       |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/extensions/TemplateOverrides/template/en/default/global/common-links.html.tmpl 
b/extensions/TemplateOverrides/template/en/default/global/common-links.html.tmpl
index 2a46e48..c170f31 100644
--- a/extensions/TemplateOverrides/template/en/default/global/common-links.html.tmpl
+++ b/extensions/TemplateOverrides/template/en/default/global/common-links.html.tmpl
@@ -12,7 +12,11 @@
 <ul class="links">
   <li><a href="./">Home</a></li>
   <li><span class="separator">| </span><a href="enter_bug.cgi">New</a></li>
-  <li><span class="separator">| </span><a href="page.cgi?id=browse.html">Browse</a></li>
+  [% IF bug.product %]
+    <li><span class="separator">| </span><a href="page.cgi?id=browse.html&amp;product=[% bug.product FILTER 
html %]">Browse</a></li>
+  [% ELSE %]
+    <li><span class="separator">| </span><a href="page.cgi?id=browse.html">Browse</a></li>
+  [% END %]
   <li><span class="separator">| </span><a href="query.cgi">Search</a></li>
 
   <li class="form">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]