aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/templates
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r--mediagoblin/templates/mediagoblin/user_pages/media.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html
index 6d32d009..8a65e4e9 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/media.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/media.html
@@ -153,6 +153,17 @@
{{ formatted_time }} ago
{%- endtrans -%}
</span></p>
+
+ {% if app_config['original_date_visible'] %}
+ {% set original_date = media.media_data.get_original_date() %}
+ {% if original_date -%}
+ {% trans date=original_date.strftime("%Y-%m-%d") -%}
+ <h3>Created on</h3>
+ <p>{{ date }}</p>
+ {%- endtrans %}
+ {%- endif %}
+ {% endif %}
+
{% if media.tags %}
{% include "mediagoblin/utils/tags.html" %}
{% endif %}