{% extends 'base.html' %} {% load humanize %} {% block content %} {% if user.playlists.all.count|add:"-1" <= -1 %} {% endif %} {% if import_successful %}

Welcome to UnTube, {{ user.username|capfirst }}

{{ imported_playlists_count }} playlists from YouTube have been successfully imported.

You'll now be notified on the Dashboard whenever there's any new un-exported playlists on YouTube :)

Go to Dashboard
{% else %} {% if user.profile.imported_yt_playlists %}
{% endif %}
You have a total of {{ user.playlists.count }} Playlists in your UnTube collection
A total of {{ channels.count|intword|intcomma }} channels and {{ videos.count|intword|intcomma }} videos found in your UnTube collection
{% if channels.count > 100 %}
(Only top 100 channels shown below)
{% endif %}

{{ watching.count }} {% if watching.count > 0 %} Playlist{% if watching.count > 1 %}s{% endif %} Watching: Percent Complete Chart {% else %} Watching: Mark playlists as watching to view their completeness % here! {% endif %}

Popular Playlist Tags

{% if playlist_tags %}
{% for tag in playlist_tags|slice:"0:19" %} {{ tag.name }} {{ tag.times_viewed_per_week }} views {% endfor %}
{% else %} {% if user.playlist_tags.all.count != 0 %} No playlist tag views this week. {% else %} You haven't created any playlist tags yet. {% endif %} {% endif %}
{% if playlist_tags %} {% endif %}

{% if watching %}

Continue Watching

{% if watching.count > 5 %}

{% endif %}

{% if watching.count > 4 %}
{% for playlist in watching %}
{{ playlist.name }} thumbnail
{{ playlist.name }}

{{ playlist.get_watched_videos_count }}/{{ playlist.get_watchable_videos_count }} viewed {% if playlist.get_watch_time_left != "0secs." %}{{ playlist.get_watch_time_left }} left{% endif %}

Last watched {{ playlist.last_watched|naturaltime }}

{% endfor %}
{% else %}
{% include 'intercooler/playlists.html' with playlists=watching watching=True %}
{% endif %}
{% endif %}

Recently Added

{% if recently_added_playlists %}
{% include 'intercooler/playlists.html' with playlists=recently_added_playlists watching=False bg_color="#958a44" show_controls=False %}
{% else %}
You have no playlists ;-;
{% endif %}

Recently Accessed

{% if recently_accessed_playlists %}
{% include 'intercooler/playlists.html' with playlists=recently_accessed_playlists watching=False bg_color="#9363af" show_controls=False %}
{% else %}
Nothing to see here... yet.
{% endif %}


{% endif %} {% endblock %}