This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new d272bbf512 Improved: Remove duplicate create trigger from catalog main 
template (OFBIZ-12953) (#738)
d272bbf512 is described below

commit d272bbf512666956a6c1141d757de24db0399485
Author: Pierre Smits <pierre.sm...@somonar.com>
AuthorDate: Thu Mar 21 18:48:22 2024 +0100

    Improved: Remove duplicate create trigger from catalog main template 
(OFBIZ-12953) (#738)
    
    The main template of catalog shows create triggers that are also available 
in the MainActionMenu
    
    modified: Main.ftl
---
 applications/product/template/Main.ftl | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/applications/product/template/Main.ftl 
b/applications/product/template/Main.ftl
index e7d4d75817..a65947b1a6 100644
--- a/applications/product/template/Main.ftl
+++ b/applications/product/template/Main.ftl
@@ -33,10 +33,6 @@ under the License.
             <input type="submit" value=" ${uiLabelMap.ProductEditCatalog}" 
class="smallSubmit" />
           </td>
         </tr>
-        <tr>
-          <td class="label"><label>${uiLabelMap.CommonOr}:</label></td>
-          <td><a href="<@ofbizUrl>EditProdCatalog</@ofbizUrl>" 
class="buttontext">${uiLabelMap.ProductCreateNewCatalog}</a></td>
-        </tr>
       </table>
     </form>
     <hr>
@@ -51,10 +47,6 @@ under the License.
           <input type="submit" value="${uiLabelMap.ProductEditCategory}" 
class="smallSubmit" />
         </td>
       </tr>
-      <tr>
-        <td class="label"><label>${uiLabelMap.CommonOr}:</label></td>
-        <td><a href="<@ofbizUrl>EditCategory</@ofbizUrl>" 
class="buttontext">${uiLabelMap.ProductCreateNewCategory}</a></td>
-      </tr>
     </table>
   </form>
   <hr>
@@ -87,7 +79,7 @@ under the License.
         <tr>
           <td class="label"><label>${uiLabelMap.CommonOr}:</label>
           </td>
-          <td> <a href="<@ofbizUrl>EditProduct</@ofbizUrl>" 
class="buttontext">${uiLabelMap.ProductCreateNewProduct}</a>
+          <td>
           <a href="<@ofbizUrl>CreateVirtualWithVariantsForm</@ofbizUrl>" 
class="buttontext">${uiLabelMap.ProductQuickCreateVirtualFromVariants}</a></td>
         </tr>
         <tr>

Reply via email to