That is a single conditional statement “current user is logged in”
Do you mean not having to copy the condition from the text to the image?