Show the crumbs menu only when there is a parent id.
Don't bother with the parent id check when it's redundant.
Consolidate the ifNew conditions.