Fix titles and stuff
parent
6183d1f38c
commit
69be9ce25d
|
@ -10,10 +10,10 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block tags %}
|
||||
<div class="profile group" title="{{ user.username }}">
|
||||
<div class="profile group">
|
||||
<span class="avatar" style="background-image: url('http://www.gravatar.com/avatar/{{ user.email|md5 }}?s=50');"></span>
|
||||
<div class="meta">
|
||||
<div class="username">
|
||||
<div class="username" title="{{ user.username }}">
|
||||
{{ user.username }}
|
||||
</div>
|
||||
{% if user.username == 'nick' %}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{% load pagination_tags %}
|
||||
|
||||
{% block page-title %}/ {% if public %}public{% else %}{{ user.username }}{% endif %}{% if tag %} / {{ tag }}{% endif %} - {{ block.super }}{% endblock %}
|
||||
{% block page-title %}/ {% if public and not public_user %}public{% else %}{{ user.username }}{% endif %}{% if tag %} / {{ tag }}{% endif %} - {{ block.super }}{% endblock %}
|
||||
|
||||
{% block js %}
|
||||
{{ block.super }}
|
||||
|
|
|
@ -73,6 +73,7 @@ def list_user(request, username, tag_slug=None):
|
|||
'has_snipts': True,
|
||||
'lexers': sorted(get_all_lexers()),
|
||||
'public': public,
|
||||
'public_user': (public and user),
|
||||
'snipts': snipts,
|
||||
'tags': tags,
|
||||
'tag': tag,
|
||||
|
|
Loading…
Reference in New Issue