Fix more StrictUndefined issues
This commit is contained in:
parent
1c53f98c09
commit
4a24500aa4
@ -90,7 +90,7 @@
|
|||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
{% if not user.url and not user.bio %}
|
{% if not user.url and not user.bio %}
|
||||||
{% if request.user._id == user._id %}
|
{% if request.user and (request.user._id == user._id) %}
|
||||||
<div class="grid_6 alpha empty_space">
|
<div class="grid_6 alpha empty_space">
|
||||||
<p>
|
<p>
|
||||||
{% trans %}Here's a spot to tell others about yourself.{% endtrans %}
|
{% trans %}Here's a spot to tell others about yourself.{% endtrans %}
|
||||||
@ -120,7 +120,7 @@
|
|||||||
{%- trans %}Edit profile{% endtrans -%}
|
{%- trans %}Edit profile{% endtrans -%}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if request.user._id == user._id %}
|
{% if request.user and (request.user._id == user._id) %}
|
||||||
<a href="{{ request.urlgen('mediagoblin.edit.account') }}">
|
<a href="{{ request.urlgen('mediagoblin.edit.account') }}">
|
||||||
{%- trans %}Change account settings{% endtrans -%}
|
{%- trans %}Change account settings{% endtrans -%}
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user