["While I was on maternity leave, I worked from home a little bit.  I don't think my boss liked it very much though."]
Oh, well that isn't fair of your boss! Most people wouldn't work at all while are maternity leave, he should be grateful!
I was on maternity leave but still working from home some.  My boss would call and scream at me about things that happened while I wasn't even there.