Improved: Consistent menu names
(OFBIZ-8118)(OFBIZ-8122)(OFBIZ-8123)(OFBIZ-8124)(OFBIZ-8125)(OFBIZ-8126)(OFBIZ-8127)(OFBIZ-8128)(OFBIZ-8129) Menu names should be in camel case to maintain consistency. I've slightly modified the provided patch to eliminate names with "-" or all lower case also. Thanks: Tanmay Muley for reporting and providing the patches. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1760059 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
-->
|
||||
|
||||
<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ofbiz.apache.org/Widget-Menu" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Menu http://ofbiz.apache.org/dtds/widget-menu.xsd">
|
||||
<menu name="view_edit" default-title-style="tabButton" default-selected-style="tabButtonSelected" default-menu-item-name="all" orientation="horizontal" menu-width="100%" default-widget-style="tabButton" menu-container-style="blogmenuwrapper" title="" type="simple">
|
||||
<menu name="ViewEdit" default-title-style="tabButton" default-selected-style="tabButtonSelected" default-menu-item-name="all" orientation="horizontal" menu-width="100%" default-widget-style="tabButton" menu-container-style="blogmenuwrapper" title="" type="simple">
|
||||
<menu-item name="edit" title="${uiLabelMap.CommonEdit}">
|
||||
<condition>
|
||||
<or>
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
</condition>
|
||||
<widgets>
|
||||
<container style="blogwrapper">
|
||||
<include-menu name="view_edit" location="component://ecommerce/widget/blog/BlogMenus.xml"/>
|
||||
<include-menu name="ViewEdit" location="component://ecommerce/widget/blog/BlogMenus.xml"/>
|
||||
<platform-specific><html><html-template location="component://ecommerce/template/blog/BlogContentAltLink.ftl"/></html></platform-specific>
|
||||
<!--<link text="${blog.contentName} [${blog.contentId}]" target="ViewBlogArticle" style="blogheader">
|
||||
<parameter param-name="contentId" from-field="blog.contentId"/>
|
||||
@@ -138,7 +138,7 @@
|
||||
</condition>
|
||||
<widgets>
|
||||
<container style="blogwrapper">
|
||||
<include-menu name="view_edit" location="component://ecommerce/widget/blog/BlogMenus.xml"/>
|
||||
<include-menu name="ViewEdit" location="component://ecommerce/widget/blog/BlogMenus.xml"/>
|
||||
<!--<label text="${blog.contentName} [${blog.contentId}]" style="blogheader"/>-->
|
||||
<platform-specific><html><html-template location="component://ecommerce/template/blog/BlogContentAltLink.ftl"/></html></platform-specific>
|
||||
<!--<link text="${blog.contentName} [${blog.contentId}]" target="ViewBlogArticle" style="blogheader">
|
||||
|
||||
@@ -19,7 +19,7 @@ under the License.
|
||||
-->
|
||||
<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ofbiz.apache.org/Widget-Menu" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Menu http://ofbiz.apache.org/dtds/widget-menu.xsd">
|
||||
|
||||
<menu name="cms" default-menu-item-name="content" default-permission-operation="HAS_AUTHOR_ROLE|CONTENT_ADMIN"
|
||||
<menu name="Cms" default-menu-item-name="content" default-permission-operation="HAS_AUTHOR_ROLE|CONTENT_ADMIN"
|
||||
default-permission-entity-action="_ADMIN" default-associated-content-id="${userLogin.userLoginId}"
|
||||
selected-menuitem-context-field-name="currentCMSMenuItemName" title="" type="simple"
|
||||
menu-container-style="button-bar tab-bar" default-selected-style="selected">
|
||||
|
||||
@@ -34,7 +34,7 @@ under the License.
|
||||
<if-has-permission permission="CONTENTMGR" action="_VIEW"/>
|
||||
</condition>
|
||||
<widgets>
|
||||
<include-menu name="cms" location="component://lucene/widget/LuceneMenus.xml"/>
|
||||
<include-menu name="Cms" location="component://lucene/widget/LuceneMenus.xml"/>
|
||||
</widgets>
|
||||
</section>
|
||||
</decorator-section>
|
||||
|
||||
@@ -1113,7 +1113,7 @@ under the License.
|
||||
</link>
|
||||
</menu-item>
|
||||
</menu>
|
||||
<menu name="notCompleteBacklogItem">
|
||||
<menu name="NotCompleteBacklogItem">
|
||||
<menu-item name="notCompleteBacklogItem" title="${uiLabelMap.ScrumBeingImplementBacklogItem}">
|
||||
<link target="ViewSprint" link-type="auto">
|
||||
<parameter param-name="sprintId" value="${parameters.sprintId}"/>
|
||||
|
||||
@@ -174,8 +174,8 @@ under the License.
|
||||
</screenlet>
|
||||
</widgets>
|
||||
<fail-widgets>
|
||||
<screenlet id="sprintBacklogListItemsOnFail" title="${uiLabelMap.ScrumSprintBacklogList}" navigation-menu-name="notCompleteBacklogItem" collapsible="true">
|
||||
<include-menu location="component://scrum/widget/scrumMenus.xml" name="notCompleteBacklogItem"/>
|
||||
<screenlet id="sprintBacklogListItemsOnFail" title="${uiLabelMap.ScrumSprintBacklogList}" navigation-menu-name="NotCompleteBacklogItem" collapsible="true">
|
||||
<include-menu location="component://scrum/widget/scrumMenus.xml" name="NotCompleteBacklogItem"/>
|
||||
<include-form location="component://scrum/widget/scrumForms.xml" name="ViewSprintBacklogListItemsNoAction"/>
|
||||
</screenlet>
|
||||
</fail-widgets>
|
||||
@@ -203,8 +203,8 @@ under the License.
|
||||
</screenlet>
|
||||
</widgets>
|
||||
<fail-widgets>
|
||||
<screenlet id="sprintBacklogListItemsOnFail" title="${uiLabelMap.ScrumSprintBacklogList}" navigation-menu-name="notCompleteBacklogItem" collapsible="true">
|
||||
<include-menu location="component://scrum/widget/scrumMenus.xml" name="notCompleteBacklogItem"/>
|
||||
<screenlet id="sprintBacklogListItemsOnFail" title="${uiLabelMap.ScrumSprintBacklogList}" navigation-menu-name="NotCompleteBacklogItem" collapsible="true">
|
||||
<include-menu location="component://scrum/widget/scrumMenus.xml" name="NotCompleteBacklogItem"/>
|
||||
<include-form location="component://scrum/widget/scrumForms.xml" name="sprintBacklogListItems"/>
|
||||
</screenlet>
|
||||
</fail-widgets>
|
||||
@@ -239,8 +239,8 @@ under the License.
|
||||
</screenlet>
|
||||
</widgets>
|
||||
<fail-widgets>
|
||||
<screenlet title="${uiLabelMap.ScrumSprintBacklogList}" navigation-menu-name="notCompleteBacklogItem">
|
||||
<include-menu location="component://scrum/widget/scrumMenus.xml" name="notCompleteBacklogItem"/>
|
||||
<screenlet title="${uiLabelMap.ScrumSprintBacklogList}" navigation-menu-name="NotCompleteBacklogItem">
|
||||
<include-menu location="component://scrum/widget/scrumMenus.xml" name="NotCompleteBacklogItem"/>
|
||||
<include-form location="component://scrum/widget/scrumForms.xml" name="sprintBacklogListItemsHideDelete"/>
|
||||
</screenlet>
|
||||
</fail-widgets>
|
||||
@@ -270,8 +270,8 @@ under the License.
|
||||
</screenlet>
|
||||
</widgets>
|
||||
<fail-widgets>
|
||||
<screenlet title="${uiLabelMap.ScrumSprintBacklogList}" navigation-menu-name="notCompleteBacklogItem">
|
||||
<include-menu location="component://scrum/widget/scrumMenus.xml" name="notCompleteBacklogItem"/>
|
||||
<screenlet title="${uiLabelMap.ScrumSprintBacklogList}" navigation-menu-name="NotCompleteBacklogItem">
|
||||
<include-menu location="component://scrum/widget/scrumMenus.xml" name="NotCompleteBacklogItem"/>
|
||||
<include-form location="component://scrum/widget/scrumForms.xml" name="ViewSprintBacklogListItemsNoAction"/>
|
||||
</screenlet>
|
||||
</fail-widgets>
|
||||
|
||||
Reference in New Issue
Block a user