Ticket #3057 (new enhancement)
Show description of OID as tooltip
| Reported by: | kpg123 | Owned by: | edahl |
|---|---|---|---|
| Priority: | 3 - Medium | Milestone: | Blue Crab |
| Component: | All | Version: | 2.1.91 |
| Keywords: | contribute | Cc: | |
| Community Patch Attached: | Deployed @ Customer: | ||
| Installer: | Maintenance Target: | ||
| Specific ZenPack: | Maintenance Status: | ||
| Documentation Note?: | Not required | Regression: |
Description
By displaying the tooltip at the URL reference, you don't need to click on the item to find its description. This is a two-line change the ZPT.
Index: ZenModel/skins/zenmodel/viewMibModule.pt
===================================================================
--- ZenModel/skins/zenmodel/viewMibModule.pt (revision 8390)
+++ ZenModel/skins/zenmodel/viewMibModule.pt (working copy)
@@ -86,7 +86,7 @@
<td>
<input type="checkbox" name="ids:list"
tal:attributes="value ds/getId"/>
- <a tal:attributes="href ds/getPrimaryUrlPath"
+ <a tal:attributes="href ds/getPrimaryUrlPath;title ds/description"
tal:content="ds/getId">name</a>
</td>
<td tal:content="ds/oid"/>
@@ -145,7 +145,7 @@
<td>
<input type="checkbox" name="ids:list"
tal:attributes="value ds/getId"/>
- <a tal:attributes="href ds/getPrimaryUrlPath"
+ <a tal:attributes="href ds/getPrimaryUrlPath;title ds/description"
tal:content="ds/getId">name</a>
</td>
<td tal:content="ds/oid"/>