|
91
|
1 |
{% extends "mashup_home.html" %} |
|
83
|
2 |
{% load static %} |
|
|
3 |
{% load i18n %} |
|
|
4 |
{% load analytics %} |
|
|
5 |
{% load thumbnail %} |
|
104
|
6 |
|
|
|
7 |
{% block title %}{% blocktrans %}{{username}}'s profile{% endblocktrans %}{% endblock %} |
|
83
|
8 |
{% block css_page %} |
|
91
|
9 |
<link rel="stylesheet" href="{% static 'hashcut' %}/{{branding}}/css/profil.css" /> |
|
83
|
10 |
{% endblock %} |
|
|
11 |
|
|
|
12 |
{% block wrap_header %} |
|
|
13 |
<div class="wrap-header"> |
|
|
14 |
<div class="header"> |
|
91
|
15 |
{% include 'partial/mashup_popin_user.html' %} |
|
|
16 |
{% include 'partial/hashcut_logo.html' %} |
|
86
|
17 |
<div class="title-video-wrap"> |
|
|
18 |
<p class="title-video" href="#"> |
|
104
|
19 |
<span class="category">{% trans "Profile" %}</span> |
|
86
|
20 |
<span class="separator">»</span> |
|
|
21 |
{{username}} |
|
|
22 |
</p> |
|
|
23 |
</div> |
|
104
|
24 |
<div class="Ldt-Social"></div> |
|
83
|
25 |
<div class="profil-wrap"> |
|
|
26 |
<ul> |
|
147
|
27 |
<li><a href="{% url 'mashup_home' branding=branding %}" class="all-hashcut">{% trans "Home" %}</a></li> |
|
|
28 |
<li><a href="{% url 'mashup_edit' branding=branding %}" class="new-hashcut">{% trans "New hashcut" %}</a></li> |
|
104
|
29 |
<li><a href="#user" class="my-profil open-popin">{% trans "My profile" %}</a></li> |
|
83
|
30 |
</ul> |
|
|
31 |
</div> |
|
|
32 |
</div><!-- header --> |
|
|
33 |
</div> <!-- wrap-header --> |
|
|
34 |
{% endblock %} |
|
|
35 |
|
|
|
36 |
{% block content %} |
|
|
37 |
<div class="content"> |
|
|
38 |
|
|
|
39 |
<div class="hashcut-video-wrap profil"> |
|
|
40 |
{% for m in mashups %} |
|
|
41 |
<div class="video-item"> |
|
147
|
42 |
<a href="{% url 'mashup_hashcut' branding=branding ldt_id=m.project.ldt_id %}" class="screenshot">{% thumbnail m.project.image "302x202" crop="center" format="PNG" as im %}<img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" alt=""/>{% empty %} {% endthumbnail %}</a> |
|
|
43 |
<h3><a class="title" href="{% url 'mashup_hashcut' branding=branding ldt_id=m.project.ldt_id %}">{% if m.project.title|length > 30 %}{{m.project.title|slice:":30"}}...{% else %}{{m.project.title}}{% endif %}</a><!-- | <span class="duration">02:24</span> --></h3> |
|
83
|
44 |
</div> |
|
|
45 |
{% endfor %} |
|
|
46 |
</div> |
|
|
47 |
<!--div class="pagination"> |
|
|
48 |
<a href="#" class="active">1</a> |
|
|
49 |
<a href="#">2</a> |
|
|
50 |
<a href="#">3</a> |
|
|
51 |
<a href="#">4</a> |
|
|
52 |
<a href="#">5</a> |
|
|
53 |
<a href="#">6</a> |
|
|
54 |
<a href="#">Suivant</a> |
|
|
55 |
</div--> |
|
|
56 |
</div><!-- content --> |
|
|
57 |
{% endblock %} |
|
|
58 |
|