Conditionallly hide a button upon page entry

I have a page that is a repeater. In the repeater, some items have additional information on another page, so I have a button that links to that other page. However, some items don’t have the additional information. So, I only want that button active when the page is opened and the button has a link. If there is no link, I don’t want the button to appear on the page when it is opened.
I’m not a java programmer, so your assistance is much appreciated.