I found this code to be very useful, how can I change it to a text that display “Product versions and period of last update” rather than a button?

I found this code to be very useful, how can I change it to a text that display “Product versions and period of last update” rather than a button?