summaryrefslogtreecommitdiff
path: root/util/board_status/to-wiki/towiki.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/board_status/to-wiki/towiki.sh')
-rwxr-xr-xutil/board_status/to-wiki/towiki.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/util/board_status/to-wiki/towiki.sh b/util/board_status/to-wiki/towiki.sh
index 52448439b9..1778061a6d 100755
--- a/util/board_status/to-wiki/towiki.sh
+++ b/util/board_status/to-wiki/towiki.sh
@@ -379,13 +379,14 @@ EOF
esac
echo "|- bgcolor=\"#$color\""
- echo "| $vendor_nice"
- echo -n "| [[Board:$vendor/$board|$board_nice]]"
+
if [ -z "$board_url" ]; then
- echo
+ echo "| $vendor_nice"
else
- echo " [$board_url vendor page]"
+ echo "| [$board_url $vendor_nice]"
fi
+ echo "| [[Board:$vendor/$board|$board_nice]]"
+
if [ -z "$lastgood" ]; then
echo "| style=\"background:red\" | Unknown"
else