Fixing bug where non-image types might break if app_config['original_date_visible...
authorChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 28 May 2013 21:34:47 +0000 (16:34 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 28 May 2013 21:35:14 +0000 (16:35 -0500)
commitab4cbb103ebcb00b7473c4344b1d3a5da2770824
tree39b4f67704cf5cf87c4f1cf7c79b3c885d93fbb3
parentf9e032212dff4d54de644cb5537bc0bef6d24c7f
Fixing bug where non-image types might break if app_config['original_date_visible'] is true

Not all media managers have the .get_original_date attribute, so of
course break.  This is fixed by making a new space where individual
media types can define this if they like.

This commit sponsored by Matthieu Dupont de Dinechin.  Thank you!
mediagoblin/templates/mediagoblin/media_displays/image.html
mediagoblin/templates/mediagoblin/user_pages/media.html