<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.

#section_header
  %h2
    = t('settings')
  = render 'shared/settings_nav'

.span-19.prepend-5.last
  #applications_stream.stream
    - if @applications.count > 0
      - for app in @applications
        .stream_element{:id => app.id}
          .right
            = link_to t('.revoke_access'), authorization_path(:id => app.id), :method => :delete, :confirm => 'are you sure?', :class => "button"

          - if app.icon_url
            = image_tag(app.application_base_url + app.icon_url, :class => "avatar")

          .content
            %div.from
              = link_to app.name, app.application_base_url
            = app.description

    - else
      = t('.no_applications')<commit_msg>fix authorizations page css to use media box<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.

#section_header
  %h2
    = t('settings')
  = render 'shared/settings_nav'

.span-19.prepend-5.last
  #applications_stream.stream
    -if @applications.any?
      - @applications.each do |app|
        .stream_element{:id => app.id}

          .float-right
            = link_to t('.revoke_access'), authorization_path(:id => app.id), :method => :delete, :confirm => 'are you sure?', :class => "button"
          .media
            - if app.icon_url
              .img
                = image_tag(app.application_base_url + app.icon_url, :class => "avatar")
            .bd

            %div.from
              = link_to app.name, app.application_base_url
            = app.description
    - else
      = t('.no_applications')
{'fraction_non_alphanumeric': 0.12307692307692308, 'fraction_numerical': 0.014835164835164835, 'mean_word_length': 2.2116402116402116, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 16, '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': '2220609', 'n_tokens_mistral': 594, 'n_tokens_neox': 564, 'n_words': 140}