<commit_before>- content_for :head do
  = sass_link_tag 'entries'
  = stylesheet_link_tag 'jquery.lightbox-0.5.css'
- content_for :foot do
  = javascript_include_tag 'jquery.lightbox-0.5.pack.js', 'autoresize.jquery.min'
  = coffeescript_include_tag 'tag', 'showentry'



/ CONTEXT PANEL
= render :partial => "users/context_panel", :locals => {:user => @entry.user}



#entryField

  / SHOW ENTRY
  #showEntry{:'data-id' => @entry.id, :class => @entry.images.blank? ? "noImage" : "" }

    .type Dream

    %a.next.cancel{href: user_entry_path(@next.user.username, @next)}
      %span &rsaquo;
    .stream.cancel stream
    %a.prev.cancel{href: user_entry_path(@previous.user.username, @previous)}
      %span &lsaquo;

    - if @entry.user == current_user
      %a.editEntry{href: edit_entry_path(@entry)} edit
      = link_to 'delete', entry_path, :confirm => "Really?", :method => 'DELETE', :class => "deleteEntry"

    / 
      XXX
      .books.button.round-8 My Book of Dreams

    .content

      / HEADER IMAGE & TITLE
      .imageHeader{style: "background: url(#{dream_header_url(@entry.images.first)}) no-repeat top left"}
        .fade

      / MOOD ICON
      .moodIcon.hidden
        %img{src: '/images/moods/plants/Fungi.png'}

      / STARLIGHT COUNT & SHARE OPTIONS
      .starlight_share
        %img.starlight{src: '/images/icons/starlight-22.png'}
        %span= @entry.starlight._?.value

        /
          SAVE FOR LATER
          %hr
          .option.love
          .option.share
          .option.repost.selected
        
      .title= @entry.title

      / BODY
      .body= simple_format(@entry.body)

      / IMAGE GALLERY
      %ul.gallery
        - @entry.images.each do |image|
          = gallery_list_item(image)
      .clear


      / ENTRY LINKS
      - if @entry.links.count >= 1
        .entryLinks
          - @entry.links.each do |link|
            .link
              %span
                %a{href: "#{link.url}", target: "_blank"}= link.title
          .clear

      / TAG
      .showTags
        .tagHeader.headers
          tag
          %img{src: '/images/icons/tag-20.png'}

        .wrapper
          - if @entry.user == current_user
            .tagInput.target
              %input#newTag{placeholder: 'who/where/what'}
            .tagThisEntry.trigger
              %span +
              add

          / POST TIME & LOCATION
          .postTime= time_ago_in_words(@entry.created_at)
          .postLocation= get_city_prov(@entry.location_id)


          #tag-list.tag-list.ui-sortable.target

            #empty-tag.hidden
              %span.tagContent
            - @entry.whats.each do |what|
              .tagWhat.tag{:'data-id' => what.id }
                %span.tagContent= what.name<commit_msg>showing locations on the entrys<commit_after>- content_for :head do
  = sass_link_tag 'entries'
  = stylesheet_link_tag 'jquery.lightbox-0.5.css'
- content_for :foot do
  = javascript_include_tag 'jquery.lightbox-0.5.pack.js', 'autoresize.jquery.min'
  = coffeescript_include_tag 'tag', 'showentry'



/ CONTEXT PANEL
= render :partial => "users/context_panel", :locals => {:user => @entry.user}



#entryField

  / SHOW ENTRY
  #showEntry{:'data-id' => @entry.id, :class => @entry.images.blank? ? "noImage" : "" }

    .type Dream

    %a.next.cancel{href: user_entry_path(@next.user.username, @next)}
      %span &rsaquo;
    .stream.cancel stream
    %a.prev.cancel{href: user_entry_path(@previous.user.username, @previous)}
      %span &lsaquo;

    - if @entry.user == current_user
      %a.editEntry{href: edit_entry_path(@entry)} edit
      = link_to 'delete', entry_path, :confirm => "Really?", :method => 'DELETE', :class => "deleteEntry"

    / 
      XXX
      .books.button.round-8 My Book of Dreams

    .content

      / HEADER IMAGE & TITLE
      .imageHeader{style: "background: url(#{dream_header_url(@entry.images.first)}) no-repeat top left"}
        .fade

      / MOOD ICON
      .moodIcon.hidden
        %img{src: '/images/moods/plants/Fungi.png'}

      / STARLIGHT COUNT & SHARE OPTIONS
      .starlight_share
        %img.starlight{src: '/images/icons/starlight-22.png'}
        %span= @entry.starlight._?.value

        /
          SAVE FOR LATER
          %hr
          .option.love
          .option.share
          .option.repost.selected
        
      .title= @entry.title

      / BODY
      .body= simple_format(@entry.body)

      / IMAGE GALLERY
      %ul.gallery
        - @entry.images.each do |image|
          = gallery_list_item(image)
      .clear


      / ENTRY LINKS
      - if @entry.links.count >= 1
        .entryLinks
          - @entry.links.each do |link|
            .link
              %span
                %a{href: "#{link.url}", target: "_blank"}= link.title
          .clear

      / TAG
      .showTags
        .tagHeader.headers
          tag
          %img{src: '/images/icons/tag-20.png'}

        .wrapper
          - if @entry.user == current_user
            .tagInput.target
              %input#newTag{placeholder: 'who/where/what'}
            .tagThisEntry.trigger
              %span +
              add

          / POST TIME & LOCATION
          .postTime= time_ago_in_words(@entry.created_at)
          - if !@entry.location_id.nil?
            .postLocation= get_city_prov(@entry.location_id)


          #tag-list.tag-list.ui-sortable.target

            #empty-tag.hidden
              %span.tagContent
            - @entry.whats.each do |what|
              .tagWhat.tag{:'data-id' => what.id }
                %span.tagContent= what.name
{'fraction_non_alphanumeric': 0.1322314049586777, 'fraction_numerical': 0.0035932446999640674, 'mean_word_length': 1.8859512700881285, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, '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': '744921', 'n_tokens_mistral': 1897, 'n_tokens_neox': 1782, 'n_words': 331}