<commit_before>- if @domain_masterdata
  %label.masterdata-heading.masterdata-top Cost Object 
  %a.help-link{data:{content:  t('masterdata_cockpit.co_info'), popover: {type: "help-hint"}, toggle: "popover"}}
    = icon('question-circle')
  .masterdata-action
    - unless modal?
      - if current_user.is_allowed?('masterdata_cockpit:masterdata_edit')
        = link_to 'Edit Masterdata', plugin('masterdata_cockpit').domain_masterdata_edit_path(), title: "", data: {modal: true, toggle: "tooltip", placement: "left"}, class: 'btn btn-primary btn-sm pull-right'
  %hr.masterdata-hr-label
  .row
    .col-sm-4.details-label
      %strong
        Type
    .col-sm-8.details-value
      - if @domain_masterdata.cost_object_type
        = MasterdataCockpit::Config.cost_object_types[@domain_masterdata.cost_object['type']]
      - else 
        \-e']
  .row
    .col-sm-4.details-label
      %strong
        Name
    .col-sm-8.details-value
      = @domain_masterdata.cost_object_name
  .row
    .col-sm-4.details-label
      %strong
        Projects can inherit
    .col-sm-8.details-value<commit_msg>bugfix domain edit masterdata button<commit_after>- if @domain_masterdata
  %label.masterdata-heading.masterdata-top Cost Object 
  %a.help-link{data:{content:  t('masterdata_cockpit.co_info'), popover: {type: "help-hint"}, toggle: "popover"}}
    = icon('question-circle')
  .masterdata-action
    - if current_user.is_allowed?('masterdata_cockpit:masterdata_edit')
      = link_to 'Edit Masterdata', plugin('masterdata_cockpit').domain_masterdata_edit_path(), title: "", data: {modal: true, toggle: "tooltip", placement: "left"}, class: 'btn btn-primary btn-sm pull-right'
  %hr.masterdata-hr-label
  .row
    .col-sm-4.details-label
      %strong
        Type
    .col-sm-8.details-value
      - if @domain_masterdata.cost_object_type
        = MasterdataCockpit::Config.cost_object_types[@domain_masterdata.cost_object['type']]
      - else 
        \-e']
  .row
    .col-sm-4.details-label
      %strong
        Name
    .col-sm-8.details-value
      = @domain_masterdata.cost_object_name
  .row
    .col-sm-4.details-label
      %strong
        Projects can inherit
    .col-sm-8.details-value
{'fraction_non_alphanumeric': 0.13733515234197363, 'fraction_numerical': 0.005457025920873124, 'mean_word_length': 3.127579737335835, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3639414', 'n_tokens_mistral': 745, 'n_tokens_neox': 736, 'n_words': 121}