There have been situations where title and subtitle are not used. My proposed changes handle these situations. If there is a subtitle, it will add the hyphen between name and title, Kyle - Dev. Or if no title, it would just be Kyle.
If the subtitle is not used I use jquery to change the height from 175px to 145px so there isn't so much padding below the name.
I have found sometimes we just want to display a name and title in the dropdown menu and so the body content is not always used. If the body content is not used it will insert a white box. I added a if(length(list(...)) > 0) to the user body section so it will not create a white box if there is no content.
Excited to hear any thoughts or critiques on these changes, I have been using this customization for a few weeks now and thought this might be an improvement on the original :)
There have been situations where title and subtitle are not used. My proposed changes handle these situations. If there is a subtitle, it will add the hyphen between name and title,
Kyle - Dev
. Or if no title, it would just beKyle
.If the subtitle is not used I use jquery to change the height from 175px to 145px so there isn't so much padding below the name.
I have found sometimes we just want to display a name and title in the dropdown menu and so the body content is not always used. If the body content is not used it will insert a white box. I added a
if(length(list(...)) > 0)
to the user body section so it will not create a white box if there is no content.Excited to hear any thoughts or critiques on these changes, I have been using this customization for a few weeks now and thought this might be an improvement on the original :)