# HG changeset patch # User Christophe Lincoln # Date 1486751683 -3600 # Node ID 3a01dfb5ed7d1b69e9fa60271b3e554d35be2120 # Parent 2055649f54edc9139cd184edf9cb00c4f9b6a80d Display no message at all diff -r 2055649f54ed -r 3a01dfb5ed7d web/bugs.cgi --- a/web/bugs.cgi Fri Feb 10 19:29:38 2017 +0100 +++ b/web/bugs.cgi Fri Feb 10 19:34:43 2017 +0100 @@ -280,8 +280,7 @@ . ${PEOPLE}/${USER}/account.conf cat << EOT $(get_gravatar "$MAIL" 24) \ -ID: Bug $id - $DATE -$(echo $MSG | head -n 1)... +ID: Bug $id by $USER - $DATE EOT unset CREATOR USER MAIL } @@ -910,17 +909,17 @@

$(gettext "Latest Bugs")

EOT - # List last 5 bugs + # List last 4 bugs echo "
"
-		for lb in $(ls ${bugdir} | sort -r -n | head -n 5)
+		for lb in $(ls ${bugdir} | sort -r -n | head -n 4)
 		do
 			list_bug ${lb}
 		done
 		echo "
" - # List last 3 messages + # List last 4 messages echo "

$(gettext "Latest Messages")

" echo "
"
-		for msg in $(ls -t ${bugdir}/*/msg.* | head -n 3)
+		for msg in $(ls -t ${bugdir}/*/msg.* | head -n 4)
 		do
 			list_msg ${msg}
 		done