Currently the create buttons for the main objects of the marketing application are located within find and profile widgets/templates of those objects. In order to improve the usability of this application, OFBiz, and thus the appeal of it for adopters and users, these create buttons/links/etc. should be in a main action menu visible at all times when a user is working within the application of the component. Modified: MarketingMenus.xml - added MainActionMenu To following screens - added ref to MainActionMenu, clean-up CommonScreens.xml ContactListScreens.xml DataSourceScreens.xml MarketingCampaignScreens.xml MarketingReportScreens.xml SegmentScreens.xml TrackingCodeScreens.xml
57 lines
3.7 KiB
XML
57 lines
3.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
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="MarketingAppBar" title="${uiLabelMap.MarketingManager}" extends="CommonAppBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
|
|
<menu-item name="DataSource" title="${uiLabelMap.DataSource}"><link target="FindDataSource"/></menu-item>
|
|
<menu-item name="Campaign" title="${uiLabelMap.MarketingCampaign}"><link target="FindMarketingCampaign"/></menu-item>
|
|
<menu-item name="Tracking" title="${uiLabelMap.MarketingTracking}"><link target="FindTrackingCode"/></menu-item>
|
|
<menu-item name="Segment" title="${uiLabelMap.MarketingSegment}"><link target="FindSegmentGroup"/></menu-item>
|
|
<menu-item name="ContactList" title="${uiLabelMap.MarketingContactList}"><link target="FindContactLists"/></menu-item>
|
|
<menu-item name="Reports" title="${uiLabelMap.MarketingReports}"><link target="MarketingReport"/></menu-item>
|
|
</menu>
|
|
<menu name="MainActionMenu" menu-container-style="button-bar button-style-2" default-selected-style="selected">
|
|
<menu-item name="NewCampaign" title="${uiLabelMap.CommonNew} ${uiLabelMap.MarketingCampaign}">
|
|
<condition>
|
|
<or>
|
|
<if-has-permission permission="MARKETING" action="_CREATE"/>
|
|
</or>
|
|
</condition>
|
|
<link target="EditMarketingCampaign"/>
|
|
</menu-item>
|
|
<menu-item name="NewContactList" title="${uiLabelMap.CommonNew} ${uiLabelMap.MarketingContactList}">
|
|
<condition>
|
|
<or>
|
|
<if-has-permission permission="MARKETING" action="_CREATE"/>
|
|
</or>
|
|
</condition>
|
|
<link target="EditContactList"/>
|
|
</menu-item>
|
|
</menu>
|
|
|
|
<menu name="MarketingShortcutAppBar" title="${uiLabelMap.MarketingManager}">
|
|
<menu-item name="DataSource" title="${uiLabelMap.DataSource}"><link target="/marketing/control/FindDataSource" url-mode="inter-app"/></menu-item>
|
|
<menu-item name="Campaign" title="${uiLabelMap.MarketingCampaign}"><link target="/marketing/control/FindMarketingCampaign" url-mode="inter-app"/></menu-item>
|
|
<menu-item name="Tracking" title="${uiLabelMap.MarketingTracking}"><link target="/marketing/control/FindTrackingCode" url-mode="inter-app"/></menu-item>
|
|
<menu-item name="Segment" title="${uiLabelMap.MarketingSegment}"><link target="/marketing/control/FindSegmentGroup" url-mode="inter-app"/></menu-item>
|
|
<menu-item name="ContactList" title="${uiLabelMap.MarketingContactList}"><link target="/marketing/control/FindContactLists" url-mode="inter-app"/></menu-item>
|
|
<menu-item name="Reports" title="${uiLabelMap.MarketingReports}"><link target="/marketing/control/MarketingReport" url-mode="inter-app"/></menu-item>
|
|
</menu>
|
|
</menus>
|