Skip to content

Commit

Permalink
Replace 'use_absolute_url' with 'absolute_url' in the templates.
Browse files Browse the repository at this point in the history
  • Loading branch information
mworrell committed Jan 23, 2017
1 parent 477cd5a commit 8da93f7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<p>{_ You have been granted access to _} {{ m.site.title }}. {_ You can now login to the admin, on the following URL: _}</p>

<p><a href="{% url admin absolute_url %}">{% url admin use_absolute_url %}</a></p>
<p><a href="{% url admin absolute_url %}">{% url admin absolute_url %}</a></p>

<p>
{_ Your user details are: _}
Expand Down
6 changes: 3 additions & 3 deletions modules/mod_export/templates/atom/entry.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
{% if medium.filename %}
<link rel="enclosure" type="{{ medium.mime }}" href="{% url media_attachment star=medium.filename use_abolute_url %}" />
{% elseif medium %}
<link rel="enclosure" type="image/jpeg" href="{% image_url id width=400 height=400 use_absolute_url %}" />
<link rel="enclosure" type="image/jpeg" href="{% image_url id width=400 height=400 absolute_url %}" />
{% endif %}
{% for media_id in id.media %}
<link rel="enclosure" type="image/jpeg" href="{% image_url media_id width=400 height=400 use_absolute_url %}" />
<link rel="enclosure" type="image/jpeg" href="{% image_url media_id width=400 height=400 absolute_url %}" />
{% endfor %}
<title>{{ id.title|escapexml }}</title>
{% if id.body %}
Expand All @@ -25,7 +25,7 @@
<content type="text">{{ id.summary|escapexml }}</content>
{% endif %}
{% if medium.filename %}
<content type="{{ medium.mime }}" src="{% url media_attachment star=medium.filename use_absolute_url %}" />
<content type="{{ medium.mime }}" src="{% url media_attachment star=medium.filename absolute_url %}" />
{% endif %}
{% if id.is_a.event and id.date_start %}
{# http://code.google.com/apis/gdata/docs/2.0/elements.html#gdEventKind #}
Expand Down
4 changes: 2 additions & 2 deletions modules/mod_export/templates/atom/feed_start.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<feed xmlns="http://www.w3.org/2005/Atom" xml:base="{% url home use_absolute_url %}" xml:lang="{{ z_language }}">
<feed xmlns="http://www.w3.org/2005/Atom" xml:base="{% url home absolute_url %}" xml:lang="{{ z_language }}">
<generator uri="http://zotonic.com/">Zotonic - Atom Feed Module</generator>
<updated>{{ now|date:"c" }}</updated>
<logo />
{# <link rel="self" type="application/atom+xml" href="{% url atom_feed cat=cat %}" /> #}
<id>{% url home use_absolute_url %}</id>
<id>{% url home absolute_url %}</id>
<title>{{ m.config.site.title.value|escapexml }}{% if title %} - {{ title|escapexml }}{% endif %}</title>
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<p>{_ Please follow _} <a href="{% url mailinglist_confirm confirm_key=recipient.confirm_key absolute_url %}">{_ this link to confirm _}</a>, {_ or copy and paste the address below in your browser. _}</p>

<p><a href="{% url mailinglist_confirm confirm_key=recipient.confirm_key absolute_url %}">{% url mailinglist_confirm confirm_key=recipient.confirm_key use_absolute_url %}</a></p>
<p><a href="{% url mailinglist_confirm confirm_key=recipient.confirm_key absolute_url %}">{% url mailinglist_confirm confirm_key=recipient.confirm_key absolute_url %}</a></p>

<p>{_ When you don’t want to receive any mail then please ignore this message. _}</p>
{% endblock %}

0 comments on commit 8da93f7

Please sign in to comment.