Skip to content

Commit

Permalink
Merge pull request #292 from labens-ufrn/refactor/issue291
Browse files Browse the repository at this point in the history
Ajustes de URL no meu superior
  • Loading branch information
tacianosilva authored Jul 15, 2024
2 parents abc9665 + 59addd4 commit 10fb1ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions core/templates/core/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,17 @@
<div class="collapse navbar-collapse w-100 order-3 dual-collapse2" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link" href="/suggestclasses/">Home
<a class="nav-link" href="{% url 'index' %}">Home
<span class="sr-only">(current)</span>
</a>
</li>
<li class="nav-item">
{% if user.is_authenticated %}
<a class="nav-link" href="/suggestclasses/profile/{{ user.username }}?next={{ request.path|urlencode }}">Perfil</a>
<a class="nav-link" href="{% url 'profile' user.username %}?next={{ request.path|urlencode }}">Perfil</a>
{% endif %}
</li>
<li class="nav-item">
<a class="nav-link" <a href="{% url 'sobre_details' %}">Sobre</a>
<a class="nav-link" href="{% url 'sobre_details' %}">Sobre</a>
</li>
{% if user.is_authenticated %}
<li class="nav-item">
Expand Down
4 changes: 3 additions & 1 deletion templates/registration/password_reset_email.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

{% trans "Please go to the following page and choose a new password:" %}
{% block reset_link %}
{{ protocol }}://{{domain}}{% url 'password_reset_confirm' uidb64=uid token=token %}

{{ protocol }}{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}

{% endblock %}

{% trans 'Your username, in case you’ve forgotten:' %} {{ user.get_username }}
Expand Down

0 comments on commit 10fb1ac

Please sign in to comment.