changing details action by view in all templates