UNTESTED but complete "view_pending" page