Extract method: rowClass.
Extract method: approvalTitle.
Rename pullRequestData to pullRequest.
Simplify numApprovals code.