No needs to over-engineering things there. A bit more smart than before though
This reverts r1625006 and r1624886 and adds CommonBuiltOn and better svninfo and gitinfo targets
I just regret that I lose the formatting effort I did in footer.ftl files, but I have not the guts to do it again.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625907 13f79535-47bb-0310-9956-ffa450edef68
Still in discussion in dev ML, notably if we should backport
Put back the CommonDepth label inadvertently removed, thanks to Scott's review
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625006 13f79535-47bb-0310-9956-ffa450edef68
Puts a check on svinfo and gitinfo (only used if it's a local copy)
Adds and uses CommonDeployedThe label in footer.ftl with the new deployed-date-time target
Uses CommonPoweredBy in bizznesstime footer.ftl
Minor changes and formatting in the footer.ftl files
Better French label for CommonPoweredBy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624886 13f79535-47bb-0310-9956-ffa450edef68
Uses the new runtime/gitinfo.ftl in footers (all themes) like is the runtime/ftlinfo.ftl one
Actually both are shown (if you have a mix of repos, like I do) or one or the other
Adds the runtime/gitinfo.ftl file in both .gitignore and svn ignore
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1597615 13f79535-47bb-0310-9956-ffa450edef68
Actually the right thing to do should be to work on migrating all freemarker templates in backend to widgets and using target-type="inter-app" for those. I know Adrian has opened a Jira for that, next task in my TODO list.
Without this effort we will never be able to style the backend uniformly, notably in custom projects...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552149 13f79535-47bb-0310-9956-ffa450edef68
Also moved web application authorization code from the Flat Grey visual theme to LoginWorker.java. This change needs to be copied to other visual themes as well.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1546891 13f79535-47bb-0310-9956-ffa450edef68
Help button is not working, currently it's a lookup-popup2 which is called and this method has not the same number of parameters than the call.
In lookup.js, I have see that lookup-popup1 has the correct number of parameters, so in the join patch I have change the lookup-popup2 to lookup-popup1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360711 13f79535-47bb-0310-9956-ffa450edef68
If I enable the "app-bar-display" for root webapp which is mounted to "/", the url of root webapp in menu is "https://control/main" and not the correct "https://localhost:8443/".
That's because, e.g. in themes/tomahawk/includes/appbarOpen.ftl, it uses expression <#if thisApp != "/"> to judge whether the app is root or not, while the variable thisApp is java String and it'll be encoded as iso code "/", so the "if" expression mentioned above will always return false.
In the patch it use StringUtil.wrapString to wrap variable theApp to avoid encode.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1158124 13f79535-47bb-0310-9956-ffa450edef68
I reorganized the main style sheet and pushed the deprecated styles down to the bottom. I also moved the jQuery styles to a separate file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059564 13f79535-47bb-0310-9956-ffa450edef68
Updates all the docbook.css in themes. Remove tags from the <body>
JLR: + Revert r1044062+1044053 (was: Deactivates temporarily the online help. It's currently not working and slowing down too much the demo server)
Actually it was not the real reason (UtilIO.java was)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050385 13f79535-47bb-0310-9956-ffa450edef68
instead of allocating static space in the control area. This takes the
width of the control area back to something sensible. With always
allocated space in the control area, there ends up being a blank
space(because of the use of visibility:hidden instead of display:none).
When the Person.name and Company.Name fields are then long, this control
area breaks the flow, and word-wraps in IE, or flows underneath the
breadcrumbs in firefox.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997421 13f79535-47bb-0310-9956-ffa450edef68
OFBIZ-3621 - XHTML validation errors (themes)
XHTML validation errors
* Unclosed INPUT
* attributes without values (checked, selected, disabled, etc)
* attribute values without "
* Uppercase tags or attributes.
* Unencoded ampersands in urls.
Other errors:
Header.ftl (tomahawk & droppingcrumbs)
Line 108. Wrong markup. Div can't be inside <a>
<a href="<@ofbizUrl>${logoLinkURL}</@ofbizUrl>" title="${layoutSettings.companyName}"><div> </div></a>
Style.css (tomahawk & droppingcrumbs)
Line 945. The logo is used as the background of the logo area, but because the size of the background image means nothing for dimensioning, it will be clipped.
background: url(../images/ofbiz_logo.png) no-repeat;
Solution: This is a hack to put the logo in the style sheet as the background. If the logo is only in the stylesheet without any trick, the logo will be clipped and disappears.
The logo can be loaded as an image directly in header.ftl and it will appear without clip and without any hack in header.ftl.
appbarOpen.ftl (droppingcrumbs)
Line 99, unclosed <li> and <ul>
header.ftl (bizznesstime)
Line 111. div can't be inside span.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931665 13f79535-47bb-0310-9956-ffa450edef68
In this commit I rename them List (instead of Lookup) to avoid future confusion. If this has too much impact we may revert it of course...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907310 13f79535-47bb-0310-9956-ffa450edef68
A new help system is implemented which is compatible with the current system which uses the ofboz.docs.org site to store the data.
The new help system has a number of advantages over the old version:
1. complete multilanguage without config xml files, using the locale.
2. Having an automatic multilevel index of all help pages using the ContentAssoc entity
3. Using the content manager for retrieval.
4. Template driven, aware of the different visual themes.
5. A first step towards the storage of OFBiz documentation within the OFBiz system itself.
6. Easy update via normal svn in seed data.
7. Aware of portlets on (userdefined) Portal pages.
8. Create awareness of the capabilities of the content component
The reason of this development was the requirement to provide user documents to the customers of Antwebsystems Co.Ltd
Some of the possible extensions could be:
1. a search function
2. print all or specific help files in PDF format
3. make the help screens work better with the business theme
4. Explain how help can be extended
5. In the help screen be able to send a message to the local support team
6. But most of all, create more help content!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804546 13f79535-47bb-0310-9956-ffa450edef68
The first page of myportal now shows changes which happened in the system for the logged on user in the first portlet.
The second portlet gives the total OPEN items in a certain function for the logged on user.
The first two functions which are working now:
1. Incoming communication events (email, internal notes)
2. tasks which are assigned either in projectmanager or workeffort
What is also pretty interesting is that the status can now be checked by a firefox plugin and when it changes the employee is notified from within firefox
The plugin: http://updatescanner.mozdev.org/en/index.html
and it should check the following url: (adjust to your requirements)
https://localhost:8443/myportal/control/showPortlet?portalPortletId=SystemInfoNotes&USERNAME=admin&PASSWORD=ofbiz
In the flat grey theme i also have added notifications in the header when they are available.
If the notification shows and the user clicks on the message the related portlet is shown.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@785872 13f79535-47bb-0310-9956-ffa450edef68
extract : "My understanding of the Berne Convention rules for Copyright (which covers most jurisdictions - even the USA now), is that the copyright period only gets extended when the copyrighted item gets updated."
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772941 13f79535-47bb-0310-9956-ffa450edef68