From 32d1a69d2f1293cb53cf9620f0e0a4f266ad230b Mon Sep 17 00:00:00 2001 From: Elrond Date: Wed, 14 Sep 2011 19:52:47 +0200 Subject: [PATCH] Templates: Use request.staticdirect instead of /mgoblin_static Any reference to static, shipped content should use request.staticdirect instead of the default path. Especially if hosting mediagoblin via fastcgi, the paths might need changing. --- mediagoblin/templates/mediagoblin/utils/pagination.html | 4 ++-- mediagoblin/templates/mediagoblin/utils/prev_next.html | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mediagoblin/templates/mediagoblin/utils/pagination.html b/mediagoblin/templates/mediagoblin/utils/pagination.html index 87e15e0f..0df3bfea 100644 --- a/mediagoblin/templates/mediagoblin/utils/pagination.html +++ b/mediagoblin/templates/mediagoblin/utils/pagination.html @@ -36,7 +36,7 @@ {% set prev_url = pagination.get_page_url_explicit( base_url, get_params, pagination.page - 1) %} - Previous page + Previous page {% trans %}Newer{% endtrans %} {% endif %} {% if pagination.has_next %} @@ -44,7 +44,7 @@ base_url, get_params, pagination.page + 1) %} {% trans %}Older{% endtrans %} - Next page + Next page {% endif %}
Go to page: diff --git a/mediagoblin/templates/mediagoblin/utils/prev_next.html b/mediagoblin/templates/mediagoblin/utils/prev_next.html index 74f855ed..75903076 100644 --- a/mediagoblin/templates/mediagoblin/utils/prev_next.html +++ b/mediagoblin/templates/mediagoblin/utils/prev_next.html @@ -25,23 +25,23 @@ {# There are no previous entries for the very first media entry #} {% if prev_entry_url %} - Previous image + Previous image {% else %} {# This is the first entry. display greyed-out 'previous' image #} {% endif %} {# Likewise, this could be the very last media entry #} {% if next_entry_url %} - Next image + Next image {% else %} {# This is the last entry. display greyed-out 'next' image #} {% endif %} -- 2.25.1