<commit_before>- extends "base.haml"
- load humanize
- load custom_filters
- block title
  element43 - Market - {{type.name}}
- block content
  - include 'market/_group_breadcrumbs.haml'
  %h1
    = type.name
  .row
    .span2
      %img{'src':'http://image.eveonline.com/type/{{type.id}}_64.png', 'alt':'type image'}
    .span9
      %p
        Volume: {{type.volume}}m&#179;
      %p
        = type.description
  %ul#tabs.nav.nav-tabs
    %li.active
      %a{'href':'#orders', 'data_toggle':'tab'} Orders
    %li
      %a{'href':'#regions', 'data_toggle':'tab'} Regions
  .tab-content
    #orders.tab-pane.fade.active.in
      %h3
        Sell
      %table.table.table-striped.table-condensed
        %thead
          %tr
            %th
              Location
            %th
              Remaining
            %th
              Price
            %th
              Last Seen
            %th
              ID
        %tbody
          - for order in sell_orders
            %tr
              %td
                %span{'class':'sec{{order.mapsolarsystem.security_level|sec0to10}}'}
                  • {{order.mapsolarsystem.security_level|sec0to1}}
                {{order.mapregion.name}} -
                = order.stastation.name
              %td
                = order.volume_remaining|intcomma
              %td
                = order.price|intcomma
              %td
                = order.generated_at|naturaltime
              %td
                = order.id
      %h3
        Buy
      %table.table.table-striped.table-condensed
        %thead
          %tr
            %th
              Location
            %th
              Remaining
            %th
              Price
            %th
              Last Seen
            %th
              ID
        %tbody
          - for order in buy_orders
            %tr
              %td
                %span{'class':'sec{{order.mapsolarsystem.security_level|sec0to10}}'}
                  • {{order.mapsolarsystem.security_level|sec0to1}}
                {{order.mapregion.name}} -
                = order.stastation.name
              %td
                = order.volume_remaining|intcomma
              %td
                = order.price|intcomma
              %td
                = order.generated_at|naturaltime
              %td
                = order.id
    #regions.tab-pane.fade
      %h3 Regions
      %table.table.table-striped.table-condensed
        %thead
          %tr
            %th
              Region
            %th
            %th
              Low
            %th
              High<commit_msg>fixed some minor number formatting in market views<commit_after>- extends "base.haml"
- load humanize
- load custom_filters
- block title
  element43 - Market - {{type.name}}
- block content
  - include 'market/_group_breadcrumbs.haml'
  %h1
    = type.name
  .row
    .span2
      %img{'src':'http://image.eveonline.com/type/{{type.id}}_64.png', 'alt':'type image'}
    .span9
      %p
        Volume: {{type.volume|intcomma}}m&#179;
      %p
        = type.description
  %ul#tabs.nav.nav-tabs
    %li.active
      %a{'href':'#orders', 'data_toggle':'tab'} Orders
    %li
      %a{'href':'#regions', 'data_toggle':'tab'} Regions
  .tab-content
    #orders.tab-pane.fade.active.in
      %h3
        Sell
      %table.table.table-striped.table-condensed
        %thead
          %tr
            %th
              Location
            %th
              Remaining
            %th
              Price
            %th
              Last Seen
            %th
              ID
        %tbody
          - for order in sell_orders
            %tr
              %td
                %span{'class':'sec{{order.mapsolarsystem.security_level|sec0to10}}'}
                  • {{order.mapsolarsystem.security_level|sec0to1}}
                {{order.mapregion.name}} -
                = order.stastation.name
              %td
                = order.volume_remaining|intcomma
              %td{'align':'right'}
                = order.price|floatformat:"2"|intcomma
              %td
                = order.generated_at|naturaltime
              %td
                = order.id
      %h3
        Buy
      %table.table.table-striped.table-condensed
        %thead
          %tr
            %th
              Location
            %th
              Remaining
            %th
              Price
            %th
              Last Seen
            %th
              ID
        %tbody
          - for order in buy_orders
            %tr
              %td
                %span{'class':'sec{{order.mapsolarsystem.security_level|sec0to10}}'}
                  • {{order.mapsolarsystem.security_level|sec0to1}}
                {{order.mapregion.name}} -
                = order.stastation.name
              %td
                = order.volume_remaining|intcomma
              %td{'align':'right'}
                = order.price|floatformat:"2"|intcomma
              %td
                = order.generated_at|naturaltime
              %td
                = order.id
    #regions.tab-pane.fade
      %h3 Regions
      %table.table.table-striped.table-condensed
        %thead
          %tr
            %th
              Region
            %th
            %th
              Low
            %th
              High
{'fraction_non_alphanumeric': 0.10479269684290604, 'fraction_numerical': 0.009128946367440091, 'mean_word_length': 1.1274271844660195, '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': '1772924', 'n_tokens_mistral': 1565, 'n_tokens_neox': 1473, 'n_words': 256}