Split come changset display logic into a helper
Add conditions to index sidebar