Directly include icon URL in template

Now the URL is stored directly in DB, it's quicker than using the redirect URL