Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Her Email authored and alphatownsman committed Dec 6, 2023
1 parent 682b46e commit 6e7d13d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions journal/templates/action_like_post.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
{% liked_post post as liked %}
{% if liked %}
<a class="activated" hx-post="{% url 'journal:post_unlike' post.pk %}">
<i class="fa-solid fa-thumbs-up }}"></i>
<i class="fa-solid fa-heart }}"></i>
<span>{{ post.stats.likes }}</span>
</a>
{% else %}
<a hx-post="{% url 'journal:post_like' post.pk %}">
<i class="fa-regular fa-thumbs-up }}"></i>
<i class="fa-regular fa-heart }}"></i>
{% if post.stats.likes %}<span>{{ post.stats.likes }}</span>{% endif %}
</a>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion users/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def register_new_user(request, **param):
def login_existing_user(request, existing_user):
auth_login(request, existing_user)
if not existing_user.username or not existing_user.identity:
response = redirect(reverse("account:register"))
response = redirect(reverse("users:register"))
elif request.session.get("next_url") is not None:
response = redirect(request.session.get("next_url"))
del request.session["next_url"]
Expand Down

0 comments on commit 6e7d13d

Please sign in to comment.