1 {% extends
"base.html" %}
3 {% load url from future %}
14 {% block mainmenu %}{{
"/share/"|main_menu }}{% endblock %}
15 {% block sectionmenu %}{{
"/share/me"|section_menu:page_user.username }}{% endblock %}
17 {% block title %}{{ page_user.username }}{% endblock %}
21 <div id=
"podcastlogo">{% gravatar_img page_user %}
</div>
23 <h1>{{ page_user.username }}
</h1>
24 <small class=
"description"></small>
29 <br style=
"clear: both;" />
31 {% if subscriptions and not subscriptions_token %}
33 <h2>{% blocktrans with subscriptions|length as subscription_count %}{{ subscription_count }} Subscriptions{% endblocktrans %}
</h2>
38 <th>{% trans
"Episodes Listened" %}
</th>
41 {% for podcast in subscriptions|slice:
":5" %}
43 <td>{{ podcast|podcast_logo }}
</td>
44 <td class=
"listlink">{% podcast_group_link podcast %}
</td>
45 <td>{% vertical_bar podcast.episodes_listened podcast.episode_count
"ratio" %}
</td>
49 {% if subscriptions|length
> 5 %}
53 <a href=
"{% url "shared-subscriptions
" page_user.username %}">
69 <h2>{% blocktrans with lists|length as list_count %}{{ list_count }} Podcast Lists{% endblocktrans %}
</h2>
71 {% for list in lists|slice:
":5" %}
73 <td><a href=
"{% url "list-show
" page_user.username list.slug %}">{{ list.title }}
</a></td>
74 <td>{% blocktrans with list.podcasts|length as num_podcasts %}{{ num_podcasts }} Podcasts{% endblocktrans %}
</td>
78 {% if lists|length
> 5 %}
82 <a href=
"{% url "lists-user
" page_user.username %}">
94 {% if recent_episodes %}
96 <h2>{% blocktrans with recent_episodes|length as num_episodes%}{{ num_episodes }} Recently Played Episodes{% endblocktrans %}
</h2>
98 {% for episode in recent_episodes %}
100 <td>{{ episode.podcast|podcast_logo }}
</td>
102 {% episode_link episode episode.podcast %}
<br />
103 {% if episode.podcast %}
104 <span class=
"from_podcast">{% trans
"from" %} {% podcast_group_link episode.podcast %}
</td>
115 {% if favorite_episodes and not favorite_feeds_token %}
117 <h2>{% blocktrans with favorite_episodes|length as num_fav_episodes %}{{ num_fav_episodes }} Favorite Episodes{% endblocktrans %}
</h2>
119 {% for episode in favorite_episodes|slice:
":5" %}
121 <td>{% if episode.podcast %}{{ episode.podcast|podcast_logo }}{% endif %}
</td>
122 <td>{% episode_link episode episode.podcast %}
<br/>
123 {% if episode.podcast %}
124 <span class=
"from_podcast">{% trans
"from" %} {% podcast_group_link episode.podcast %}
</td>
129 {% if favorite_episodes|length
> 5 %}
133 <a href=
"{% url "favorites-feed
" page_user.username %}">
134 {% trans
"see all" %}
150 <h3>{% trans
"Stats" %}
</h3>
152 <li>{% trans
"Total Played:" %}
153 {% if seconds_played_total %}
154 {{ seconds_played_total|format_duration }} /
156 {{ num_played_episodes_total }} {% trans
"Episodes" %}
158 <li>{% trans
"Played Last Month:" %}
159 {% if seconds_played_month %}
160 {{ seconds_played_month|format_duration }} /
162 {{ num_played_episodes_month }} {% trans
"Episodes" %}
164 <li>{% trans
"Member Since:" %}
165 {% if user.date_joined.year
> 2000 %}
166 {{ user.date_joined }}
168 {% trans
"the early days" %}