Add diff buttons to view

and missing file