Make changes to task card so that the task attritubes of the card are only displayed when necessary
Make changes to task card so that the task attritubes of the card are only displayed when necessary

CS2103AUG2016-T17-C1/main