Ignore:
Timestamp:
03/05/10 13:36:50 (2 years ago)
Author:
dar
Message:

Ajout de l'aspect IAccessRightsAspect sur NuxeoSrcNode, field srcLiveUri, libellé des onglets de versions, format des colonnes de dates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Xul_Wsp/content/scenariWsp/views/historyView/historyView.xbl.xml

    r14956 r15040  
    5050                                        } 
    5151                                        var vFields = this.fTreeNode.getTreeRoot().getNeededDataKeys(["srcUri"]).join("*"); 
    52                                         log.info(vFields); 
    5352                                        var vServiceUri = "/u/trav?cdaction=PROPFIND_ALL&Depth=0&history=50&PathRes="+window.encodeURIComponent(pUriRoot)+"&fields="+vFields; 
    5453                                        pDataProvider.loadFromService(vServiceUri, sAsynchResult, sAsynchResult); 
     
    7069                                        var columnDate = new this.columns.Column("date").setLabel("Date").setFlex(1); 
    7170                                        columnDate.setCellBuilderFactory(function(pJsTreeRoot){ 
    72                                                 return new pJsTreeRoot.CellBuilderLeafDate("srcDt", true); 
     71                                                return new pJsTreeRoot.CellBuilderLeafDate("srcDt", true, "%3$s/%2$s/%1$s %4$s:%5$s:%6$s"); 
    7372                                        }); 
    74                                         extPoints.registerSvcByInst("columnDate", 1, columnDate); 
    75                                         extPoints.addSvcToList("columns:historyView", "columnDate", 1, "columnDate", 60); 
     73                                        extPoints.addToList("columns:historyView", "columnDate", 1, columnDate, 60); 
    7674                                         
    77                                         var columnContrib = new this.columns.Column("contrib").setLabel("Contributeur").setFlex(1); 
    78                                         columnContrib.setCellBuilderFactory(function(pJsTreeRoot){ 
     75                                        var columnUser = new this.columns.Column("contrib").setLabel("Contributeur").setFlex(1); 
     76                                        columnUser.setCellBuilderFactory(function(pJsTreeRoot){ 
    7977                                                return new pJsTreeRoot.CellBuilderLeafString("srcUser", true); 
    8078                                        }); 
    81                                         extPoints.registerSvcByInst("columnContrib", 1, columnContrib); 
    82                                         extPoints.addSvcToList("columns:historyView", "columnContrib", 1, "columnContrib", 60); 
     79                                        extPoints.registerSvcByInst("columnUser", 1, columnUser); 
     80                                        extPoints.addToList("columns:historyView", "columnUser", 1, columnUser, 60); 
    8381                                }catch(e){log.debug(e);} 
    8482                                ]]></body> 
Note: See TracChangeset for help on using the changeset viewer.