Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
Email Media History template crashes if no history is cached
Browse files Browse the repository at this point in the history
closes #745
  • Loading branch information
jarofgreen committed Sep 22, 2017
1 parent b677ad2 commit 4b44548
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -8,7 +8,7 @@
<div style="padding: 5px; margin: 5px 0 5px 0; background: {{ themeVariables.colourHistoryMediaBackground }}; border-radius: 5px;">
<div style="font-weight: bold;">{% if historyItem.isNew %}New {% endif %}Media: <a href="{{ config.getWebSiteDomainSecure(site.slug) }}/media/{{ historyItem.mediaSlug }}">{{ historyItem.title }}</a></div>
{% if historyItem.isAnyChangeFlagsUnknown %}
<div>{{ media.title }}</div>
<div>{{ historyItem.title }}</div>
{% else %}
{% if historyItem.getTitleChanged %}
<div>
Expand Down

0 comments on commit 4b44548

Please sign in to comment.