2012-02-16 09:01:31 -08:00
{% extends "snipts/list.html" %}
2011-12-02 21:19:01 -08:00
2012-04-13 10:01:28 -07:00
{% load snipt_tags %}
2011-12-02 21:19:01 -08:00
{% block breadcrumb %}
< li > < a href = "/{{ user.username }}/" > {{ user.username }}< / a > < / li >
{% if tag %}
2012-04-22 18:47:49 -07:00
< li > < span class = "prompt" > /< / span > < a href = "/{{ user.username }}/tag/{{ tag.slug }}/" > {{ tag.name }}< / a > < / li >
2011-12-02 21:19:01 -08:00
{% endif %}
2012-10-17 17:52:12 -07:00
{% if favorites %}
< li > < span class = "prompt" > /< / span > < a href = "/{{ user.username }}/favorites/" > Favorited snipts< / a > < / li >
{% endif %}
2012-04-13 20:30:23 -07:00
< li class = "rss" >
2012-05-14 21:19:35 -07:00
< a href = "{{ request.path }}?rss{% if not public %}&api_key={{ request.user.api_key.key }}{% endif %}" > RSS< / a >
2012-04-13 20:30:23 -07:00
< / li >
2011-12-02 21:19:01 -08:00
{% endblock %}
2012-07-08 09:25:15 -07:00
{% block aside-top %}
2012-04-13 13:26:58 -07:00
< div class = "profile group" >
2013-02-03 11:25:00 -08:00
< img src = "https://secure.gravatar.com/avatar/{{ user.email|md5 }}?s=175" alt = "{{ user.username }}" title = {{ user . username } } " / >
2012-04-13 10:01:28 -07:00
< div class = "meta" >
2012-04-13 13:26:58 -07:00
< div class = "username" title = "{{ user.username }}" >
2012-05-14 21:02:53 -07:00
{% if user.username == 'blog' %}
Blog
{% else %}
{{ user.username }}
{% endif %}
2012-04-13 10:01:28 -07:00
< / div >
{% if user.username == 'nick' %}
2013-02-03 11:25:00 -08:00
< div class = "member-since" > Snipt Founder in {{ user.date_joined|date:"Y" }}< / div >
2012-04-13 10:01:28 -07:00
{% else %}
2012-05-14 21:02:53 -07:00
{% if user.username == 'blog' %}
2013-02-03 11:25:00 -08:00
< div class = "member-since" > Official Snipt blog< / div >
2012-05-14 21:02:53 -07:00
{% else %}
2013-02-03 11:25:00 -08:00
< div class = "member-since" > Member since {{ user.date_joined|date:"Y" }}< / div >
2012-05-14 21:02:53 -07:00
{% endif %}
2012-04-13 10:01:28 -07:00
{% endif %}
< / div >
2012-07-18 21:39:43 -07:00
{% if user.profile.is_pro %}
< a class = "pro" href = "/pro/" > Pro< / a >
2013-01-14 19:30:19 -08:00
{% if user.profile.gittip_username %}
< a class = "gittip" href = "https://www.gittip.com/{{ user.profile.gittip_username }}/" > Tip< / a >
{% endif %}
2012-07-18 21:39:43 -07:00
{% endif %}
2012-04-13 10:01:28 -07:00
< / div >
2013-02-03 11:30:27 -08:00
{% if not request.user.profile.is_pro %}
< div class = "sifter" >
< h3 > Building things is hard.< / h3 >
< p >
Issue tracking shouldn't be. < a href = "https://sifterapp.com/from/snipt" title = "Sifter: Simple issue tracking for big projects and small teams." > Sifter< / a > makes it simple.
< / p >
< a class = "sifter-logo" href = "https://sifterapp.com/from/snipt" title = "Sifter: Simple issue tracking for big projects and small teams." >
< img src = "{{ STATIC_URL }}images/sifter-black-white.png" alt = "Sifter: Simple issue tracking for big projects and small teams." / >
< / a >
< / div >
{% endif %}
2011-10-12 13:34:01 -07:00
{% include "snipts/tags-user.html" %}
{% endblock %}