[Zope-dev] Small ZMI enhancement

Chris McDonough chrism@zope.com
Fri, 19 Oct 2001 22:22:44 -0400


Is the change going to be documented anywhere?

Andreas Jung wrote:
> It's in the CVS now.
> 
> Thanks,
> Andreas
> ----- Original Message -----
> From: "Casey Duncan" <c.duncan@nlada.org>
> To: <zope-dev@zope.org>
> Sent: Friday, October 19, 2001 11:45
> Subject: [Zope-dev] Small ZMI enhancement
> 
> 
> 
>>When working in versions, it is currently a pain to get to the current
>>
> version you
> 
>>are working in. Since the ZMI displays the path to the current version at
>>
> the top,
> 
>>I thought, why now make this a link to the version so that you can get
>>
> there in
> 
>>one click and manage it?
>>
>>Here is the patch to lib/python/App/dtml/manage_tabs.dtml:
>>
>>*** manage_tabs.dtml~ Fri Oct 19 11:34:11 2001
>>--- manage_tabs.dtml Fri Oct 19 11:37:48 2001
>>***************
>>*** 161,167 ****
>>
>>  <dtml-if Zope-Version>
>>  <div class="system-msg">
>>! <em>You are currently working in version <dtml-var Zope-Version
>>
> html_quote></em>
> 
>>  </div>
>>  </dtml-if>
>>  </dtml-unless>
>>--- 161,167 ----
>>
>>  <dtml-if Zope-Version>
>>  <div class="system-msg">
>>! <em>You are currently working in version <a
>>
> href="&dtml-SERVER_URL;&dtml-Zope-Version;/manage_main"><dtml-var
> Zope-Version html_quote></a></em>
> 
>>  </div>
>>  </dtml-if>
>>  </dtml-unless>
>>
>>Anyone object to putting this in the core?
>>
>>Enjoy.
>>
>>/---------------------------------------------------\
>>  Casey Duncan, Sr. Web Developer
>>  National Legal Aid and Defender Association
>>  c.duncan@nlada.org
>>\---------------------------------------------------/
>>
>>_______________________________________________
>>Zope-Dev maillist  -  Zope-Dev@zope.org
>>http://lists.zope.org/mailman/listinfo/zope-dev
>>**  No cross posts or HTML encoding!  **
>>(Related lists -
>> http://lists.zope.org/mailman/listinfo/zope-announce
>> http://lists.zope.org/mailman/listinfo/zope )
>>
>>
> 
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
> 


-- 
Chris McDonough                    Zope Corporation
http://www.zope.org             http://www.zope.com
"Killing hundreds of birds with thousands of stones"