Minimize view redundancies

Added common view functions to dhp-project-page