Do not show arrows on comment diffs on pull comment pages (#12434)
Do not show arrows on comment diffs on pull comment pages (#12434)

* Do not show arrows on comment diffs on pull comment pages

Prior to this PR it was possible that an expansion arrow could be displayed
on comment diffs displayed on the comments pages of pulls

These arrows would not successfully work because they were not attached to
a commit id - nor can they necessarily be.

This PR prevents these from being shown.

Fix #10851

Signed-off-by: Andrew Thornton <6a547fdd28db89120bdd70d4af1f9ba672ccd43a@cantab.net>

* as per @silverwind

Signed-off-by: Andrew Thornton <6a547fdd28db89120bdd70d4af1f9ba672ccd43a@cantab.net>

* one more indentation fix

Signed-off-by: Andrew Thornton <6a547fdd28db89120bdd70d4af1f9ba672ccd43a@cantab.net>

* one more indentation fix

Signed-off-by: Andrew Thornton <6a547fdd28db89120bdd70d4af1f9ba672ccd43a@cantab.net>
cez81/gitea,vdbt/gitea,cez81/gitea,go-gitea/gitea,sapk-fork/gitea,go-gitea/gitea,cez81/gitea,sapk-fork/gitea,go-gitea/gitea,vCaesar/gitea,vdbt/gitea,sapk-fork/gitea,vCaesar/gitea,sapk-fork/gitea