This is a new game with the latest 1.8 version without mods. I am playing as the United Earth faction from the new Rise of the Terrans DLC.
I built an asteroid mining base too close to some pirates, so they attacked it. When I put the cursor on the image of the mining base in the "Confirm Battle" screen, the information displayed was for my Survey ship.

Since I had moved the Survey ship just before the attack, and it was still selected, I thought its information was displayed because it was selected. I built the mining base again and made sure a different ship was selected before the battle, but the information displayed was still about the Survey ship. I tried several more times with different ships selected, but the information was always about the survey ship. If my survey ship was damaged enough, the damage was shown in red on the image of the mining base.