You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2008/07/07 02:45:38 UTC

svn commit: r674376 - /ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml

Author: hansbak
Date: Sun Jul  6 17:45:38 2008
New Revision: 674376

URL: http://svn.apache.org/viewvc?rev=674376&view=rev
Log:
make viewing own tasks possible in profile

Modified:
    ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml

Modified: ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?rev=674376&r1=674375&r2=674376&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml Sun Jul  6 17:45:38 2008
@@ -469,18 +469,8 @@
                 <service service-name="getWorkEffortAssignedActivitiesByGroup"/>
                 <service service-name="getWorkEffortAssignedTasks"/>
             </actions>
-            <widgets>
-                <section>
-                    <condition>
-                        <if-has-permission permission="WORKEFFORTMGR" action="_VIEW"/>
-                    </condition>
-                    <widgets>
-                        <platform-specific><html><html-template location="component://party/webapp/partymgr/party/profileblocks/mytasks.ftl"/></html></platform-specific>
-                    </widgets>
-                    <fail-widgets>
-                        <label style="h3">${uiLabelMap.WorkEffortViewPermissionError}</label>
-                    </fail-widgets>
-                </section>
+            <widgets><!-- can always view your own tasks -->
+                <platform-specific><html><html-template location="component://party/webapp/partymgr/party/profileblocks/mytasks.ftl"/></html></platform-specific>
             </widgets>
         </section>
     </screen>