<commit_before>#projects
  ul.tabs.tab-hotizontal
    li.active
      == link_to "Project (#{@owner.projects.length})", "#", data: {tab: "#project-tab"}
    li
      == link_to "Memo (#{@owner.projects.noted.length})", "#", data: {tab: "#note-tab"}
    - if @owner.is_a? User

      / TODO: #486 Implement user.contributed_projects method in user.rb
      / li
      /   == link_to "Contribution", "#", data: {tab: "#contribution-tab"}
      li
        == link_to "Collaboration (#{@owner.collaborations.length})", "#", data: {tab: "#collaboration-tab"}
      li
        == link_to "Favorite (#{@owner.liked_projects.length})", "#", data: {tab: "#starred-tab"}

  .tabs-content
    == render "project_tab"
    == render "note_tab"
    - if @owner.is_a? User
      == render "collaboration_tab"

      / TODO: #486 Implement user.contributed_projects method in user.rb
      / == render "contribution_tab"
      == render "starred_tab"

content_for :bottom
  coffee:
    tabby.init {
      toggleActiveClass: 'active',
      contentActiveClass: 'active',
      initClass: 'js-tabby',
      callbackBefore: (toggle, tabID ) -> {},
      callbackAfter: ( toggle, tabID ) -> {}<commit_msg>close #1058 add contribution tab for groups/show<commit_after>#projects
  ul.tabs.tab-hotizontal
    li.active
      == link_to "Project (#{@owner.projects.length})", "#", data: {tab: "#project-tab"}
    li
      == link_to "Memo (#{@owner.projects.noted.length})", "#", data: {tab: "#note-tab"}
    li
      == link_to "Collaboration (#{@owner.collaborations.length})", "#", data: {tab: "#collaboration-tab"}
    / TODO: #486 Implement user.contributed_projects method in user.rb
    / li
    /   == link_to "Contribution", "#", data: {tab: "#contribution-tab"}
    - if @owner.is_a? User
      li
        == link_to "Favorite (#{@owner.liked_projects.length})", "#", data: {tab: "#starred-tab"}

  .tabs-content
    == render "project_tab"
    == render "note_tab"
    == render "collaboration_tab"
    - if @owner.is_a? User

      / TODO: #486 Implement user.contributed_projects method in user.rb
      / == render "contribution_tab"
      == render "starred_tab"

content_for :bottom
  coffee:
    tabby.init {
      toggleActiveClass: 'active',
      contentActiveClass: 'active',
      initClass: 'js-tabby',
      callbackBefore: (toggle, tabID ) -> {},
      callbackAfter: ( toggle, tabID ) -> {}
{'fraction_non_alphanumeric': 0.1705685618729097, 'fraction_numerical': 0.006688963210702341, 'mean_word_length': 3.0083752093802345, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '7043559', 'n_tokens_mistral': 814, 'n_tokens_neox': 792, 'n_words': 172}