add permalink attribute to client views