Reduce HTML code duplication with a UserActivityIcon object
There were 10 instances of code duplication creating the same thing,
so let's have a common UserActivityIcon object to reduce it. Next time
we want to change the output, we'll likely only need to change it one place.