projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implémentation d’une méthode utilitaire pour indexer les cases à cocher.
[Plinn.git]
/
skins
/
content
/
content_info.pt
diff --git
a/skins/content/content_info.pt
b/skins/content/content_info.pt
index
5762b84
..
314da1f
100644
(file)
--- a/
skins/content/content_info.pt
+++ b/
skins/content/content_info.pt
@@
-1,27
+1,26
@@
-<div i18n:domain="plinn"
- tal:define="locale_date_fmt here/locale_date_fmt;
+<div tal:define="locale_date_fmt string:%m/%d/%Y %Hh%M;
portal_url here/portal_url;
ti here/getTypeInfo;
portal_url here/portal_url;
ti here/getTypeInfo;
- icon ti/
content_i
con">
+ icon ti/
getI
con">
<table class="finder_preview">
<tr>
<td colspan="2">
<table class="finder_preview">
<tr>
<td colspan="2">
- <div
i18n:translate=""
>Preview:</div>
+ <div>Preview:</div>
<div class="thumbnail">
<img tal:attributes="src python:portal_url + '/' + icon.replace('.gif', '.thumb.gif'); alt here/title_or_id" width="128" height="128"/>
</div>
</td>
</tr>
<tr>
<div class="thumbnail">
<img tal:attributes="src python:portal_url + '/' + icon.replace('.gif', '.thumb.gif'); alt here/title_or_id" width="128" height="128"/>
</div>
</td>
</tr>
<tr>
- <th
i18n:translate=""
>Title</th>
+ <th>Title</th>
<td tal:content="here/title_or_id">File title</td>
</tr>
<tr>
<td tal:content="here/title_or_id">File title</td>
</tr>
<tr>
- <th
i18n:translate=""
>Created</th>
+ <th>Created</th>
<td tal:content="python:here.created().strftime(locale_date_fmt)">creation date</td>
</tr>
<tr>
<td tal:content="python:here.created().strftime(locale_date_fmt)">creation date</td>
</tr>
<tr>
- <th
i18n:translate=""
>Modified</th>
+ <th>Modified</th>
<td tal:content="python:here.modified().strftime(locale_date_fmt)">modification date</td>
</tr>
</table>
<td tal:content="python:here.modified().strftime(locale_date_fmt)">modification date</td>
</tr>
</table>