Fixes #5629: Display deprecated status of Directive

shouldn't it be a CSS class rathen than hardcoding the style ?