Factor tree and blob tree view items

Those two partials were almost the same.
Space inside { missing.<br>Space inside } missing.