File tree 1 file changed +11
-10
lines changed
content/static/html/helpers 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 47
47
</div>
48
48
{{end}}
49
49
50
- {{if .Unit.Deprecated}}
51
- <div class="UnitHeader-deprecatedBanner">
52
- Deprecated{{with .Unit.DeprecationComment}}: {{.}}{{end}}
53
- </div>
54
- {{end}}
50
+ {{if (.Experiments.IsActive "retractions")}}
51
+ {{if .Unit.Deprecated}}
52
+ <div class="UnitHeader-deprecatedBanner">
53
+ Deprecated{{with .Unit.DeprecationComment}}: {{.}}{{end}}
54
+ </div>
55
+ {{end}}
55
56
56
- {{if .Unit.Retracted}}
57
- <div class="UnitHeader-retractedBanner">
58
- Retracted{{with .Unit.RetractionRationale}}: {{.}}{{end}}
59
- </div>
57
+ {{if .Unit.Retracted}}
58
+ <div class="UnitHeader-retractedBanner">
59
+ Retracted{{with .Unit.RetractionRationale}}: {{.}}{{end}}
60
+ </div>
61
+ {{end}}
60
62
{{end}}
61
-
62
63
{{if .LatestMajorVersion}}
63
64
<div class="UnitHeader-majorVersionBanner" data-test-id="UnitHeader-majorVersionBanner">
64
65
<img height="19px" width="16px" class="UnitHeader-detailIcon" src="/static/img/pkg-icon-info_19x16.svg" alt="">
You can’t perform that action at this time.
0 commit comments