<commit_before>-#   Copyright (c) 2010-2011, Diaspora Inc.  This file is
-#   licensed under the Affero General Public License version 3 or later.  See
-#   the COPYRIGHT file.

%ul#aspect_nav.left_nav.sub
  %li.all_aspects
    = link_to t('streams.aspects.title'), aspects_path, :class => 'home_selector'

    - if @stream.is_a?(Stream::Aspect)
      %ul.sub_nav
        - if defined?(stream)
          %a.toggle_selector{:href => '#'}
            = stream.for_all_aspects? ? t('.deselect_all') : t('.select_all')
        - for aspect in all_aspects
          %li{:data => {:aspect_id => aspect.id}, :class => ("active" if defined?(stream) && stream.aspect_ids.include?(aspect.id))}
            .edit
              = link_to image_tag("icons/pencil.png", :title => t('.edit_aspect', :name => aspect.name)), edit_aspect_path(aspect), :rel => "facebox"
            %a.aspect_selector{:href => aspects_path("a_ids[]" => aspect.id), :class => "name", 'data-guid' => aspect.id}
              = aspect

        %li
          = link_to t('.add_an_aspect'), new_aspect_path, :class => "new_aspect", :rel => "facebox"<commit_msg>remove server side rendering of aspects<commit_after>-#   Copyright (c) 2010-2011, Diaspora Inc.  This file is
-#   licensed under the Affero General Public License version 3 or later.  See
-#   the COPYRIGHT file.

%ul#aspect_nav.left_nav.sub
  %li.all_aspects
    = link_to t('streams.aspects.title'), aspects_path, :class => 'home_selector', :rel => 'backbone'

    %ul#aspects_list.sub_nav
{'fraction_non_alphanumeric': 0.15389696169088507, 'fraction_numerical': 0.011889035667107, 'mean_word_length': 3.185082872928177, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, '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': '3210267', 'n_tokens_mistral': 541, 'n_tokens_neox': 522, 'n_words': 116}