Commit 0e626538 authored by Fabien Morin's avatar Fabien Morin

* improve register button display and css

* add manager permissions on validated state
* add french translated messages

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21222 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 367968ad
...@@ -58,6 +58,13 @@ ...@@ -58,6 +58,13 @@
\n \n
<tal:block define="dummy python: request.RESPONSE.setHeader(\'Content-Type\', \'text/css;; charset=utf-8\')"/>\n <tal:block define="dummy python: request.RESPONSE.setHeader(\'Content-Type\', \'text/css;; charset=utf-8\')"/>\n
\n \n
/* Define some constant to make the css flexible without pain */\n
<tal:block\n
define="unit python: \'px\';\n
PADDING python: 15;\n
MIN_WIDTH python: 400;\n
">\n
\n
.document .status{\n .document .status{\n
width:100%;\n width:100%;\n
}\n }\n
...@@ -70,9 +77,8 @@ ...@@ -70,9 +77,8 @@
padding-top: 50px !important;\n padding-top: 50px !important;\n
}\n }\n
\n \n
.document .tools .tabberlive,\n .document .tools .tabberlive{\n
.become_vip_member{\n min-width: <tal:block replace="python: (\'%s%s\') % (MIN_WIDTH, unit)"/>;\n
min-width: 400px;\n
}\n }\n
\n \n
/*--------------------------------------------------\n /*--------------------------------------------------\n
...@@ -152,7 +158,7 @@ ul.tabbernav li.tabberactive a:hover\n ...@@ -152,7 +158,7 @@ ul.tabbernav li.tabberactive a:hover\n
Add style only after the tabber interface is set up (.tabberlive)\n Add style only after the tabber interface is set up (.tabberlive)\n
--------------------------------------------------*/\n --------------------------------------------------*/\n
.tabberlive .tabbertab {\n .tabberlive .tabbertab {\n
padding:15px;\n padding: <tal:block replace="python: (\'%s%s\') % (PADDING, unit)"/>;\n
border:1px solid #aaa;\n border:1px solid #aaa;\n
border-top:0;\n border-top:0;\n
\n \n
...@@ -228,12 +234,20 @@ div.fields div{\n ...@@ -228,12 +234,20 @@ div.fields div{\n
VIP CSS !\n VIP CSS !\n
-------------------------------------------------*/\n -------------------------------------------------*/\n
\n \n
.become_vip_member{\n
min-width: <tal:block replace="python: (\'%s%s\') % (MIN_WIDTH - 2*PADDING - 2, unit)"/>;\n
}\n
\n
.become_vip_member{\n .become_vip_member{\n
border: 1px solid #aaa;\n border: 1px solid #aaa;\n
padding: 1em 2em 3.5em 2em;\n /*padding: 1em 2em 3.5em 2em;*/\n
padding: <tal:block replace="python: (\'%s%s\') % (PADDING, unit)"/>;\n
background: #fff;\n background: #fff;\n
}\n }\n
\n \n
#register_button{\n
}\n
\n
.become_vip_member{\n .become_vip_member{\n
margin-bottom: 40px;\n margin-bottom: 40px;\n
}\n }\n
...@@ -274,6 +288,8 @@ margin-right: 1em;\n ...@@ -274,6 +288,8 @@ margin-right: 1em;\n
\n \n
.tabbertab .advanced_search_fields input{\n .tabbertab .advanced_search_fields input{\n
}\n }\n
\n
</tal:block>\n
]]></string> </value> ]]></string> </value>
......
...@@ -63,6 +63,7 @@ Description:\n ...@@ -63,6 +63,7 @@ Description:\n
name="EGov_register:method"\n name="EGov_register:method"\n
value="Register >>"/>\n value="Register >>"/>\n
</div>\n </div>\n
<div class="clear"></div>\n
</tal:block>\n </tal:block>\n
......
...@@ -72,6 +72,7 @@ ...@@ -72,6 +72,7 @@
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Auditor</string> <string>Auditor</string>
<string>Manager</string>
<string>Owner</string> <string>Owner</string>
</tuple> </tuple>
</value> </value>
...@@ -81,6 +82,7 @@ ...@@ -81,6 +82,7 @@
<value> <value>
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -89,6 +91,7 @@ ...@@ -89,6 +91,7 @@
<value> <value>
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -97,6 +100,7 @@ ...@@ -97,6 +100,7 @@
<value> <value>
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -106,6 +110,7 @@ ...@@ -106,6 +110,7 @@
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Auditor</string> <string>Auditor</string>
<string>Manager</string>
<string>Owner</string> <string>Owner</string>
</tuple> </tuple>
</value> </value>
......
107 111
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment