Przeglądaj źródła

add customfields to card

andre 4 lat temu
rodzic
commit
c121c8ddc9
1 zmienionych plików z 7 dodań i 9 usunięć
  1. 7 9
      viewcart.tpl

+ 7 - 9
viewcart.tpl

@@ -283,15 +283,13 @@
                                                             <span class="item-title">
                                                                 {$product.productinfo.name}
                                                                 {if $product.customfields}
-                                                                    <div>
-                                                                        <small>
-                                                                            {if $product.productinfo.gid === 5 || $product.productinfo.gid === 7} {* Groupware & VDC*}
-                                                                                &nbsp; {$product.customfields.0.value} {* maildomain & VDC Name *}
-                                                                            {else if $product.productinfo.gid === 1 || $product.productinfo.gid === 8} {* private Mail & private Mail + Nextcloud*}
-                                                                                &nbsp; {$product.customfields.2.value}@{$product.customfields.3.value} {* mailadress *}
-                                                                            {/if}
-                                                                        </small>
-                                                                    </div>
+                                                                    <small>
+                                                                        {if $product.productinfo.gid === 5 || $product.productinfo.gid === 7} {* Groupware & VDC*}
+                                                                            &nbsp; {$product.customfields.0.value} {* maildomain & VDC Name *}
+                                                                        {else if $product.productinfo.gid === 1 || $product.productinfo.gid === 8} {* private Mail & private Mail + Nextcloud*}
+                                                                            &nbsp; {$product.customfields.2.value}@{$product.customfields.3.value} {* mailadress *}
+                                                                        {/if}
+                                                                    </small>
                                                                 {/if}
                                                                 <a href="{$smarty.server.PHP_SELF}?a=confproduct&i={$num}" class="btn btn-icon btn-xs" data-toggle="tooltip" data-placement="top" data-trigger="manual" title="{$LANG.orderForm.edit}">
                                                                     <i class="fas fa-edit"></i>