content: fix deprecation bug
In the new versions page, the deprecation badge is always shown. It is
now only shown when the module is actually deprecated.
Trust: Julie Qiu
Run-TryBot: Julie Qiu
TryBot-Result: kokoro
<div class="Version-major">
{{if and (eq $i 0) (not $major.Incompatible)}}
<strong>{{$major.Major}}</strong>
- {{if true}}<span class="Version-badge">deprecated</span>{{end}}
+ {{if $major.Deprecated}}<span class="Version-badge">deprecated</span>{{end}}
{{end}}
</div>
<div class="Version-tag">
