blob: cbb84f23613d312de97c695f3efed42d33a2ae54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
<%inherit file="jm2l:templates/layout.mako"/>
<% The_entity_type = entity.get_entity_type %>
<strong>${The_entity_type.entity_type}</strong>
% if The_entity_type.entity_subtype!=The_entity_type.entity_type:
${The_entity_type.entity_subtype}
% endif
<div class="borderboxtime">
${The_entity_type.entity_subtype}
</div>
%if entity.tiers_id:
<a href="http://jm2l.linux-azur.org/node/${entity.tiers_id}">Link</a> -
%endif
<a href="/entity/${entity.get_entity_type.entity_type}/${entity.slug}/edit">Editer</a>
<div clear='both'></div>
<div>
<a style="float:right;" href="/entities">Liste des entités</a>
<h3 style="line-height:30px;">${entity.name}</h3>
</div>
<div class="borderbox">
% if entity.PhotosLinks:
<div style="float:right;padding:5px;border: 1px solid #eee;background-color:white;">
% for img_path in entity.PhotosLinks:
<img src="${img_path}" alt="logo" />
% endfor
</div>
% endif
% if entity.description :
${entity.description | n}
% else:
<p>Cette entité n'a pas de description.</p>
% endif
</div>
% if 0:
% for media in entity.PhotosLinks:
<strong>Présentation</strong>:${media.filename} (${media.mime_type})
% endfor
<hr/>
% for media in entity.video:
<div style="width:480px;margin:auto;">
<video width="480" poster="" controls="controls" preload="metadata">
<source type="${media.mime_type}"
src="${media.filename}">
</source>
</video> <br />
<strong>Vidéo</strong>:${media.filename} (${media.mime_type})
</div>
% endfor
% endif
% for iterv in entity.members:
<p>
<div class="titleborderbox">
Intervenant <strong><a href="/user/${iterv.slug}">${iterv.prenom} ${iterv.nom}</a></strong>.
% if iterv.pseudo:
(${iterv.pseudo})
%endif
</div>
<div class="borderbox">
% if iterv.PhotosLinks:
<div style="float:right;padding:5px;border: 1px solid #eee;background-color:white;">
% for img_path in iterv.PhotosLinks:
<img src="${img_path}" alt="logo" />
% endfor
</div>
% endif
% if iterv.bio:
${iterv.bio | n}
%endif
% if iterv.website:
<div style="float:right;">
<a href="http://${iterv.website}">${iterv.website}</a>
</div>
%endif
</div>
</p>
% endfor
<p style="float:right;">Créé le ${entity.created.strftime('%d %b %Y').decode('utf-8')}</p>
<br/>
<hr/>
|