Adds urlname and name variables to party view