refactor activities pages to partial template