Commit b4a5819a authored by Steffen van Bergerem's avatar Steffen van Bergerem
Browse files

Merge pull request #6349 from Faldrian/beautify-blocked-persons

Beautify ignored people list and add diaspora handle for identification
parents 6b863def 37793f7d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ With the port to Bootstrap 3, app/views/terms/default.haml has a new structure.
* Replace mobile icons for post interactions with Entypo icons [#6291](https://github.com/diaspora/diaspora/pull/6291)
* Replace jquery.autocomplete with typeahead.js [#6293](https://github.com/diaspora/diaspora/pull/6293)
* Redesign sidebars on stream pages [#6309](https://github.com/diaspora/diaspora/pull/6309)
* Improve ignored users styling [#6349](https://github.com/diaspora/diaspora/pull/6349)

## Bug fixes
* Destroy Participation when removing interactions with a post [#5852](https://github.com/diaspora/diaspora/pull/5852)
+9 −0
Original line number Diff line number Diff line
@@ -29,3 +29,12 @@
    padding: 1rem;
  }
}

#blocked_people {
  .blocked_person {
    border-bottom: 1px solid $border-grey;
    margin-top: 0;
    .avatar { max-width: 35px; }
    .info { color: $text; }
  }
}
+16 −0
Original line number Diff line number Diff line
@@ -28,3 +28,19 @@
    .info { font-size: $font-size-small; }
  }
}
#blocked_people {
  .blocked_person {
    border-bottom: 1px solid $border-grey;
    padding: 10px;
    margin: 0px;
    font-size: 13px;
    line-height: 16px;
    min-height: 50px;
    .avatar {
      width: 50px;
      height: 50px;
    }
    .info { font-size: $font-size-small; }
    .btn-danger { margin-top: 9px; }
  }
}
+12 −0
Original line number Diff line number Diff line
.media.blocked_person{id: person.id}
  .pull-right
    = link_to t("users.privacy_settings.stop_ignoring"), block_path(block),  class: "btn btn-danger", method: :delete
  .media-object.pull-left
    = person_image_link(person, size: :thumb_small)
  .media-body
    = person_link(person)
    .info.diaspora_handle
      = block.person.diaspora_handle
    .info.tags
      = Diaspora::Taggable.format_tags(person.profile.tag_string)
  .clearfix
+5 −7
Original line number Diff line number Diff line
@@ -27,9 +27,7 @@
          - if @blocks.length.zero?
            %p
              = t('.no_user_ignored_message')

          - else
            #blocked_people
              - @blocks.each do |block|
            = block.person_name
            \-
            = link_to t('.stop_ignoring'), block_path(block),
              method: :delete
                = render partial: "blocked_person", locals: {block: block, person: block.person}
Loading