[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bricolage-devel
Subject:    Re: UUID and Bric ID
From:       Kineticode Billing <david () kineticode ! com>
Date:       2006-03-01 0:55:35
Message-ID: E11DE9B8-AAE8-43DC-8BC0-F0BF4B2B5760 () kineticode ! com
[Download RAW message or body]

On Feb 28, 2006, at 16:44, Paul Orrock wrote:

> Thats fine, can you give me a pointer to the location of the  
> tooltip code and I'll add it in to the profiles.

You just need to add a title attribute to the relevant element in the  
HTML. For example, to add it to the Edit Story profile, you'd do  
something like this:

Index: comp/widgets/story_prof/edit_meta.html
===================================================================
--- story_prof/edit_contributoredit_meta.html	(revision 7051)
+++ story_prof/edit_contributoredit_meta.html	(working copy)
@@ -28,7 +28,7 @@
</%perl>
<dl class="viewmeta">
-  <dt><% $lang->maketext('UUID') %>:</dt>
+  <dt title="ID: <% $story->get_id %>"><% $lang->maketext('UUID') % 
 >:</dt>
    <dd><% $story->get_uuid %></dd>
    <dt><% $lang->maketext('Story Type') %>:</dt>
    <dd><% $story->get_element_name || '&nbsp;' %></dd>

There are a whole lot of places that need this treatment in order to  
be consistent: The edit and view_ views for stories, media, and  
templates, the summary widget, and in the manager views for all three  
types of asset.

Best,

David
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic