Ignore:
Timestamp:
16.11.2009 15:50:56 (3 years ago)
Author:
cmeier
Message:

zms-2.12.1-01

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ZMS/trunk/dtml/ZMS/manage_customizesvnform.dtml

    r723 r794  
    77<dtml-var f_bo_area> 
    88 
    9 <dtml-let basepath="getConfProperty('SVN.path','')" dicon="{ 
     9<dtml-let homeId="getHome().id" basepath="getConfProperty('SVN.path','')" dicon="{ 
     10          'conflict':'%sico_warning.gif'%MISC_ZMS, 
    1011          'DTML Method':'/misc_/OFSP/dtmlmethod.gif', 
    11           'Script (Python)':'/misc_/PythonScripts/pyscript.gif' 
    12         }" 
    13       daction="{ 
    14           'delete':'delete1', 
     12          'Script (Python)':'/misc_/PythonScripts/pyscript.gif', 
     13          'ZMSMetamodelProvider':'%sZMSMetamodelProvider.gif'%MISC_ZMS, 
    1514        }"> 
    1615 
     
    2322 
    2423<dtml-if "action=='outgoing'"> 
    25  <dtml-call "REQUEST.set('l',svnCopy(getHome(),getConfProperty(conf_key,conf_value)+'/'+getHome().id))"> 
     24 <dtml-call "REQUEST.set('l',svnCopy(getHome(),getConfProperty(conf_key,conf_value)+'/'+homeId))"> 
    2625 <dtml-call "REQUEST.set('headline','Copy to Location')"> 
    2726<dtml-else> 
    28  <dtml-call "REQUEST.set('l',svnUpdate(getHome(),getConfProperty(conf_key,conf_value)+'/'+getHome().id))"> 
     27 <dtml-call "REQUEST.set('l',svnUpdate(getHome(),getConfProperty(conf_key,conf_value)+'/'+homeId))"> 
    2928 <dtml-call "REQUEST.set('headline','Update from Location')"> 
    3029</dtml-if> 
     
    3635   <td colspan="4"><dtml-var "f_headline(_,_,headline='%s: %s'%(headline,basepath))"></td> 
    3736  </tr> 
     37  <dtml-if "action=='outgoing'"> 
     38   <tr> 
     39    <td class="form-small">&nbsp;</td> 
     40    <td class="form-small" colspan="2"><b>Location</b></td> 
     41    <td class="form-small"><b>ZODB</b></td> 
     42   </tr> 
     43  <dtml-else> 
     44   <tr> 
     45    <td class="form-small">&nbsp;</td> 
     46    <td class="form-small" colspan="2"><b>ZODB</b></td> 
     47    <td class="form-small"><b>Location</b></td> 
     48   </tr> 
     49  </dtml-if> 
    3850 </dtml-if> 
    3951 <tr valign="top" class="zmiTableRow<dtml-if sequence-odd>Odd<dtml-else>Even</dtml-if>"> 
    40   <td class="form-element"><input class="form-checkbox" type="checkbox" name="ids:list" value="<dtml-var filepath>" checked="checked"/></td> 
     52  <td class="form-element"><input class="form-checkbox" type="checkbox" name="ids:list" value="<dtml-var filepath>" <dtml-unless "action=='conflict'">checked="checked"</dtml-unless>/></td> 
    4153  <td class="form-small"> 
    42    <img src="<dtml-var MISC_ZMS>btn_<dtml-var "daction.get(action,action)">.gif" alt="<dtml-var action>" border="0" align="absmiddle"/> 
     54   <img src="<dtml-var "dicon.get(action,'%s/btn_%s.gif'%(MISC_ZMS,action))">" alt="<dtml-var action>" border="0" align="absmiddle"/> 
    4355   <img src="<dtml-var "dicon.get(meta_type,'/misc_/OFSP/%s_icon.gif'%meta_type)">" alt="<dtml-var action>" alt="" title="<dtml-var meta_type>" border="0" align="absmiddle"/> 
    44    <dtml-var "filepath[len(basepath):]"> (<dtml-var meta_type>) 
     56   <dtml-var "filepath[len(basepath+'/'+homeId+'/'):]"> 
    4557  </td> 
    46   <td class="form-small"><dtml-if mtime><dtml-var "getLangFmtDate(_.DateTime(mtime),lang,'DATETIME_FMT')"></dtml-if></td> 
    47   <td class="form-small"><dtml-if filemtime><dtml-var "getLangFmtDate(_.DateTime(filemtime),lang,'DATETIME_FMT')"></dtml-if></td> 
     58  <td class="form-small"><dtml-if mrevision><dtml-var mrevision><dtml-elif mtime><dtml-var "getLangFmtDate(_.DateTime(mtime),lang,'DATETIME_FMT')"></dtml-if></td> 
     59  <td class="form-small"><dtml-if filemrevision><dtml-var filemrevision><dtml-elif filemtime><dtml-var "getLangFmtDate(_.DateTime(filemtime),lang,'DATETIME_FMT')"></dtml-if></td> 
    4860 <dtml-if sequence-end> 
    4961  </table> 
Note: See TracChangeset for help on using the changeset viewer.