summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/navigate.html.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/template/en/default/bug/navigate.html.tmpl b/template/en/default/bug/navigate.html.tmpl
index 8d7f8df12..f0c924160 100644
--- a/template/en/default/bug/navigate.html.tmpl
+++ b/template/en/default/bug/navigate.html.tmpl
@@ -28,6 +28,9 @@
[% bug.bug_id FILTER uri %]">Format For Printing</a></li>
<li>&nbsp;-&nbsp;<a href="show_bug.cgi?ctype=xml&amp;id=
[% bug.bug_id FILTER uri %]">XML</a></li>
+ [% IF NOT bug.groups_in.size %]
+ <li>&nbsp;-&nbsp;<a href="rest/bug/[% bug.bug_id FILTER uri %]">JSON</a></li>
+ [% END %]
<li>&nbsp;-&nbsp;
<a href="enter_bug.cgi?format=__default__&amp;cloned_bug_id=[% bug.bug_id FILTER uri %]"
id="clone_bug"