diff options
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/bug/navigate.html.tmpl | 3 |
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> - <a href="show_bug.cgi?ctype=xml&id= [% bug.bug_id FILTER uri %]">XML</a></li> + [% IF NOT bug.groups_in.size %] + <li> - <a href="rest/bug/[% bug.bug_id FILTER uri %]">JSON</a></li> + [% END %] <li> - <a href="enter_bug.cgi?format=__default__&cloned_bug_id=[% bug.bug_id FILTER uri %]" id="clone_bug" |