Le repo des sources pour le site web des JM2L
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <%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/>
|