fix 500
This commit is contained in:
parent
a61e7f4369
commit
e7e2eabce2
2 changed files with 4 additions and 4 deletions
|
@ -183,7 +183,7 @@
|
||||||
</article>
|
</article>
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if top_tags is not None %}
|
{% if identity.user and top_tags is not None %}
|
||||||
<section>
|
<section>
|
||||||
<article>
|
<article>
|
||||||
<details {% if top_tags %}class="auto-collapse" open{% endif %}>
|
<details {% if top_tags %}class="auto-collapse" open{% endif %}>
|
||||||
|
@ -191,7 +191,7 @@
|
||||||
<div class="tag-list">
|
<div class="tag-list">
|
||||||
{% for t in top_tags %}
|
{% for t in top_tags %}
|
||||||
<span>
|
<span>
|
||||||
<a href="{% url 'journal:user_tag_member_list' identity.user.handler t.title %}">
|
<a href="{% url 'journal:user_tag_member_list' identity.handle t.title %}">
|
||||||
{% if t.pinned %}
|
{% if t.pinned %}
|
||||||
<i class="fa-solid fa-crown" title="{% trans "featured tag" %}"></i>
|
<i class="fa-solid fa-crown" title="{% trans "featured tag" %}"></i>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -207,7 +207,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
<small>
|
<small>
|
||||||
<a href="{% url 'journal:user_tag_list' identity.user.handler %}">({% trans 'show all' %})</a>
|
<a href="{% url 'journal:user_tag_list' identity.handle %}">({% trans 'show all' %})</a>
|
||||||
</small>
|
</small>
|
||||||
</details>
|
</details>
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if identity.user and identity.user.mastodon_account %}
|
{% if identity.user.mastodon_account %}
|
||||||
<span>
|
<span>
|
||||||
<a href="{{ identity.user.mastodon_account.url }}"
|
<a href="{{ identity.user.mastodon_account.url }}"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|
Loading…
Add table
Reference in a new issue