Bläddra i källkod

add customfields to card

andre 4 år sedan
förälder
incheckning
09c76d3682
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      viewcart.tpl

+ 2 - 2
viewcart.tpl

@@ -283,13 +283,13 @@
                                                             <span class="item-title">
                                                                 {$product.productinfo.name}
                                                                 {if $product.customfields}
-                                                                    <small>
+                                                                    <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>
+                                                                    )</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>