Don't hard-code showing rota note edit URL

Using some horrible JS hackery