Changeset b3affa6


Ignore:
Timestamp:
Feb 20, 2012 5:09:36 PM (3 years ago)
Author:
yomguy <yomguy@…>
Branches:
master, crem, crem2, dev, dev2, diadems, dj1.6, feature/breadcrumbs, feature/ts-0.5, feature/ts-0.5.4, feature/writecache, forma, generic, instru_search, lam, lam2, mapsv3, merge, nlivemulti, production, release/1.4.4, sabiod, security, server, social, storage, telecaster, test
Children:
968a43b
Parents:
9290fec
git-author:
yomguy <yomguy@…> (20/02/2012 17:09:36)
git-committer:
yomguy <yomguy@…> (20/02/2012 17:09:36)
Message:

fix fonds form, add last revision time to all resources

Location:
telemeta
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • telemeta/forms/media.py

    rd5b2406 rb3affa6  
    3838 
    3939class MediaFondsForm(ModelForm): 
     40    children = forms.ModelMultipleChoiceField(widget=forms.CheckboxSelectMultiple, queryset=MediaCorpus.objects.all()) 
     41 
    4042    class Meta: 
    4143        model = MediaFonds 
  • telemeta/locale/de/LC_MESSAGES/django.po

    re9b5443 rb3affa6  
    99"Project-Id-Version: PACKAGE VERSION\n" 
    1010"Report-Msgid-Bugs-To: \n" 
    11 "POT-Creation-Date: 2012-02-14 00:59+0100\n" 
     11"POT-Creation-Date: 2012-02-20 17:09+0100\n" 
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 
     
    9494msgstr "" 
    9595 
     96#: models/enum.py:171 models/media.py:689 
     97msgid "tape length (cm)" 
     98msgstr "" 
     99 
     100#: models/enum.py:178 models/media.py:690 
     101msgid "tape width (inch)" 
     102msgstr "" 
     103 
     104#: models/enum.py:185 models/media.py:691 
     105msgid "tape speed (m/s)" 
     106msgstr "" 
     107 
     108#: models/enum.py:192 
     109msgid "tape vendor" 
     110msgstr "" 
     111 
    96112#: models/instrument.py:57 
    97113msgid "instrument aliases" 
     
    328344msgstr "" 
    329345 
    330 #: models/media.py:225 
     346#: models/media.py:225 models/media.py:685 
    331347msgid "status" 
    332348msgstr "" 
     
    416432msgstr "" 
    417433 
    418 #: models/media.py:362 templates/telemeta/mediaitem_detail.html:224 
     434#: models/media.py:362 templates/telemeta/mediaitem_detail.html:229 
    419435#: templates/telemeta/mediaitem_detail_video.html:192 
    420436msgid "keywords" 
     
    423439#: models/media.py:374 models/media.py:415 models/media.py:425 
    424440#: models/media.py:436 models/media.py:452 models/media.py:473 
    425 #: models/media.py:518 models/media.py:539 
     441#: models/media.py:518 models/media.py:539 models/media.py:682 
    426442msgid "item" 
    427443msgstr "" 
     
    514530#: models/media.py:675 models/media.py:676 
    515531msgid "fonds related media" 
     532msgstr "" 
     533 
     534#: models/media.py:683 
     535msgid "original code" 
     536msgstr "" 
     537 
     538#: models/media.py:684 
     539msgid "support number" 
     540msgstr "" 
     541 
     542#: models/media.py:686 
     543msgid "conservation state" 
     544msgstr "" 
     545 
     546#: models/media.py:687 
     547msgid "comments" 
     548msgstr "" 
     549 
     550#: models/media.py:693 
     551msgid "tape thickness (um)" 
     552msgstr "" 
     553 
     554#: models/media.py:694 
     555msgid "tape diameter (mm)" 
     556msgstr "" 
     557 
     558#: models/media.py:695 
     559msgid "tape reference" 
     560msgstr "" 
     561 
     562#: models/media.py:699 
     563msgid "format" 
    516564msgstr "" 
    517565 
     
    668716msgstr "" 
    669717 
    670 #: templates/telemeta/base.html:86 views/base.py:246 
     718#: templates/telemeta/base.html:86 views/base.py:249 
    671719msgid "Lists" 
    672720msgstr "" 
     
    725773 
    726774#: templates/telemeta/base.html:157 
    727 #: templates/telemeta/collection_detail.html:121 
     775#: templates/telemeta/collection_detail.html:125 
    728776msgid "Legal notices" 
    729777msgstr "" 
     
    779827 
    780828#: templates/telemeta/collection_detail.html:5 
    781 #: templates/telemeta/collection_detail_dc.html:5 views/base.py:436 
     829#: templates/telemeta/collection_detail_dc.html:5 views/base.py:439 
    782830msgid "Collection" 
    783831msgstr "" 
     
    786834#: templates/telemeta/lists.html:55 
    787835#: templates/telemeta/mediaitem_detail.html:97 
    788 #: templates/telemeta/mediaitem_detail.html:224 
    789 #: templates/telemeta/mediaitem_detail.html:263 
     836#: templates/telemeta/mediaitem_detail.html:229 
     837#: templates/telemeta/mediaitem_detail.html:268 
    790838#: templates/telemeta/mediaitem_detail_video.html:90 
    791839#: templates/telemeta/mediaitem_detail_video.html:192 
     
    828876msgstr "" 
    829877 
    830 #: templates/telemeta/collection_detail.html:108 
    831 #: templates/telemeta/mediaitem_detail.html:204 
     878#: templates/telemeta/collection_detail.html:103 
     879#: templates/telemeta/mediaitem_detail.html:199 
     880#: templates/telemeta/resource_detail.html:73 
     881msgid "Last modification" 
     882msgstr "" 
     883 
     884#: templates/telemeta/collection_detail.html:112 
     885#: templates/telemeta/mediaitem_detail.html:209 
    832886#: templates/telemeta/mediaitem_detail_video.html:176 
    833887msgid "Geographic and cultural informations" 
    834888msgstr "" 
    835889 
    836 #: templates/telemeta/collection_detail.html:126 
     890#: templates/telemeta/collection_detail.html:130 
    837891#: templates/telemeta/lists.html:72 
    838892#: templates/telemeta/inc/collection_list.html:16 
     
    841895msgstr "" 
    842896 
    843 #: templates/telemeta/collection_detail.html:135 
     897#: templates/telemeta/collection_detail.html:139 
    844898msgid "Bibliographic references" 
    845899msgstr "" 
    846900 
    847 #: templates/telemeta/collection_detail.html:148 
    848 #: templates/telemeta/mediaitem_detail.html:280 
     901#: templates/telemeta/collection_detail.html:152 
     902#: templates/telemeta/mediaitem_detail.html:285 
    849903#: templates/telemeta/mediaitem_detail_video.html:248 
    850904msgid "Archiving data" 
    851905msgstr "" 
    852906 
    853 #: templates/telemeta/collection_detail.html:154 
     907#: templates/telemeta/collection_detail.html:158 
    854908msgid "Related documentation" 
    855909msgstr "" 
    856910 
    857 #: templates/telemeta/collection_detail.html:158 
     911#: templates/telemeta/collection_detail.html:162 
    858912msgid "Comments" 
    859913msgstr "" 
    860914 
    861 #: templates/telemeta/collection_detail.html:172 
    862 #: templates/telemeta/mediaitem_detail.html:296 
     915#: templates/telemeta/collection_detail.html:176 
     916#: templates/telemeta/mediaitem_detail.html:301 
    863917#: templates/telemeta/mediaitem_detail_video.html:264 
    864918msgid "Technical data" 
    865919msgstr "" 
    866920 
    867 #: templates/telemeta/collection_detail.html:177 
    868 #: templates/telemeta/mediaitem_detail.html:299 
     921#: templates/telemeta/collection_detail.html:181 
     922#: templates/telemeta/mediaitem_detail.html:304 
    869923#: templates/telemeta/mediaitem_detail_video.html:267 
    870924msgid "Media type" 
    871925msgstr "" 
    872926 
    873 #: templates/telemeta/collection_detail.html:177 
     927#: templates/telemeta/collection_detail.html:181 
    874928#: templates/telemeta/mediaitem_detail_video.html:267 
    875929msgid "Audio" 
    876930msgstr "" 
    877931 
    878 #: templates/telemeta/collection_detail.html:182 
     932#: templates/telemeta/collection_detail.html:186 
    879933#: templates/telemeta/geo_countries.html:16 
    880934msgid "Number of items" 
    881935msgstr "" 
    882936 
    883 #: templates/telemeta/collection_detail.html:211 
     937#: templates/telemeta/collection_detail.html:215 
    884938#: templates/telemeta/lists.html:58 
    885 #: templates/telemeta/mediaitem_detail.html:320 
     939#: templates/telemeta/mediaitem_detail.html:325 
    886940#: templates/telemeta/mediaitem_detail_video.html:363 
    887 #: templates/telemeta/resource_detail.html:95 
     941#: templates/telemeta/resource_detail.html:100 
    888942msgid "Delete" 
    889943msgstr "" 
     
    10961150#: templates/telemeta/mediaitem_copy.html:5 
    10971151#: templates/telemeta/mediaitem_detail.html:5 
    1098 #: templates/telemeta/mediaitem_detail_video.html:5 views/base.py:599 
     1152#: templates/telemeta/mediaitem_detail_video.html:5 views/base.py:605 
    10991153msgid "Item" 
    11001154msgstr "" 
     
    11421196msgstr "" 
    11431197 
    1144 #: templates/telemeta/mediaitem_detail.html:206 
     1198#: templates/telemeta/mediaitem_detail.html:211 
    11451199#: templates/telemeta/mediaitem_detail_video.html:178 
    11461200#: templates/telemeta/inc/mediaitem_list.html:18 
     
    11481202msgstr "" 
    11491203 
    1150 #: templates/telemeta/mediaitem_detail.html:212 
     1204#: templates/telemeta/mediaitem_detail.html:217 
    11511205msgid "Language ISO" 
    11521206msgstr "" 
    11531207 
    1154 #: templates/telemeta/mediaitem_detail.html:216 
     1208#: templates/telemeta/mediaitem_detail.html:221 
    11551209#: templates/telemeta/mediaitem_detail_video.html:184 
    11561210msgid "Ethnographic context" 
    11571211msgstr "" 
    11581212 
    1159 #: templates/telemeta/mediaitem_detail.html:229 
     1213#: templates/telemeta/mediaitem_detail.html:234 
    11601214#: templates/telemeta/mediaitem_detail_video.html:197 
    11611215msgid "Musical informations" 
    11621216msgstr "" 
    11631217 
    1164 #: templates/telemeta/mediaitem_detail.html:263 
     1218#: templates/telemeta/mediaitem_detail.html:268 
    11651219#: templates/telemeta/mediaitem_detail_video.html:231 
    11661220msgid "performance" 
    11671221msgstr "" 
    11681222 
    1169 #: templates/telemeta/mediaitem_detail.html:268 
     1223#: templates/telemeta/mediaitem_detail.html:273 
    11701224#: templates/telemeta/mediaitem_detail_video.html:236 
    11711225msgid "General informations" 
    11721226msgstr "" 
    11731227 
    1174 #: templates/telemeta/mediaitem_detail.html:270 
     1228#: templates/telemeta/mediaitem_detail.html:275 
    11751229#: templates/telemeta/mediaitem_detail_video.html:238 
    11761230msgid "Remarks" 
    11771231msgstr "" 
    11781232 
    1179 #: templates/telemeta/mediaitem_detail.html:286 
     1233#: templates/telemeta/mediaitem_detail.html:291 
    11801234#: templates/telemeta/mediaitem_detail_video.html:254 
    11811235msgid "Published references" 
     
    12311285msgstr "" 
    12321286 
    1233 #: templates/telemeta/profile_detail.html:8 views/base.py:1369 
     1287#: templates/telemeta/profile_detail.html:8 views/base.py:1376 
    12341288msgid "User profile" 
    12351289msgstr "" 
     
    12931347msgstr "" 
    12941348 
    1295 #: templates/telemeta/resource_detail.html:101 
     1349#: templates/telemeta/resource_detail.html:106 
    12961350#: templates/telemeta/resource_detail_dc.html:16 
    12971351msgid "No such resource" 
     
    15901644msgstr "" 
    15911645 
    1592 #: views/base.py:245 views/base.py:435 views/base.py:598 views/base.py:902 
    1593 #: views/base.py:1368 
     1646#: views/base.py:248 views/base.py:438 views/base.py:604 views/base.py:909 
     1647#: views/base.py:1375 
    15941648msgid "Access not allowed" 
    15951649msgstr "" 
    15961650 
    1597 #: views/base.py:247 views/base.py:437 views/base.py:600 views/base.py:904 
    1598 #: views/base.py:1370 
     1651#: views/base.py:250 views/base.py:440 views/base.py:606 views/base.py:911 
     1652#: views/base.py:1377 
    15991653msgid "" 
    16001654"Please login or contact the website administator to get a private access." 
    16011655msgstr "" 
    16021656 
    1603 #: views/base.py:1399 
     1657#: views/base.py:1406 
    16041658msgid "Last changes" 
    16051659msgstr "" 
  • telemeta/locale/de/LC_MESSAGES/djangojs.po

    re9b5443 rb3affa6  
    99"Project-Id-Version: PACKAGE VERSION\n" 
    1010"Report-Msgid-Bugs-To: \n" 
    11 "POT-Creation-Date: 2012-02-14 00:59+0100\n" 
     11"POT-Creation-Date: 2012-02-20 17:09+0100\n" 
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 
  • telemeta/locale/fr/LC_MESSAGES/django.po

    re9b5443 rb3affa6  
    99"Project-Id-Version: PACKAGE VERSION\n" 
    1010"Report-Msgid-Bugs-To: \n" 
    11 "POT-Creation-Date: 2012-02-14 00:59+0100\n" 
     11"POT-Creation-Date: 2012-02-20 17:09+0100\n" 
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 
    1313"Last-Translator: Olivier Guilyardi <olivier samalyse com>\n" 
     
    9393msgstr "nom" 
    9494 
     95#: models/enum.py:171 models/media.py:689 
     96msgid "tape length (cm)" 
     97msgstr "" 
     98 
     99#: models/enum.py:178 models/media.py:690 
     100msgid "tape width (inch)" 
     101msgstr "" 
     102 
     103#: models/enum.py:185 models/media.py:691 
     104msgid "tape speed (m/s)" 
     105msgstr "" 
     106 
     107#: models/enum.py:192 
     108msgid "tape vendor" 
     109msgstr "" 
     110 
    95111#: models/instrument.py:57 
    96112msgid "instrument aliases" 
     
    327343msgstr "numérisation" 
    328344 
    329 #: models/media.py:225 
     345#: models/media.py:225 models/media.py:685 
    330346msgid "status" 
    331347msgstr "etat" 
     
    416432msgstr "copie de" 
    417433 
    418 #: models/media.py:362 templates/telemeta/mediaitem_detail.html:224 
     434#: models/media.py:362 templates/telemeta/mediaitem_detail.html:229 
    419435#: templates/telemeta/mediaitem_detail_video.html:192 
    420436msgid "keywords" 
     
    423439#: models/media.py:374 models/media.py:415 models/media.py:425 
    424440#: models/media.py:436 models/media.py:452 models/media.py:473 
    425 #: models/media.py:518 models/media.py:539 
     441#: models/media.py:518 models/media.py:539 models/media.py:682 
    426442msgid "item" 
    427443msgstr "item" 
     
    517533msgstr "média associés" 
    518534 
     535#: models/media.py:683 
     536msgid "original code" 
     537msgstr "cote original" 
     538 
     539#: models/media.py:684 
     540msgid "support number" 
     541msgstr "n° du support" 
     542 
     543#: models/media.py:686 
     544msgid "conservation state" 
     545msgstr "état de conservation" 
     546 
     547#: models/media.py:687 
     548msgid "comments" 
     549msgstr "commentaires" 
     550 
     551#: models/media.py:693 
     552msgid "tape thickness (um)" 
     553msgstr "" 
     554 
     555#: models/media.py:694 
     556msgid "tape diameter (mm)" 
     557msgstr "" 
     558 
     559#: models/media.py:695 
     560msgid "tape reference" 
     561msgstr "référence de bande" 
     562 
     563#: models/media.py:699 
     564msgid "format" 
     565msgstr "format" 
     566 
    519567#: models/system.py:52 
    520568msgid "element type" 
     
    562610 
    563611#: models/system.py:102 
    564 #, fuzzy 
    565612msgid "key" 
    566613msgstr "Mot-clé" 
     
    670717msgstr "Bureau" 
    671718 
    672 #: templates/telemeta/base.html:86 views/base.py:246 
     719#: templates/telemeta/base.html:86 views/base.py:249 
    673720msgid "Lists" 
    674721msgstr "Listes" 
     
    729776 
    730777#: templates/telemeta/base.html:157 
    731 #: templates/telemeta/collection_detail.html:121 
     778#: templates/telemeta/collection_detail.html:125 
    732779msgid "Legal notices" 
    733780msgstr "Mentions légales" 
     
    783830 
    784831#: templates/telemeta/collection_detail.html:5 
    785 #: templates/telemeta/collection_detail_dc.html:5 views/base.py:436 
     832#: templates/telemeta/collection_detail_dc.html:5 views/base.py:439 
    786833msgid "Collection" 
    787834msgstr "Collection" 
     
    790837#: templates/telemeta/lists.html:55 
    791838#: templates/telemeta/mediaitem_detail.html:97 
    792 #: templates/telemeta/mediaitem_detail.html:224 
    793 #: templates/telemeta/mediaitem_detail.html:263 
     839#: templates/telemeta/mediaitem_detail.html:229 
     840#: templates/telemeta/mediaitem_detail.html:268 
    794841#: templates/telemeta/mediaitem_detail_video.html:90 
    795842#: templates/telemeta/mediaitem_detail_video.html:192 
     
    832879msgstr "Période d'enregistrement" 
    833880 
    834 #: templates/telemeta/collection_detail.html:108 
    835 #: templates/telemeta/mediaitem_detail.html:204 
     881#: templates/telemeta/collection_detail.html:103 
     882#: templates/telemeta/mediaitem_detail.html:199 
     883#: templates/telemeta/resource_detail.html:73 
     884msgid "Last modification" 
     885msgstr "Dernière modification" 
     886 
     887#: templates/telemeta/collection_detail.html:112 
     888#: templates/telemeta/mediaitem_detail.html:209 
    836889#: templates/telemeta/mediaitem_detail_video.html:176 
    837890msgid "Geographic and cultural informations" 
    838891msgstr "Indications géographiques et culturelles" 
    839892 
    840 #: templates/telemeta/collection_detail.html:126 
     893#: templates/telemeta/collection_detail.html:130 
    841894#: templates/telemeta/lists.html:72 
    842895#: templates/telemeta/inc/collection_list.html:16 
     
    845898msgstr "Collecteur" 
    846899 
    847 #: templates/telemeta/collection_detail.html:135 
     900#: templates/telemeta/collection_detail.html:139 
    848901msgid "Bibliographic references" 
    849902msgstr "Références bibliographiques" 
    850903 
    851 #: templates/telemeta/collection_detail.html:148 
    852 #: templates/telemeta/mediaitem_detail.html:280 
     904#: templates/telemeta/collection_detail.html:152 
     905#: templates/telemeta/mediaitem_detail.html:285 
    853906#: templates/telemeta/mediaitem_detail_video.html:248 
    854907msgid "Archiving data" 
    855908msgstr "Données d'archivage" 
    856909 
    857 #: templates/telemeta/collection_detail.html:154 
     910#: templates/telemeta/collection_detail.html:158 
    858911msgid "Related documentation" 
    859912msgstr "Documentation associée" 
    860913 
    861 #: templates/telemeta/collection_detail.html:158 
     914#: templates/telemeta/collection_detail.html:162 
    862915msgid "Comments" 
    863916msgstr "Commentaires" 
    864917 
    865 #: templates/telemeta/collection_detail.html:172 
    866 #: templates/telemeta/mediaitem_detail.html:296 
     918#: templates/telemeta/collection_detail.html:176 
     919#: templates/telemeta/mediaitem_detail.html:301 
    867920#: templates/telemeta/mediaitem_detail_video.html:264 
    868921msgid "Technical data" 
    869922msgstr "Données techniques" 
    870923 
    871 #: templates/telemeta/collection_detail.html:177 
    872 #: templates/telemeta/mediaitem_detail.html:299 
     924#: templates/telemeta/collection_detail.html:181 
     925#: templates/telemeta/mediaitem_detail.html:304 
    873926#: templates/telemeta/mediaitem_detail_video.html:267 
    874927msgid "Media type" 
    875928msgstr "Type de media" 
    876929 
    877 #: templates/telemeta/collection_detail.html:177 
     930#: templates/telemeta/collection_detail.html:181 
    878931#: templates/telemeta/mediaitem_detail_video.html:267 
    879932msgid "Audio" 
    880933msgstr "Audio" 
    881934 
    882 #: templates/telemeta/collection_detail.html:182 
     935#: templates/telemeta/collection_detail.html:186 
    883936#: templates/telemeta/geo_countries.html:16 
    884937msgid "Number of items" 
    885938msgstr "Nombre d'items" 
    886939 
    887 #: templates/telemeta/collection_detail.html:211 
     940#: templates/telemeta/collection_detail.html:215 
    888941#: templates/telemeta/lists.html:58 
    889 #: templates/telemeta/mediaitem_detail.html:320 
     942#: templates/telemeta/mediaitem_detail.html:325 
    890943#: templates/telemeta/mediaitem_detail_video.html:363 
    891 #: templates/telemeta/resource_detail.html:95 
     944#: templates/telemeta/resource_detail.html:100 
    892945msgid "Delete" 
    893946msgstr "Supprimer" 
     
    11011154#: templates/telemeta/mediaitem_copy.html:5 
    11021155#: templates/telemeta/mediaitem_detail.html:5 
    1103 #: templates/telemeta/mediaitem_detail_video.html:5 views/base.py:599 
     1156#: templates/telemeta/mediaitem_detail_video.html:5 views/base.py:605 
    11041157msgid "Item" 
    11051158msgstr "Item" 
     
    11471200msgstr "Date d'enregistrement" 
    11481201 
    1149 #: templates/telemeta/mediaitem_detail.html:206 
     1202#: templates/telemeta/mediaitem_detail.html:211 
    11501203#: templates/telemeta/mediaitem_detail_video.html:178 
    11511204#: templates/telemeta/inc/mediaitem_list.html:18 
     
    11531206msgstr "Lieu" 
    11541207 
    1155 #: templates/telemeta/mediaitem_detail.html:212 
     1208#: templates/telemeta/mediaitem_detail.html:217 
    11561209msgid "Language ISO" 
    11571210msgstr "Langue ISO" 
    11581211 
    1159 #: templates/telemeta/mediaitem_detail.html:216 
     1212#: templates/telemeta/mediaitem_detail.html:221 
    11601213#: templates/telemeta/mediaitem_detail_video.html:184 
    11611214msgid "Ethnographic context" 
    11621215msgstr "Contexte ethnographique" 
    11631216 
    1164 #: templates/telemeta/mediaitem_detail.html:229 
     1217#: templates/telemeta/mediaitem_detail.html:234 
    11651218#: templates/telemeta/mediaitem_detail_video.html:197 
    11661219msgid "Musical informations" 
    11671220msgstr "Informations sur la musique" 
    11681221 
    1169 #: templates/telemeta/mediaitem_detail.html:263 
     1222#: templates/telemeta/mediaitem_detail.html:268 
    11701223#: templates/telemeta/mediaitem_detail_video.html:231 
    11711224msgid "performance" 
    11721225msgstr "composition" 
    11731226 
    1174 #: templates/telemeta/mediaitem_detail.html:268 
     1227#: templates/telemeta/mediaitem_detail.html:273 
    11751228#: templates/telemeta/mediaitem_detail_video.html:236 
    11761229msgid "General informations" 
    11771230msgstr "Informations générales" 
    11781231 
    1179 #: templates/telemeta/mediaitem_detail.html:270 
     1232#: templates/telemeta/mediaitem_detail.html:275 
    11801233#: templates/telemeta/mediaitem_detail_video.html:238 
    11811234msgid "Remarks" 
    11821235msgstr "Remarques" 
    11831236 
    1184 #: templates/telemeta/mediaitem_detail.html:286 
     1237#: templates/telemeta/mediaitem_detail.html:291 
    11851238#: templates/telemeta/mediaitem_detail_video.html:254 
    11861239msgid "Published references" 
     
    12361289msgstr "Profil utilisateur" 
    12371290 
    1238 #: templates/telemeta/profile_detail.html:8 views/base.py:1369 
     1291#: templates/telemeta/profile_detail.html:8 views/base.py:1376 
    12391292msgid "User profile" 
    12401293msgstr "Profil utilisateur" 
     
    12981351msgstr "Nouveau" 
    12991352 
    1300 #: templates/telemeta/resource_detail.html:101 
     1353#: templates/telemeta/resource_detail.html:106 
    13011354#: templates/telemeta/resource_detail_dc.html:16 
    13021355msgid "No such resource" 
     
    16011654msgstr "mots clés" 
    16021655 
    1603 #: views/base.py:245 views/base.py:435 views/base.py:598 views/base.py:902 
    1604 #: views/base.py:1368 
     1656#: views/base.py:248 views/base.py:438 views/base.py:604 views/base.py:909 
     1657#: views/base.py:1375 
    16051658msgid "Access not allowed" 
    16061659msgstr "Accès non autorisé" 
    16071660 
    1608 #: views/base.py:247 views/base.py:437 views/base.py:600 views/base.py:904 
    1609 #: views/base.py:1370 
     1661#: views/base.py:250 views/base.py:440 views/base.py:606 views/base.py:911 
     1662#: views/base.py:1377 
    16101663msgid "" 
    16111664"Please login or contact the website administator to get a private access." 
     
    16141667"pour obtenir un accès privé." 
    16151668 
    1616 #: views/base.py:1399 
     1669#: views/base.py:1406 
    16171670msgid "Last changes" 
    16181671msgstr "Dernières modifications" 
     
    16321685#~ msgid "Comments / ethnographic context" 
    16331686#~ msgstr "Commentaires / contexte ethnographique" 
    1634  
    1635 #~ msgid "comments" 
    1636 #~ msgstr "commentaires" 
    16371687 
    16381688#~ msgid "Account" 
  • telemeta/locale/fr/LC_MESSAGES/djangojs.po

    re9b5443 rb3affa6  
    99"Project-Id-Version: PACKAGE VERSION\n" 
    1010"Report-Msgid-Bugs-To: \n" 
    11 "POT-Creation-Date: 2012-02-14 00:59+0100\n" 
     11"POT-Creation-Date: 2012-02-20 17:09+0100\n" 
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 
    1313"Last-Translator: Guillaume Pellerin <yomguy@parisson.com>\n" 
  • telemeta/templates/telemeta/collection_detail.html

    r461ebfc rb3affa6  
    100100                <dd><a href="{% url telemeta-resource-detail parent.element_type parent.public_id %}">{{ parent.title }}</a></dd> 
    101101                {% endfor %} 
     102                {% if last_revision %} 
     103                <dt>{% trans "Last modification" %}</dt> 
     104                <dd>{{ last_revision.time }}</dd> 
     105                {% endif %} 
    102106            </dl> 
    103107        {% endblock general_info %} 
  • telemeta/templates/telemeta/resource_detail.html

    r72b372a rb3affa6  
    7070              <dd><a href="{% url telemeta-resource-detail parent.element_type parent.public_id %}">{{ parent.title }}</a></dd> 
    7171               {% endfor %} 
     72              {% if last_revision %} 
     73               <dt>{% trans "Last modification" %}</dt> 
     74               <dd>{{ last_revision.time }}</dd> 
     75              {% endif %} 
    7276            </dl> 
     77             
    7378        {% endblock general_info %} 
    7479 
  • telemeta/views/base.py

    r7ed402e rb3affa6  
    449449        check_related_media(related_media) 
    450450        parents = MediaCorpus.objects.filter(children=collection) 
    451  
    452         return render(request, template, {'collection': collection, 'playlists': playlists, 'public_access': public_access, 'items': items, 'related_media': related_media, 'parents': parents }) 
     451        last_revision = Revision.objects.filter(element_type='collection', element_id=collection.id).order_by('-time')[0] 
     452 
     453        return render(request, template, {'collection': collection, 'playlists': playlists, 
     454                'public_access': public_access, 'items': items, 'related_media': related_media, 
     455                'parents': parents, 'last_revision': last_revision }) 
    453456 
    454457    @method_decorator(permission_required('telemeta.change_mediacollection')) 
     
    14821485        check_related_media(related_media) 
    14831486        playlists = get_playlists(request) 
     1487        last_revision = Revision.objects.filter(element_type=type, element_id=resource.id).order_by('-time')[0] 
    14841488        if self.parent: 
    14851489            parents = self.parent.objects.filter(children=resource) 
     
    14871491            parents = [] 
    14881492 
    1489         return render(request, template, {'resource': resource, 'type': type, 'children': children, 'related_media': related_media, 'parents': parents, 'playlists': playlists }) 
     1493        return render(request, template, {'resource': resource, 'type': type, 'children': children, 
     1494                        'related_media': related_media, 'parents': parents, 'playlists': playlists, 
     1495                        'last_revision': last_revision }) 
    14901496 
    14911497    @jsonrpc_method('telemeta.change_fonds') 
Note: See TracChangeset for help on using the changeset viewer.