<commit_before><!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!--  Copyright © 2015      <NAME> (<EMAIL>)            -->
<!--                        <NAME> (<EMAIL>)             -->
<!--                        <NAME> (<EMAIL>)               -->
<!--                                                                           -->
<!--  Licensed under the Apache License, Version 2.0 (the "License");          -->
<!--  you may not use this file except in compliance with the License.         -->
<!--  You may obtain a copy of the License at                                  -->
<!--              http://www.apache.org/licenses/LICENSE-2.0                   -->
<!--                                                                           -->
<!--  Unless required by applicable law or agreed to in writing, software      -->
<!--  distributed under the License is distributed on an "AS IS" BASIS,        -->
<!--  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -->
<!--  See the License for the specific language governing permissions and      -->
<!--  limitations under the License.                                           -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->

		<link rel="shortcut icon" href="{{ asset('favicon.ico') }}" />
		<title>{{ catalog.title }} :: properties :: O-GIS catalog</title>
		<link rel="stylesheet" href="{{ asset('./css/ogis_styles.css') }}" />
		<link rel="stylesheet" href="{{ asset('./js/jquery/themes/default/style.css') }}" />
		<link rel="stylesheet" href="{{ asset('./js/jquery-ui/jquery-ui.css') }}" />
		<script type="text/javascript" src="{{ asset('./js/jquery/jquery-2.min.js') }}"></script>
		<script type="text/javascript" src="{{ asset('./js/jquery-ui/jquery-ui.min.js') }}"></script>

		<script type="text/javascript">
				function resetValues(){
            document.getElementById("catalogtitle").value = "{{ catalog.title }}";
            {% if catalog.public %}
                document.getElementById("view1").checked = true;
                document.getElementById("view2").checked = false;
            {% else %}
                document.getElementById("view1").checked = false;
                document.getElementById("view2").checked = true;
            {% endif %}
        }

        function submitPropertiesForm(){
            document.getElementById("catalogpropertiesform").submit();
        }
                    
        function addViewPrivelegy(){
            var useridentity = $('#usertoadd').prop('value');
            $('#usertoadd').prop('value', '');
            var url = "{{ path('updatecatalogacl', {'id': catalog.id}) }}" + "?_action=add&_user=" + useridentity;
            $.ajax({
                url: url,
                method: 'POST'
            }).done(function(msg){
                console.log(msg);
                if(msg.success){
                    if(msg.added){
                        rows++;<commit_msg>Update editcatalogproperties.html.twig<commit_after><!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!--  Copyright © 2015      <NAME> (<EMAIL>)            -->
<!--                        <NAME> (<EMAIL>)             -->
<!--                        <NAME> (<EMAIL>)               -->
<!--                                                                           -->
<!--  Licensed under the Apache License, Version 2.0 (the "License");          -->
<!--  you may not use this file except in compliance with the License.         -->
<!--  You may obtain a copy of the License at                                  -->
<!--              http://www.apache.org/licenses/LICENSE-2.0                   -->
<!--                                                                           -->
<!--  Unless required by applicable law or agreed to in writing, software      -->
<!--  distributed under the License is distributed on an "AS IS" BASIS,        -->
<!--  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -->
<!--  See the License for the specific language governing permissions and      -->
<!--  limitations under the License.                                           -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->

		<link rel="shortcut icon" href="{{ asset('favicon.ico') }}" />
		<title>{{ catalog.title }} :: properties :: O-GIS catalog</title>
		<link rel="stylesheet" href="{{ asset('./css/ogis_styles.css') }}" />
		<link rel="stylesheet" href="{{ asset('./js/jquery/themes/default/style.css') }}" />
		<link rel="stylesheet" href="{{ asset('./js/jquery-ui/jquery-ui.css') }}" />
		<script type="text/javascript" src="{{ asset('./js/jquery/jquery-2.min.js') }}"></script>
		<script type="text/javascript" src="{{ asset('./js/jquery-ui/jquery-ui.min.js') }}"></script>

		<script type="text/javascript">
				function resetValues(){
						document.getElementById("catalogtitle").value = "{{ catalog.title }}";
            {% if catalog.public %}
                document.getElementById("view1").checked = true;
                document.getElementById("view2").checked = false;
            {% else %}
                document.getElementById("view1").checked = false;
                document.getElementById("view2").checked = true;
            {% endif %}
        }

        function submitPropertiesForm(){
            document.getElementById("catalogpropertiesform").submit();
        }
                    
        function addViewPrivelegy(){
            var useridentity = $('#usertoadd').prop('value');
            $('#usertoadd').prop('value', '');
            var url = "{{ path('updatecatalogacl', {'id': catalog.id}) }}" + "?_action=add&_user=" + useridentity;
            $.ajax({
                url: url,
                method: 'POST'
            }).done(function(msg){
                console.log(msg);
                if(msg.success){
                    if(msg.added){
                        rows++;
{'fraction_non_alphanumeric': 0.18696974547782935, 'fraction_numerical': 0.00448215143268769, 'mean_word_length': 1.4086353122590594, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 42, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3230217', 'n_tokens_mistral': 1648, 'n_tokens_neox': 1550, 'n_words': 342}