<commit_before><!--
  Asset utilization icons if the user has subscribed to this asset
-->
{{#if thisAsset.isSubscribed}}
  <a id="btn-add-gadget" class="btn disabled" href="#modal-add-gadget"
               data-toggle="modal"
               data-aid="{{thisAsset.id}}" data-type="{{thisAsset.type}}"> {{>processed-asset-text}}</a>
  {{else}}

    {{#if cuser.username}}
    <a id="btn-add-gadget" class="btn btn-primary" href="#modal-add-gadget"
                       data-toggle="modal"
                       data-aid="{{thisAsset.id}}"
                       data-type="{{thisAsset.type}}"> {{>process-asset-text }}</a>
    {{else}}
    <a id="btn-add-gadget" class="btn btn-primary" href='{{url ""}}/asts/{{thisAsset.type}}/details/{{thisAsset.id}}'
                   data-toggle="modal"
                   data-aid="{{thisAsset.id}}" data-type="{{thisAsset.type}}"> {{>process-asset-text }}</a>
    {{/if}}


{{/if}}<commit_msg>fix tenantedURL<commit_after><!--
  Asset utilization icons if the user has subscribed to this asset
-->
{{#if thisAsset.isSubscribed}}
  <a id="btn-add-gadget" class="btn disabled" href="#modal-add-gadget"
               data-toggle="modal"
               data-aid="{{thisAsset.id}}" data-type="{{thisAsset.type}}"> {{>processed-asset-text}}</a>
  {{else}}

    {{#if cuser.username}}
    <a id="btn-add-gadget" class="btn btn-primary" href="#modal-add-gadget"
                       data-toggle="modal"
                       data-aid="{{thisAsset.id}}"
                       data-type="{{thisAsset.type}}"> {{>process-asset-text }}</a>
    {{else}}
    <a id="btn-add-gadget" class="btn btn-primary" href='{{tenantedUrl ""}}/asts/{{thisAsset.type}}/details/{{thisAsset.id}}'
                   data-toggle="modal"
                   data-aid="{{thisAsset.id}}" data-type="{{thisAsset.type}}"> {{>process-asset-text }}</a>
    {{/if}}


{{/if}}
{'fraction_non_alphanumeric': 0.21549893842887474, 'fraction_numerical': 0.0, 'mean_word_length': 2.5299625468164795, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3867828', 'n_tokens_mistral': 616, 'n_tokens_neox': 595, 'n_words': 100}