<commit_before>﻿<div class="object-section-container">
    <h4>{{system.name}}</h4>
    <div class="panel panel-default">
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    <label class="control-label small">Systemets overordnede formål</label>
                    <input type="text" 
                           data-ng-disabled="!hasWriteAccess"
                           data-autosave="{{updateUrl}}" 
                           class="form-control input-sm"
                           data-field="GeneralPurpose"
                           data-ng-model="system.generalPurpose"
                           data-placeholder="Systemets overordnede formål"/>
                </div>

                <div class="form-group">
                    <label for="system-name" class="control-label small">Indeholder systemet oplysninger om straffedomme og lovovertrædelser?</label>
                    <select class="form-control input-sm"
                            data-ng-disabled="!hasWriteAccess"
                            ui-select2="{minimumResultsForSearch: -1}"
                            data-ng-model="system.containsLegalInfo"
                            data-ng-change="changeDataField('containsLegalInfo')">
                        <option value="1">Ja</option>
                        <option value="0">Nej</option>
                        <option value="2">Ved Ikke</option>
                    </select>
                </div>

                <div class="form-group">
                    <label for="system-name" class="control-label small">Sker der overførsel af data til 3. lande?</label>
                    <div class="well">
                        <label class="radio-inline">
                            <input type="radio" data-ng-model="system.isDataTransferedToThirdCountries" name="inlineRadioOptions"
                                   id="inlineRadioNo" ng-value="true" data-ng-change="changeDataField('isDataTransferedToThirdCountries')"> Ja
                        </label>
                        <label class="radio-inline">
                            <input type="radio" data-ng-model="system.isDataTransferedToThirdCountries" name="inlineRadioOptions"
                                   id="inlineRadioNo" ng-value="false" data-ng-change="changeDataField('isDataTransferedToThirdCountries')"> Nej
                        </label>
                    </div>
                </div>

                <div class="form-group"  
                     data-ng-show="system.isDataTransferedToThirdCountries">
                    <label class="control-label small">Hvilket land er der overført data til?</label>
                    <input type="text"
                           data-ng-disabled="!hasWriteAccess"
                           data-autosave="{{updateUrl}}"
                           class="form-control input-sm"
                           data-field="DataIsTransferedTo"
                           data-ng-model="system.dataIsTransferedTo"
                           data-placeholder="Hvilket land er der overført data til" />
                </div>
            </div>
            <div class="col-md-6">
                <div class="form-group"
                     data-ng-show="system.dataLevel == 1 || system.dataLevel == 2">
                    <label class="control-label small">Almindelige persondata:</label>
                    <div class="well">
                        <div class="checkbox" data-ng-repeat="r in regularSensitiveData">
                            <label><input type="checkbox" ng-model="r.Checked" 
                            data-ng-disabled="!hasWriteAccess" 
                            ng-click="updateDataLevel(r.Id, r.Checked, 'REGULARPERSONALDATA')">{{r.Name}}</label><commit_msg>haswriteaccess now added to fields in system catalog<commit_after>﻿<div class="object-section-container">
    <h4>{{system.name}}</h4>
    <div class="panel panel-default">
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    <label class="control-label small">Systemets overordnede formål</label>
                    <input type="text" 
                           data-ng-disabled="!hasWriteAccess"
                           data-autosave="{{updateUrl}}" 
                           class="form-control input-sm"
                           data-field="GeneralPurpose"
                           data-ng-model="system.generalPurpose"
                           data-placeholder="Systemets overordnede formål"/>
                </div>

                <div class="form-group">
                    <label for="system-name" class="control-label small">Indeholder systemet oplysninger om straffedomme og lovovertrædelser?</label>
                    <select class="form-control input-sm"
                            data-ng-disabled="!hasWriteAccess"
                            ui-select2="{minimumResultsForSearch: -1}"
                            data-ng-model="system.containsLegalInfo"
                            data-ng-change="changeDataField('containsLegalInfo')">
                        <option value="1">Ja</option>
                        <option value="0">Nej</option>
                        <option value="2">Ved Ikke</option>
                    </select>
                </div>

                <div class="form-group">
                    <label for="system-name" class="control-label small">Sker der overførsel af data til 3. lande?</label>
                    <div class="well">
                        <label class="radio-inline">
                            <input type="radio" data-ng-model="system.isDataTransferedToThirdCountries" name="inlineRadioOptions"
                                   id="inlineRadioNo" ng-value="true" data-ng-change="changeDataField('isDataTransferedToThirdCountries')" 
                                   data-ng-disabled="!hasWriteAccess"> Ja
                        </label>
                        <label class="radio-inline">
                            <input type="radio" data-ng-model="system.isDataTransferedToThirdCountries" name="inlineRadioOptions"
                                   id="inlineRadioNo" ng-value="false" data-ng-change="changeDataField('isDataTransferedToThirdCountries')" 
                                   data-ng-disabled="!hasWriteAccess"> Nej
                        </label>
                    </div>
                </div>

                <div class="form-group"  
                     data-ng-show="system.isDataTransferedToThirdCountries">
                    <label class="control-label small">Hvilket land er der overført data til?</label>
                    <input type="text"
                           data-ng-disabled="!hasWriteAccess"
                           data-autosave="{{updateUrl}}"
                           class="form-control input-sm"
                           data-field="DataIsTransferedTo"
                           data-ng-model="system.dataIsTransferedTo"
                           data-placeholder="Hvilket land er der overført data til" />
                </div>
            </div>
            <div class="col-md-6">
                <div class="form-group"
                     data-ng-show="system.dataLevel == 1 || system.dataLevel == 2">
                    <label class="control-label small">Almindelige persondata:</label>
                    <div class="well">
                        <div class="checkbox" data-ng-repeat="r in regularSensitiveData">
                            <label><input type="checkbox" ng-model="r.Checked" 
                            data-ng-disabled="!hasWriteAccess" 
                            ng-click="updateDataLevel(r.Id, r.Checked, 'REGULARPERSONALDATA')">{{r.Name}}</label>
{'fraction_non_alphanumeric': 0.11600868787530344, 'fraction_numerical': 0.0030663089306247606, 'mean_word_length': 1.4056545789797172, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2373835', 'n_tokens_mistral': 2013, 'n_tokens_neox': 1888, 'n_words': 312}