{{!--
/*
 * Your installation or use of this SugarCRM file is subject to the applicable
 * terms available at
 * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/.
 * If you do not agree to all of the applicable terms or do not have the
 * authority to bind the entity as an authorized representative, then do not
 * install or use this SugarCRM file.
 *
 * Copyright (C) SugarCRM Inc. All rights reserved.
 */
--}}
<div class="record-label quote-totals-row-label">{{label}}</div>

{{#if value.length}}
    <div class="tags">
        {{#each value}}
            <span class="tag-wrapper">
                <span class="tag-name ellipsis_inline" rel="tooltip" data-placement="bottom"
                      title="{{#if name}}{{name}}{{else}}{{this}}{{/if}}">
                <a class="tag-name ellipsis-inline" href="#search/?tags={{encodedValue}}" track="click:{{name}}"
                   data-action="tag-search" data-tag="{{#if name}}{{name}}{{else}}{{this}}{{/if}}">
                    {{#if name}}{{name}}{{else}}{{this}}{{/if}}
                </a>
                </span>
            </span>
        {{/each}}
    </div>
{{/if}}
