diff options
author | mboelen <michael@cisofy.com> | 2015-12-03 14:14:39 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-12-03 14:14:39 +0300 |
commit | e75569babfff9475fe900f6719d28f0ed37898da (patch) | |
tree | d02617e4451739c8ae8f4a046a345adb3a2846cb /include | |
parent | e51e65a677c6751578c88c7daab0028c1849229c (diff) |
If a suggestion has specific details, show it on screen
Diffstat (limited to 'include')
-rw-r--r-- | include/report | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/report b/include/report index 139101c5..b92354f5 100644 --- a/include/report +++ b/include/report @@ -134,8 +134,10 @@ for SUGGESTION in ${SSUGGESTIONS}; do SHOWSUGGESTION=`echo ${SUGGESTION} | sed 's/!space!/ /g' | sed 's/^\[\(.*\)\] Suggestion: //' | sed 's/\[details:\(.*\)\] \[solution:\(.*\)\]//' | sed 's/test://'` ADDLINK=`echo ${SUGGESTION} | sed 's/!space!/ /g' | sed 's/^\[\(.*\)\] Suggestion: \(.*\)\[test://' | sed 's/\]\(.*\)]//'` + DETAILS=`echo ${SUGGESTION} | sed 's/!space!/ /g' | sed 's/^\[\(.*\)\] Suggestion: \(.*\)\[details://' | sed 's/\]\(.*\)]//'` IS_CUSTOM=`echo ${ADDLINK} | grep "^CUST"` echo " - ${SHOWSUGGESTION}" + if [ ! "${DETAILS}" = "-" ]; then echo " - Details: ${DETAILS}"; fi if [ "${IS_CUSTOM}" = "" ]; then echo " ${CONTROL_URL_PREPEND}${ADDLINK}${CONTROL_URL_APPEND}" else |