verify that the branch is a pending branch when displaying the submitted template