Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Georgios Dagkakis
erp5
Commits
ecbbdd13
Commit
ecbbdd13
authored
Sep 21, 2011
by
Gabriel L. Oliveira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display document title only when necessary
parent
c327009e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
21 deletions
+26
-21
bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_js/ung.js.xml
...ateItem/portal_skins/erp5_web_ung_theme/ung_js/ung.js.xml
+22
-20
bt5/erp5_web_ung_theme/bt/change_log
bt5/erp5_web_ung_theme/bt/change_log
+3
-0
bt5/erp5_web_ung_theme/bt/revision
bt5/erp5_web_ung_theme/bt/revision
+1
-1
No files found.
bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_js/ung.js.xml
View file @
ecbbdd13
...
...
@@ -268,29 +268,31 @@ $().ready(function(){\n
$("a#loading_message").show();\n
setTimeout(checkConversion(), 1000);\n
}\n
switch (getPortalTypeFromContext()) {\n
case "Web Page":\n
$("div.content").css({"position":"fixed", "bottom": "0px",\n
"left": "0px", "right": "0px"});\n
$("div.content").css({"top": "5em"});\n
break;\n
case "Web Table":\n
$("div.content").css({"position":"fixed", "bottom": "0px",\n
"left": "0px", "right": "0px"});\n
$("div.content").css({"top": "6em"});\n
$.getJSON("Base_getPreferencePathList", function(data){\n
var ungPreferencePath = data.preference;\n
$.get(ungPreferencePath + \'/getPreferredThemeSheetEditor\', function(data){\n
link = $("
<link>
");\n
link.attr("id", "dynamic_css");\n
link.attr({type: \'text/css\', rel:\'stylesheet\', href:data});\n
$("head").append(link);\n
else {\n
switch (getPortalTypeFromContext()) {\n
case "Web Page":\n
$("div.content").css({"position":"fixed", "bottom": "0px",\n
"left": "0px", "right": "0px"});\n
$("div.content").css({"top": "5em"});\n
break;\n
case "Web Table":\n
$("div.content").css({"position":"fixed", "bottom": "0px",\n
"left": "0px", "right": "0px"});\n
$("div.content").css({"top": "6em"});\n
$.getJSON("Base_getPreferencePathList", function(data){\n
var ungPreferencePath = data.preference;\n
$.get(ungPreferencePath + \'/getPreferredThemeSheetEditor\', function(data){\n
link = $("
<link>
");\n
link.attr("id", "dynamic_css");\n
link.attr({type: \'text/css\', rel:\'stylesheet\', href:data});\n
$("head").append(link);\n
});\n
});\n
});\n
break;\n
break;\n
}\n
displayDocumentTitle(null);\n
}\n
}\n
displayDocumentTitle(null);\n
$("input#upload").click(function(event){\n
event.preventDefault();\n
$("#upload_document").dialog("open");\n
...
...
bt5/erp5_web_ung_theme/bt/change_log
View file @
ecbbdd13
2011-09-21 gabriel.oliveira
* Display document title only when necessary
2011-09-21 gabriel.oliveira
* Improve performance when not logged in
...
...
bt5/erp5_web_ung_theme/bt/revision
View file @
ecbbdd13
39
1
39
2
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment