Um ... but isn't that the case already?
When an ally calls you to war, he tells you what war it is ("French War for the..."), and the window shows who the attackers are and who the defenders are; from this it can be deduced whether the war that our ally is fighting is offensive or defensive ...