Fix the badge text

1.Hide the badge when no courses to do.

2.Use '...' to show the status of updating date.