[Erp5-report] r35644 ivan - in /erp5/trunk/bt5/erp5_web: SkinTemplateItem/portal_skins/erp5...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed May 26 14:35:35 CEST 2010


Author: ivan
Date: Wed May 26 14:35:34 2010
New Revision: 35644

URL: http://svn.erp5.org?rev=35644&view=rev
Log:
Add CSS selector so customizing search pop up is possible.
Show reference as well in search pop up.

Modified:
    erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Document_getPopupInfo.xml
    erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/Document_viewPopupTemplate.xml
    erp5/trunk/bt5/erp5_web/bt/revision

Modified: erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Document_getPopupInfo.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Document_getPopupInfo.xml?rev=35644&r1=35643&r2=35644&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Document_getPopupInfo.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/Document_getPopupInfo.xml [utf8] Wed May 26 14:35:34 2010
@@ -103,6 +103,11 @@
 \n
 try:\n
   doc_info[\'version\'] = context.getVersion() or \'\'\n
+except AttributeError:\n
+  pass\n
+\n
+try:\n
+  doc_info[\'reference\'] = context.getReference() or \'\'\n
 except AttributeError:\n
   pass\n
 \n

Modified: erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/Document_viewPopupTemplate.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/Document_viewPopupTemplate.xml?rev=35644&r1=35643&r2=35644&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/Document_viewPopupTemplate.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/Document_viewPopupTemplate.xml [utf8] Wed May 26 14:35:34 2010
@@ -46,59 +46,66 @@
                        status python: options.get(\'status\', None);\n
                        group python: options.get(\'group\', None);\n
                        project python: options.get(\'project\', None);\n
+                       reference python: options.get(\'reference\', None);\n
                        language python: options.get(\'language\', None);\n
                        version python: options.get(\'version\', None);">\n
   \n
   <div class="popup_row" tal:condition="owner">\n
-    <span class="popup_label" \n
+    <span class="popup_label owner" \n
           i18n:translate="" i18n:domain="ui">Owners:</span>\n
     <tal:block tal:replace="owner|nothing"/>\n
   </div> \n
   \n
   <div class="popup_row" tal:condition="modification_date">\n
-    <span class="popup_label" \n
+    <span class="popup_label modification_date" \n
           i18n:translate="" i18n:domain="ui">Last modified:</span>\n
     <tal:block tal:replace="modification_date|nothing"/>\n
   </div>\n
   \n
   <div class="popup_row" tal:condition="release_date">\n
-    <span class="popup_label" \n
+    <span class="popup_label release_date" \n
           i18n:translate="" i18n:domain="ui">Released:</span>\n
     <tal:block tal:replace="release_date|nothing"/>\n
   </div>\n
   \n
   <div class="popup_row" tal:condition="publication_date">  \n
-    <span class="popup_label" \n
+    <span class="popup_label publication_date" \n
           i18n:translate="" i18n:domain="ui">Published:</span>\n
     <tal:block tal:replace="publication_date|nothing"/>\n
   </div>\n
   \n
   <div class="popup_row" tal:condition="status">    \n
-    <span class="popup_label" \n
+    <span class="popup_label status" \n
           i18n:translate="" i18n:domain="ui">Status:</span>\n
     <tal:block tal:replace="status|nothing"/>\n
   </div>\n
-    \n
+\n
+  <div class="popup_row" tal:condition="reference">    \n
+    <span class="popup_label reference" \n
+          i18n:translate="" i18n:domain="ui">Reference:</span>\n
+    <tal:block tal:replace="reference|nothing"/>\n
+  </div>\n
+\n
   <div class="popup_row" tal:condition="language">    \n
-    <span class="popup_label" \n
+    <span class="popup_label language" \n
           i18n:translate="" i18n:domain="ui">Language:</span>\n
     <tal:block tal:replace="language|nothing"/>\n
   </div>  \n
     \n
   <div class="popup_row" tal:condition="version">    \n
-    <span class="popup_label" \n
+    <span class="popup_label version" \n
           i18n:translate="" i18n:domain="ui">Version:</span>\n
     <tal:block tal:replace="version|nothing"/>\n
   </div>  \n
   \n
   <div class="popup_row" tal:condition="group">\n
-    <span class="popup_label" \n
+    <span class="popup_label group" \n
           i18n:translate="" i18n:domain="ui">Group:</span>\n
     <tal:block tal:replace="group|nothing"/>\n
   </div>\n
     \n
   <div class="popup_row" tal:condition="project">\n
-    <span class="popup_label" \n
+    <span class="popup_label project" \n
           i18n:translate="" i18n:domain="ui">Project:</span>\n
     <tal:block tal:replace="project|nothing"/>\n
   </div>\n

Modified: erp5/trunk/bt5/erp5_web/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/revision?rev=35644&r1=35643&r2=35644&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/bt/revision [utf8] Wed May 26 14:35:34 2010
@@ -1,1 +1,1 @@
-952
+953




More information about the Erp5-report mailing list