App versions

Please review @ssorallen 
This is two nested ternary operators. This should either be multiple components or split into variables above.