RR: show add buttons if the user has permission
RR: show only if there is content, close  #823
RR: correct indentation
RR: fix style test
PLD: let managers see the edit button too
Merge pull request #1032 from onaio/823_selectively_show_link_buttons

823 selectively show link buttons