<commit_before>class App.Organization extends App.Model
  @configure 'Organization', 'name', 'shared', 'note', 'member_ids', 'active', 'updated_at'
  @extend Spine.Model.Ajax
  @url: @apiPath + '/organizations'
  @configure_attributes = [
    { name: 'name',           display: 'Name',                tag: 'input',     type: 'text', limit: 100, null: false, info: true },
    { name: 'shared',         display: 'Shared organization', tag: 'boolean',   note: 'Customers in the organization can view each other items.', type: 'boolean', default: true, null: false, info: false },
    { name: 'created_by_id',  display: 'Created by',    relation: 'User', readonly: 1, info: false },
    { name: 'created_at',     display: 'Created at',    tag: 'datetime',  readonly: 1, info: false },
    { name: 'updated_by_id',  display: 'Updated by',    relation: 'User', readonly: 1, info: false },
    { name: 'updated_at',     display: 'Updated at',    tag: 'datetime',  readonly: 1, info: false },
  ]
  @configure_clone = true
  @configure_overview = [
    'name',
    'shared',
  ]

  @description = '''
Mit **Organisationen** können Sie Kunden **gruppieren**. Dies hat u. a. zwei bedeutende Vorteile.

1. Als **Agent** haben Sie nicht nur die Übersicht über die Tickets eines Kunden sondern zusätzlich die **Übersicht über die gesamte Organisation**. Z. B. über die Suchen nach der Organisation, diese per einfachen klick öffnen.
2. Als **Kunde** können Sie die **Tickets ihrer Kollegen mit einsehen** und bearbeiten (sofern die Organisation eine "teilende" ist, dies können Sie je Organisation als Parameter einstellen).
'''

  uiUrl: ->
    "#organization/profile/#{@id}"
<commit_msg>Organisations: fix description<commit_after>class App.Organization extends App.Model
  @configure 'Organization', 'name', 'shared', 'note', 'member_ids', 'active', 'updated_at'
  @extend Spine.Model.Ajax
  @url: @apiPath + '/organizations'
  @configure_attributes = [
    { name: 'name',           display: 'Name',                tag: 'input',     type: 'text', limit: 100, null: false, info: true },
    { name: 'shared',         display: 'Shared organization', tag: 'boolean',   note: 'Customers in the organization can view each other items.', type: 'boolean', default: true, null: false, info: false },
    { name: 'created_by_id',  display: 'Created by',    relation: 'User', readonly: 1, info: false },
    { name: 'created_at',     display: 'Created at',    tag: 'datetime',  readonly: 1, info: false },
    { name: 'updated_by_id',  display: 'Updated by',    relation: 'User', readonly: 1, info: false },
    { name: 'updated_at',     display: 'Updated at',    tag: 'datetime',  readonly: 1, info: false },
  ]
  @configure_clone = true
  @configure_overview = [
    'name',
    'shared',
  ]

  @description = '''
Using **Organisations** you can **group** customers. This has among others two important benefits:

1. As an **Agent** you do not only have an overview of the open tickets for one person but an **overview over their whole organisation**.
2. As a **Customer** you can also check the **Tickets which your colleagues created** and modify their tickets (if your organization is set to "shared", which can be defined per organization)).
'''

  uiUrl: ->
    "#organization/profile/#{@id}"

{'fraction_non_alphanumeric': 0.14372716199756394, 'fraction_numerical': 0.0054811205846528625, 'mean_word_length': 3.7539797395079595, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2763354', 'n_tokens_mistral': 994, 'n_tokens_neox': 971, 'n_words': 364}