1 {% extends
"base.html" %}
13 {% block mainmenu %}{{
"/share/"|main_menu }}{% endblock %}
14 {% block sectionmenu %}{{
"/share/me"|section_menu:page_user.username }}{% endblock %}
16 {% block title %}{{ page_user.username }}{% endblock %}
20 <div id=
"podcastlogo">{% gravatar_img page_user %}
</div>
22 <h1>{{ page_user.username }}
</h1>
23 <small class=
"description">
24 {% blocktrans %}a user on {{ site }}{% endblocktrans %}
25 {% if page_user.twitter %}
26 ·
<a href=
"https://twitter/{{ page_user.twitter|striptags }}"><i class=
"icon-twitter"></i></a>
28 {% if flattr_username %}
29 ·
<a href=
"https://flattr.com/profile/{{ flattr_username|striptags }}"><img src=
"https://flattr.com/_img/icons/flattr_logo_16.png" /></a>
34 <div class=
"description">
35 {% if page_user.about %}
36 {{ page_user.about|markdown }}
38 {% blocktrans with page_user.username as username %}
<strong>{{ username }}
</strong> is sharing his favorite podcasts on {{ site }}.{% endblocktrans %}
46 <br style=
"clear: both;" />
48 {% if subscriptions and not subscriptions_token %}
50 <h2>{% blocktrans with subscriptions|length as subscription_count %}{{ subscription_count }} Subscriptions{% endblocktrans %}
</h2>
55 <th>{% trans
"Episodes Listened" %}
</th>
58 {% for podcast in subscriptions|slice:
":5" %}
60 <td>{{ podcast|podcast_logo }}
</td>
61 <td class=
"listlink">{% podcast_group_link podcast %}
</td>
62 <td>{% vertical_bar podcast.episodes_listened podcast.episode_count
"ratio" %}
</td>
66 {% if subscriptions|length
> 5 %}
70 <a href=
"{% url "shared-subscriptions
" page_user.username %}">
86 <h2>{% blocktrans with lists|length as list_count %}{{ list_count }} Podcast Lists{% endblocktrans %}
</h2>
88 {% for list in lists|slice:
":5" %}
90 <td><a href=
"{% url "list-show
" page_user.username list.slug %}">{{ list.title }}
</a></td>
91 <td>{% blocktrans with list.podcasts|length as num_podcasts %}{{ num_podcasts }} Podcasts{% endblocktrans %}
</td>
95 {% if lists|length
> 5 %}
99 <a href=
"{% url "lists-user
" page_user.username %}">
100 {% trans
"see all" %}
111 {% if recent_episodes %}
113 <h2>{% blocktrans with recent_episodes|length as num_episodes%}{{ num_episodes }} Recently Played Episodes{% endblocktrans %}
</h2>
115 {% for episode in recent_episodes %}
117 <td>{{ episode.podcast|podcast_logo }}
</td>
119 {% episode_link episode episode.podcast %}
<br />
120 {% if episode.podcast %}
121 <span class=
"from_podcast">{% trans
"from" %} {% podcast_group_link episode.podcast %}
</td>
132 {% if favorite_episodes and not favorite_feeds_token %}
134 <h2>{% blocktrans with favorite_episodes|length as num_fav_episodes %}{{ num_fav_episodes }} Favorite Episodes{% endblocktrans %}
</h2>
136 {% for episode in favorite_episodes|slice:
":5" %}
138 <td>{% if episode.podcast %}{{ episode.podcast|podcast_logo }}{% endif %}
</td>
139 <td>{% episode_link episode episode.podcast %}
<br/>
140 {% if episode.podcast %}
141 <span class=
"from_podcast">{% trans
"from" %} {% podcast_group_link episode.podcast %}
</td>
146 {% if favorite_episodes|length
> 5 %}
150 <a href=
"{% url "favorites-feed
" page_user.username %}">
151 {% trans
"see all" %}
166 {% if user == page_user %}
169 <h3>{% trans
"That's You!" %}
</h3>
171 <a href=
"{% url "account
"%}" class=
"btn btn-primary">{% trans
"Edit your profile" %}
</a>
179 <h3>{% trans
"Stats" %}
</h3>
181 <li>{% trans
"Total Played:" %}
182 {% if seconds_played_total %}
183 {{ seconds_played_total|format_duration }} /
185 {{ num_played_episodes_total }} {% trans
"Episodes" %}
187 <li>{% trans
"Played Last Month:" %}
188 {% if seconds_played_month %}
189 {{ seconds_played_month|format_duration }} /
191 {{ num_played_episodes_month }} {% trans
"Episodes" %}
193 <li>{% trans
"Member Since:" %}
194 {% if user.date_joined.year
> 2000 %}
195 {{ user.date_joined }}
197 {% trans
"the early days" %}