<commit_before><!-- CSS -->
<link rel="stylesheet" type="text/css" href="/devwidgets/contentmetadata/css/contentmetadata.css" />


<div id="contentmetadata_container">
    <div class="contentmetadata_title">__MSG__DETAILS__</div>
    <div id="contentmetadata_description_container" class="contentmetadata_editable_for_maintainers">
        <!-- -->
    </div>
    <div id="contentmetadata_tags_container" class="contentmetadata_editable_for_maintainers">
        <!-- -->
    </div>
    <div id="contentmetadata_url_container" class="contentmetadata_editable_for_maintainers" style="display:none;">
        <!-- -->
    </div>
    <div id="contentmetadata_copyright_container" class="collapsible_container contentmetadata_editable_for_maintainers" style="display:none;">
        <!-- -->
    </div>
    <div id="contentmetadata_locations_container" class="collapsible_container contentmetadata_editable_for_maintainers" style="display:none;">
        <!-- -->
    </div>
    <div id="contentmetadata_details_container" class="collapsible_container" style="display:none;">
        <!-- -->
    </div>
    <button type="button" id="contentmetadata_show_more" class="s3d-button s3d-link-button s3d-action">
        <div id="contentmetadata_see_more"><span id="contentmetadata_show_more_arrow" class="s3d-dropdownlisttwo-arrow-down"><!-- --></span><span>__MSG__SEE_MORE__</span></div>
        <div id="contentmetadata_see_less" style="display:none;"><span id="contentmetadata_show_less_arrow" class="s3d-dropdownlisttwo-arrow-up"><!-- --></span><span>__MSG__SEE_LESS__</span></div>
    </button>
    <hr class="fl-hidden fl-push">
</div>

<div id="contentmetadata_description_template" style="display:none;"><!--
    {if data.mode === "edit"}
        <textarea id="contentmetadata_description_description" class="contentmetadata_edit_input">${data.data["sakai:description"]}</textarea>
    {else}
        <span id="contentmetadata_description_display" class="contentmetadata_click">{if $.trim(data.data["sakai:description"]) != ""}${sakai.api.Security.escapeHTML(data.data["sakai:description"])}{else}{if data.isManager}<span class="contentmetadata_manager_edit">__MSG__CLICK_TO_EDIT_DESCRIPTION__</span>{else}__MSG__NO_DESCRIPTION__{/if}{/if}</span>
    {/if}
--></div>

<div id="contentmetadata_tags_template" style="display:none;"><!--
        {if data.mode === "edit"}
            <textarea id="contentmetadata_tags_tags" class="contentmetadata_edit_input">
                {if tags && tags.length > 0}
                    {for tag in tags}
                        {if tag_index > 0},&nbsp;{/if}
                        ${tag}
                    {/for}
                {/if}
            </textarea>
        {else}
            <span class="contentmetadata_first_column">__MSG__TAGS__:</span>
            {if tags && tags.length > 0}
                <span class="contentmetadata_second_column">
                    {for tag in tags}
                        {if tag_index > 0},{/if} 
                        <a href="/search#q=${sakai.api.Security.escapeHTML(tag)}" class="s3d-action" title="__MSG__SEARCH_CONTENT_TAGGED_WITH__ '${sakai.api.Security.escapeHTML(tag)}'"">${sakai.api.Security.escapeHTML(tag)}</a>
                    {/for}
                </span>
            {else}
                <span class="contentmetadata_click">
                {if data.isManager}<span class="contentmetadata_manager_edit">__MSG__CLICK_TO_EDIT_TAGS__</span>{else}__MSG__NO_TAGS__{/if}
                </span>
            {/if}
        {/if}
--></div>

<div id="contentmetadata_url_template" style="display:none;"><!--
    {if data.mode === "edit"}
        <textarea id="contentmetadata_url_url" class="contentmetadata_edit_input">${data.data["sakai:pooled-content-url"]}</textarea>
    {else}
        <span class="contentmetadata_first_column">__MSG__URL__:</span>
        <span id="contentmetadata_url_display" {if data.isManager}class="contentmetadata_click"{/if}>{if $.trim(data.data["sakai:pooled-content-url"]) != ""}<a class="s3d-action" target="_blank" href="${sakai.api.Security.escapeHTML(data.data["sakai:pooled-content-url"])}">${sakai.api.Security.escapeHTML(data.data["sakai:pooled-content-url"])}</a>{else}{if data.isManager}<span class="contentmetadata_manager_edit">__MSG__CLICK_TO_EDIT_URL__</span>{else}__MSG__NO_URL__{/if}{/if}</span>
    {/if}
--></div>

<div id="contentmetadata_copyright_template" style="display:none;"><!--
        {if data.mode === "edit"}
            <select id="contentmetadata_copyright_copyright" class="contentmetadata_edit_input"><commit_msg>SAKIII-3279 adjust template for tag editing<commit_after><!-- CSS -->
<link rel="stylesheet" type="text/css" href="/devwidgets/contentmetadata/css/contentmetadata.css" />


<div id="contentmetadata_container">
    <div class="contentmetadata_title">__MSG__DETAILS__</div>
    <div id="contentmetadata_description_container" class="contentmetadata_editable_for_maintainers">
        <!-- -->
    </div>
    <div id="contentmetadata_tags_container" class="contentmetadata_editable_for_maintainers">
        <!-- -->
    </div>
    <div id="contentmetadata_url_container" class="contentmetadata_editable_for_maintainers" style="display:none;">
        <!-- -->
    </div>
    <div id="contentmetadata_copyright_container" class="collapsible_container contentmetadata_editable_for_maintainers" style="display:none;">
        <!-- -->
    </div>
    <div id="contentmetadata_locations_container" class="collapsible_container contentmetadata_editable_for_maintainers" style="display:none;">
        <!-- -->
    </div>
    <div id="contentmetadata_details_container" class="collapsible_container" style="display:none;">
        <!-- -->
    </div>
    <button type="button" id="contentmetadata_show_more" class="s3d-button s3d-link-button s3d-action">
        <div id="contentmetadata_see_more"><span id="contentmetadata_show_more_arrow" class="s3d-dropdownlisttwo-arrow-down"><!-- --></span><span>__MSG__SEE_MORE__</span></div>
        <div id="contentmetadata_see_less" style="display:none;"><span id="contentmetadata_show_less_arrow" class="s3d-dropdownlisttwo-arrow-up"><!-- --></span><span>__MSG__SEE_LESS__</span></div>
    </button>
    <hr class="fl-hidden fl-push">
</div>

<div id="contentmetadata_description_template" style="display:none;"><!--
    {if data.mode === "edit"}
        <textarea id="contentmetadata_description_description" class="contentmetadata_edit_input">${data.data["sakai:description"]}</textarea>
    {else}
        <span id="contentmetadata_description_display" class="contentmetadata_click">{if $.trim(data.data["sakai:description"]) != ""}${sakai.api.Security.escapeHTML(data.data["sakai:description"])}{else}{if data.isManager}<span class="contentmetadata_manager_edit">__MSG__CLICK_TO_EDIT_DESCRIPTION__</span>{else}__MSG__NO_DESCRIPTION__{/if}{/if}</span>
    {/if}
--></div>

<div id="contentmetadata_tags_template" style="display:none;"><!--
        {if data.mode === "edit"}
            <textarea id="contentmetadata_tags_tags" class="contentmetadata_edit_input">{if tags && tags.length > 0}{for tag in tags}{if tag_index > 0},&nbsp;{/if}${tag}{/for}{/if}</textarea>
        {else}
            <span class="contentmetadata_first_column">__MSG__TAGS__:</span>
            {if tags && tags.length > 0}
                <span class="contentmetadata_second_column">
                    {for tag in tags}
                        {if tag_index > 0},{/if} 
                        <a href="/search#q=${sakai.api.Security.escapeHTML(tag)}" class="s3d-action" title="__MSG__SEARCH_CONTENT_TAGGED_WITH__ '${sakai.api.Security.escapeHTML(tag)}'"">${sakai.api.Security.escapeHTML(tag)}</a>
                    {/for}
                </span>
            {else}
                <span class="contentmetadata_click">
                {if data.isManager}<span class="contentmetadata_manager_edit">__MSG__CLICK_TO_EDIT_TAGS__</span>{else}__MSG__NO_TAGS__{/if}
                </span>
            {/if}
        {/if}
--></div>

<div id="contentmetadata_url_template" style="display:none;"><!--
    {if data.mode === "edit"}
        <textarea id="contentmetadata_url_url" class="contentmetadata_edit_input">${data.data["sakai:pooled-content-url"]}</textarea>
    {else}
        <span class="contentmetadata_first_column">__MSG__URL__:</span>
        <span id="contentmetadata_url_display" {if data.isManager}class="contentmetadata_click"{/if}>{if $.trim(data.data["sakai:pooled-content-url"]) != ""}<a class="s3d-action" target="_blank" href="${sakai.api.Security.escapeHTML(data.data["sakai:pooled-content-url"])}">${sakai.api.Security.escapeHTML(data.data["sakai:pooled-content-url"])}</a>{else}{if data.isManager}<span class="contentmetadata_manager_edit">__MSG__CLICK_TO_EDIT_URL__</span>{else}__MSG__NO_URL__{/if}{/if}</span>
    {/if}
--></div>

<div id="contentmetadata_copyright_template" style="display:none;"><!--
        {if data.mode === "edit"}
            <select id="contentmetadata_copyright_copyright" class="contentmetadata_edit_input">
{'fraction_non_alphanumeric': 0.16838032061912658, 'fraction_numerical': 0.0028745163073521283, 'mean_word_length': 4.036748329621381, 'pattern_counts': {'":': 0, '<': 165, '<?xml version=': 0, '>': 171, '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': '3825438', 'n_tokens_mistral': 2879, 'n_tokens_neox': 2786, 'n_words': 341}