[#52431787] Final removal of unnecessary code in producing the badge pdf. As the data access part of the story is not in the view, there is no need to import the data-source bean.