rewrite project detail view