Open garethrees opened 7 years ago
This bug is back again - with an even older logo!
For example, on a pretty recent response to 851068, the html render of a PDF in imsg 2027866 is displaying the old logo.
Has something snuck back in during infrastructure migration? My reason for pondering that is, we're rendering the logo from /assets/navimg/logo-trans-small.png- but, the corresponding file in the codebase is not the same.
It's worth noting, perhaps, that this one does seem to be the same logo as is in the codebase at /app/assets/images/logo-trans-small.png.
https://www.whatdotheyknow.com/request/401913/response/983427/attach/html/4/REQ02625.pdf.html
I'm not 100% sure of what's going on here, but I think the problem is that
_view_html_prefix.html.erb
isn't using an asset helper, so not getting linked to the correct logo version.There might be other things at play.
logo-trans-small.png
inassets
https://github.com/mysociety/whatdotheyknow-theme/blob/master/app/assets/images/logo-trans-small.png – shouldn't be a problem though because we should be looking for the one innavimg
.