remove diapsora ids from titles on small avatars; add twispys to contact sidebar
This commit is contained in:
parent
f878b22c06
commit
aec8ca5c5e
2 changed files with 9 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ module PeopleHelper
|
|||
|
||||
def person_image_tag(person, size=nil)
|
||||
size ||= :thumb_small
|
||||
"<img alt=\"#{h(person.name)}\" class=\"avatar\" data-person_id=\"#{person.id}\" src=\"#{person.profile.image_url(size)}\" title=\"#{h(person.name)} (#{h(person.diaspora_handle)})\">".html_safe
|
||||
"<img alt=\"#{h(person.name)}\" class=\"avatar\" data-person_id=\"#{person.id}\" src=\"#{person.profile.image_url(size)}\" title=\"#{h(person.name)}\">".html_safe
|
||||
end
|
||||
|
||||
def person_image_link(person, opts={})
|
||||
|
|
|
|||
|
|
@ -122,6 +122,14 @@ var View = {
|
|||
}
|
||||
},
|
||||
|
||||
contacts_on_side: {
|
||||
bind: function() {
|
||||
$("#selected_aspect_contacts .avatar").twipsy({
|
||||
live: true
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
bindAll: function() {
|
||||
for(var element in this) {
|
||||
if(element !== "bindAll") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue