Link the name of a logged-in user to his profile page. Application of patch from production.
- Legacy-Id: 7629
This commit is contained in:
parent
bf1e44864d
commit
53b49d7777
|
@ -63,7 +63,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
<a href="https://{{ request.get_host }}/accounts/login/" class="login" rel="nofollow">Sign in</a>
|
||||
{% else %}
|
||||
{% if user.is_authenticated %}
|
||||
{{ user }} | <a href="/accounts/logout/" class="login" rel="nofollow">Sign out</a>
|
||||
<a href="/accounts/">{{ user }}</a> | <a href="/accounts/logout/" class="login" rel="nofollow">Sign out</a>
|
||||
{% else %}
|
||||
<a href="https://{{ request.get_host }}/accounts/login/?next={{request.get_full_path|urlencode}}" class="login" rel="nofollow">Sign in</a>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue