From 746c9d6e15711ba84fe2e326dbd162ef320d8516 Mon Sep 17 00:00:00 2001 From: Valerie R Young Date: Wed, 3 Aug 2016 17:35:22 -0400 Subject: reproducible debian: fix bug that removed suite/arch nav for dashboard pages Signed-off-by: Holger Levsen --- bin/reproducible_common.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 81148cfc..c9129509 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -196,7 +196,7 @@ write_page_header() { fi # Create json for suite links (a list of objects) - suite_links="\"suite_list\": [" + suite_links="\"suite_nav\": { \"suite_list\": [" comma=0 for s in $SUITES ; do if [ "$s" = "$SUITE" ] ; then @@ -212,10 +212,10 @@ write_page_header() { comma=1 fi done - suite_links+="]" + suite_links+="]}" # Create json for arch links (a list of objects) - arch_links="\"arch_list\": [" + arch_links="\"arch_nav\": {\"arch_list\": [" comma=0 for a in ${ARCHS} ; do if [ "$a" = "$ARCH" ] ; then @@ -231,7 +231,7 @@ write_page_header() { comma=1 fi done - arch_links+="]" + arch_links+="]}" # finally, the completely formed JSON context context=$(printf '{ -- cgit v1.2.3-70-g09d2