[Zope-dev] Small ZMI enhancement

Andreas Jung Andreas Jung" <andreas@zope.com
Fri, 19 Oct 2001 12:13:32 -0400


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 )
>