diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewNavigationMenuWidget.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewNavigationMenuWidget.xml index 1780b5a703af8aa2616b336ddc5bf6d3253c918e..92ca3c62e5334667a9b63283e58fe9b970b56267 100644 --- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewNavigationMenuWidget.xml +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewNavigationMenuWidget.xml @@ -181,7 +181,21 @@ </li>\n </tal:block>\n \n - <li tal:condition="not:is_anonymous"><a href="WebSite_redirectToUserPreference" i18n:translate="" i18n:domain="ui">Settings</a></li>\n + <li tal:condition="not:is_anonymous">\n + <a href="#" i18n:translate="" i18n:domain="ui">Settings</a>\n + <ul>\n + <li>\n + <a tal:attributes="href string:${portal_path}/WebSite_redirectToUserPerson"\n + i18n:translate="" \n + i18n:domain="ui">My Profile</a>\n + </li>\n + <li>\n + <a href="WebSite_redirectToUserPreference" \n + i18n:translate="" \n + i18n:domain="ui">My Preferences</a>\n + </li>\n + </ul>\n + </li>\n </ul>\n \n </tal:block>\n diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewUserInformationWidget.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewUserInformationWidget.xml index bd4d1aed11fb040f8b7a17429fee2767c5691621..e224fa5eb632c119410e5070001261474f98703f 100644 --- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewUserInformationWidget.xml +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/WebSite_viewUserInformationWidget.xml @@ -60,25 +60,19 @@ portal_path python:request.get(\'current_web_site_url\', current_web_site.absolute_url());">\n \n <tal:block tal:condition="not:here/portal_membership/isAnonymousUser">\n - <tal:block tal:define="person_object current_web_site/ERP5Site_getAuthenticatedMemberPersonValue">\n - <a tal:define="user_name python:person_object is not None and person_object.getTitle() or here.portal_membership.getAuthenticatedMember().getUserName()"\n - tal:attributes="href string:${portal_path}/WebSite_redirectToUserPerson">\n - <b tal:replace="user_name">\n - jp\n - </b>\n - </a>\n - </tal:block>\n - \n - <a id="n7" href="#" tal:attributes="href string:${portal_path}/WebSite_logout"\n + <a id="login-logout-link" \n + href="#" tal:attributes="href string:${portal_path}/WebSite_logout"\n i18n:translate="" i18n:domain="ui">\n Logout\n </a>\n </tal:block>\n \n <tal:block tal:condition="here/portal_membership/isAnonymousUser">\n - <a id="n7" href="#" tal:attributes="href string:${portal_path}/login_form"\n - i18n:translate="" i18n:domain="ui">\n - Login\n + <a id="login-logout-link" \n + href="#" \n + tal:attributes="href string:${portal_path}/login_form"\n + i18n:translate="" i18n:domain="ui">\n + Login\n </a>\n </tal:block>\n \n diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/color.css.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/color.css.xml index 9c1570cd006d3e9d00b741c4caf5caccbbf444a7..68e8f3257835894b555717df27c7b5a4c852ef97 100644 --- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/color.css.xml +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/color.css.xml @@ -402,14 +402,14 @@ a.pub:link, a.pub:active, a.pub:visited, .pub { color:#45cb45; }\n \n }\n \n -#menu #n7:link, #menu #n7:active, #menu #n7:visited {\n +#menu #login-logout-link:link, #menu #login-logout-link:active, #menu #login-logout-link:visited {\n \n \tbackground: url(../km_img/login.gif) no-repeat transparent;\n background-position: 0 -3px;\n \n }\n \n -#menu #n7:hover {\n +#menu #login-logout-link:hover {\n \n \tbackground-position: 0 -23px;\n \n diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/gadget.css.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/gadget.css.xml index d190ce8e411b0d66dbd90537b8ae3448e883ee6d..919dd1e179e253f805589206192f29521c32c8b5 100644 --- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/gadget.css.xml +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/gadget.css.xml @@ -15,7 +15,7 @@ </item> <item> <key> <string>_EtagSupport__etag</string> </key> - <value> <string>ts73840454.02</string> </value> + <value> <string>ts74084052.19</string> </value> </item> <item> <key> <string>__name__</string> </key> @@ -200,7 +200,12 @@ div.gadget-latest-documents{\n \n /* Gadget Documentation */\n div.gadget_documentation{\n - padding: 0.1em;\n + padding: 0.2em;\n +}\n +\n +/* Gadget Advertisements */\n +div.gadget_advertisement{\n + padding: 0.2em;\n }\n \n /*WEB*/\n @@ -321,7 +326,7 @@ div.block fieldset label{\n </item> <item> <key> <string>size</string> </key> - <value> <int>4869</int> </value> + <value> <int>4944</int> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/layout.css.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/layout.css.xml index be4192a4fb12d89bcee7095d3f7dc4a6bceb05d8..d358af098e0a4bd74eb8687f5d9de9aeb6b3b45f 100644 --- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/layout.css.xml +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/layout.css.xml @@ -436,7 +436,7 @@ button, select, input {\n \n }\n \n -#menu #n7:link, #menu #n7:active, #menu #n7:visited {\n +#menu #login-logout-link:link, #menu #login-logout-link:active, #menu #login-logout-link:visited {\n \n \theight:20px;\n \tposition: relative;\n @@ -1527,7 +1527,10 @@ div.extendedSearchBar{\n div.searchBar input, div.extendedSearchBar input {\n width: auto;\n }\n - +\n +div.centeredInner {\n + text-align: center;\n +} ]]></string> </value> </item> diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/listbox.css.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/listbox.css.xml index de1cfc3ccfb55c56ac9e38d9daf9cf767719dc4e..fe163f4d13783c78a2c423b1be67d6f3d5204d57 100644 --- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/listbox.css.xml +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_css/listbox.css.xml @@ -49,8 +49,8 @@ #km_left {\n width:auto !important;\n min-width:75%;\n - background-color:#FFFFFF;\n - border:1px solid #D1D0C9;\n + /*background-color:#FFFFFF;\n + border:1px solid #D1D0C9;*/\n }\n \n /* Search popup fix*/\n @@ -223,12 +223,12 @@ width:250px;\n \n /* Search bar */\n div.extendedSearchBar {\n - float:right;\n + float:left;\n margin-top:0;\n - padding:0;\n - right:5px;\n + padding:1em 0 0;\n + /*right:5px;\n text-align:right;\n - width:350px;\n + width:350px;*/\n }\n div.extendedSearchBar .button {\n background-image: url(\'./km_img/search_background.png\');\n @@ -267,9 +267,12 @@ background-color:#EBEBE2;\n .listbox select {\n max-width: 145px;\n }\n +\n +/*\n .listbox input {\n width:96%;\n }\n +*/\n \n button.sort_button_desc{\n background-image: url(\'./km_img/switch_desc.png\');\n diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/template_erp5_km_minimal.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/template_erp5_km_minimal.xml index 0e955b7d2a3c69b24f8f7cb846db43aafc2bda40..dbe03ae1b632ae1a7b1c8639b4cc3efc8e64c97c 100644 --- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/template_erp5_km_minimal.xml +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/template_erp5_km_minimal.xml @@ -119,8 +119,8 @@ \'%s/km_css/pulldown.css\' % portal_path,\n \'%s/km_css/type.css\' % portal_path,\n \'%s/km_css/gadget.css\' % portal_path,\n - \'%s/km_custom.css\' % portal_path,\n \'%s/km_css/listbox.css\' % portal_path,\n + \'%s/km_custom.css\' % portal_path,\n ];\n global js_list python:[\n \'%s/erp5_km_utils.js\' % portal_path,\n diff --git a/bt5/erp5_km/bt/revision b/bt5/erp5_km/bt/revision index 20888455bf287d561ec3f2e92f595861db742b58..ca12c174d88bee84eb34ac110b9b5428edf6e40e 100644 --- a/bt5/erp5_km/bt/revision +++ b/bt5/erp5_km/bt/revision @@ -1 +1 @@ -1403 \ No newline at end of file +1404 \ No newline at end of file