There's two duplications going on here. The first is two instances of `current_user_can()`, when it's the same permission. The second is two lots (published, pending) of two values (number and text) being wrapped in exactly the same link per status.