diff --git a/app/templates/base.html b/app/templates/base.html index 6f55245a..f9c90a95 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -30,7 +30,7 @@ {% if community.icon_id and not low_bandwidth and not collapsed -%} - + {% endif -%} c/{{ community.display_name() }} diff --git a/app/templates/post/post_teaser/_article.html b/app/templates/post/post_teaser/_article.html index ea1b2379..149dfa95 100644 --- a/app/templates/post/post_teaser/_article.html +++ b/app/templates/post/post_teaser/_article.html @@ -8,7 +8,7 @@ {% if post.sticky -%}{% endif -%} {% if show_post_community -%} - {% if post.community.icon_image() %}{% endif -%} + {% if post.community.icon_id and not low_bandwidth %}{% endif -%} c/{{ post.community.name }}{% endif -%} by {{ render_username(post.author) }} {{ post.posted_at_localized(sort, locale) }} {% if post.body_html -%} diff --git a/app/templates/post/post_teaser/_image.html b/app/templates/post/post_teaser/_image.html index c5e49104..728f58c3 100644 --- a/app/templates/post/post_teaser/_image.html +++ b/app/templates/post/post_teaser/_image.html @@ -11,7 +11,7 @@ {% if post.sticky -%}{% endif -%} {% if show_post_community -%} - {% if post.community.icon_image() %}{% endif -%} + {% if post.community.icon_id and not low_bandwidth %}{% endif -%} c/{{ post.community.name }}{% endif -%} by {{ render_username(post.author) }} {{ post.posted_at_localized(sort, locale) }} {% if post.image_id and not low_bandwidth -%} diff --git a/app/templates/post/post_teaser/_link.html b/app/templates/post/post_teaser/_link.html index 7ddcb86c..45ef98c6 100644 --- a/app/templates/post/post_teaser/_link.html +++ b/app/templates/post/post_teaser/_link.html @@ -14,7 +14,7 @@ {% if post.sticky -%}{% endif -%} {% if show_post_community -%} - {% if post.community.icon_image() %}{% endif -%} + {% if post.community.icon_id and not low_bandwidth %}{% endif -%} c/{{ post.community.name }}{% endif -%} by {{ render_username(post.author) }} {{ post.posted_at_localized(sort, locale) }} {% if post.body_html -%} diff --git a/app/templates/post/post_teaser/_poll.html b/app/templates/post/post_teaser/_poll.html index 8158f0a7..bfb740ae 100644 --- a/app/templates/post/post_teaser/_poll.html +++ b/app/templates/post/post_teaser/_poll.html @@ -9,7 +9,7 @@ {% if post.sticky -%}{% endif -%} {% if show_post_community -%} - {% if post.community.icon_image() %}{% endif -%} + {% if post.community.icon_id and not low_bandwidth %}{% endif -%} c/{{ post.community.name }}{% endif -%} by {{ render_username(post.author) }} {{ post.posted_at_localized(sort, locale) }} {% include "post/post_teaser/_utilities_bar.html" %} diff --git a/app/templates/post/post_teaser/_video.html b/app/templates/post/post_teaser/_video.html index 61836b04..a08f4326 100644 --- a/app/templates/post/post_teaser/_video.html +++ b/app/templates/post/post_teaser/_video.html @@ -16,7 +16,7 @@ {% if post.sticky -%}{% endif -%} {% if show_post_community -%} - {% if post.community.icon_image() %}{% endif -%} + {% if post.community.icon_id and not low_bandwidth %}{% endif -%} c/{{ post.community.name }}{% endif -%} by {{ render_username(post.author) }} {{ post.posted_at_localized(sort, locale) }} {% if not low_bandwidth %}