<commit_before><!-- Popular assets listing till we figure out a way to display it elegentely
{{#if popularAssets}}
<section>
    <div class="container-fluid row padding-double center">
        {{#each popularAssets}}
            {{#attributes}}
                <div class="freatured-assets-col col-xs-12 col-sm-6 col-md-3  "><a href="{{tenantedUrl "/asts"}}/{{../type}}/details/{{../id}}">
                    <img class="img-responsive" src="{{#if ../banner}}{{tenantedUrl ""}}/storage/{{../../type}}/{{../../id}}/{{../../banner}}{{/if}}"></a> </div>
            {{/attributes}}
        {{/each}}
    </div>
</section>
{{/if}}
--->

{{#each recentAssetsByType}}
    <div class="ast-container " id="ast-container">
        <div class="container-fluid ">
            <div class="title"><a class="asset-type-{{rxt.shortName}}" href="{{tenantedUrl "/asts/"}}{{rxt.shortName}}/list?">Recent {{rxt.pluralLabel}}</a></div><!--title-->
            <div class="float-right"><a href="{{tenantedUrl "/asts/"}}{{rxt.shortName}}/list?" class="more">
                <span class="fw-stack fw-lg  fw-inverse">
                    <i class="fw fw-circle fw-stack-1-5x grey"></i>
                    <i class="fw fw-dots fw-stack-1x white"></i>
                </span>
                See More</a></div>
            <hr>
        </div>
    </div>
    <div class="assets-container">
        {{#if assets}}
            <section>
                {{#each assets}}
                    {{#attributes}}
                        <div class="ctrl-wr-asset">
                            <div class="itm-ast">
                                <a class="ast-img " href="{{tenantedUrl "/asts"}}/{{../type}}/details/{{../id}}">
                                    {{> top-assets-thumbnail ..}}
                                </a>
                                <div class="ast-content">
                                    <div class="ast-title padding">
                                        <a class="ast-name truncate" href="{{tenantedUrl "/asts"}}/{{../type}}/details/{{../id}}">{{overview_name}}</a>
                                        <span class="ast-auth">{{overview_provider}}</span>
                                    </div>
                                    <div class="pull-left asset-rating-container">
                                        <span class="asset-rating">
                                            <div style="width:{{../ratingPx}}px"></div>
                                        </span>
                                    </div>
                                    <div class="pull-right">
                                        <div class="dropdown dropdown-asset-custom">
                                            <a aria-expanded="false" role="button" data-toggle="dropdown" class="dropdown-toggle more-list" href="javascript:return 0;">
                                                <i class="fw fw-dots fw-1-5x fw-rotate-90"></i>
                                            </a>
                                            <ul role="menu" class="dropdown-menu">
                                            {{#hasAssetPermission . key="ASSET_BOOKMARK" type=../../rxt.shortName username=../../../../cuser.username tenantId=../../../../cuser.tenantId}}
                                                <li>
                                                        {{>top-assets-utilization ../..}}
                                                </li>
                                            {{else}}
                                                <li>
                                                    <a class="btn js_bookmark"
                                                       href='{{url ""}}{{getLoginUrl .}}'> {{>process-asset-text }}</a>
                                                </li>
                                            {{/hasAssetPermission}}
                                                 <li><a href="{{tenantedUrl "/asts"}}/{{../type}}/details/{{../id}}">More Details</a></li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    {{/attributes}}
                {{/each}}
            </section>
        {{else}}
            <div class="top-assets-empty-assert">{{t "We couldn't find anything for you."}}</div>
        {{/if}}
    </div>
{{/each}}

{{#hasAssetPermission . key="ASSET_BOOKMARK" type="gadget" username=cuser.username tenantId=cuser.tenantId}}
    Bookmarks visible
{{/hasAssetPermission}}
<commit_msg>Removed permission helper from top assets page<commit_after><!-- Popular assets listing till we figure out a way to display it elegentely
{{#if popularAssets}}
<section>
    <div class="container-fluid row padding-double center">
        {{#each popularAssets}}
            {{#attributes}}
                <div class="freatured-assets-col col-xs-12 col-sm-6 col-md-3  "><a href="{{tenantedUrl "/asts"}}/{{../type}}/details/{{../id}}">
                    <img class="img-responsive" src="{{#if ../banner}}{{tenantedUrl ""}}/storage/{{../../type}}/{{../../id}}/{{../../banner}}{{/if}}"></a> </div>
            {{/attributes}}
        {{/each}}
    </div>
</section>
{{/if}}
--->

{{#each recentAssetsByType}}
    <div class="ast-container " id="ast-container">
        <div class="container-fluid ">
            <div class="title"><a class="asset-type-{{rxt.shortName}}" href="{{tenantedUrl "/asts/"}}{{rxt.shortName}}/list?">Recent {{rxt.pluralLabel}}</a></div><!--title-->
            <div class="float-right"><a href="{{tenantedUrl "/asts/"}}{{rxt.shortName}}/list?" class="more">
                <span class="fw-stack fw-lg  fw-inverse">
                    <i class="fw fw-circle fw-stack-1-5x grey"></i>
                    <i class="fw fw-dots fw-stack-1x white"></i>
                </span>
                See More</a></div>
            <hr>
        </div>
    </div>
    <div class="assets-container">
        {{#if assets}}
            <section>
                {{#each assets}}
                    {{#attributes}}
                        <div class="ctrl-wr-asset">
                            <div class="itm-ast">
                                <a class="ast-img " href="{{tenantedUrl "/asts"}}/{{../type}}/details/{{../id}}">
                                    {{> top-assets-thumbnail ..}}
                                </a>
                                <div class="ast-content">
                                    <div class="ast-title padding">
                                        <a class="ast-name truncate" href="{{tenantedUrl "/asts"}}/{{../type}}/details/{{../id}}">{{overview_name}}</a>
                                        <span class="ast-auth">{{overview_provider}}</span>
                                    </div>
                                    <div class="pull-left asset-rating-container">
                                        <span class="asset-rating">
                                            <div style="width:{{../ratingPx}}px"></div>
                                        </span>
                                    </div>
                                    <div class="pull-right">
                                        <div class="dropdown dropdown-asset-custom">
                                            <a aria-expanded="false" role="button" data-toggle="dropdown" class="dropdown-toggle more-list" href="javascript:return 0;">
                                                <i class="fw fw-dots fw-1-5x fw-rotate-90"></i>
                                            </a>
                                            <ul role="menu" class="dropdown-menu">
                                            {{#hasAssetPermission . key="ASSET_BOOKMARK" type=../../rxt.shortName username=../../../../cuser.username tenantId=../../../../cuser.tenantId}}
                                                <li>
                                                        {{>top-assets-utilization ../..}}
                                                </li>
                                            {{else}}
                                                <li>
                                                    <a class="btn js_bookmark"
                                                       href='{{url ""}}{{getLoginUrl .}}'> {{>process-asset-text }}</a>
                                                </li>
                                            {{/hasAssetPermission}}
                                                 <li><a href="{{tenantedUrl "/asts"}}/{{../type}}/details/{{../id}}">More Details</a></li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    {{/attributes}}
                {{/each}}
            </section>
        {{else}}
            <div class="top-assets-empty-assert">{{t "We couldn't find anything for you."}}</div>
        {{/if}}
    </div>
{{/each}}

{'fraction_non_alphanumeric': 0.16920748188993404, 'fraction_numerical': 0.0025948751216347712, 'mean_word_length': 0.968503937007874, 'pattern_counts': {'":': 0, '<': 155, '<?xml version=': 0, '>': 161, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 106, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5892503', 'n_tokens_mistral': 2195, 'n_tokens_neox': 2080, 'n_words': 390}