Don't show the Submit button on the commit unless there's a competition

When viewing other repos as an admin, one wouldn't need it anyway.
Move greta sidebar into a separate file to be included.