Commit f1d6e944 authored by Anton Tkachov's avatar Anton Tkachov Committed by Steffen van Bergerem
Browse files

Issue #6281: add url to hovercard avatar

closes #6297
parent 78b0fbbe
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@

* Implement NodeInfo [#6239](https://github.com/diaspora/diaspora/pull/6239)
* Display original author on reshares of NSFW posts [#6270](https://github.com/diaspora/diaspora/pull/6270)
* Use avatars in hovercards as links to the profile [#6297](https://github.com/diaspora/diaspora/pull/6297)

# 0.5.2.0

+2 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ app.views.Hovercard = app.views.Base.extend({

    // cache some element references
    this.avatar = this.$('.avatar');
    this.avatarLink = this.$("a.person_avatar");
    this.dropdown = this.$('.dropdown_list');
    this.dropdown_container = this.$('#hovercard_dropdown_container');
    this.hashtags = this.$('.hashtags');
@@ -115,6 +116,7 @@ app.views.Hovercard = app.views.Base.extend({
    var self = this;

    this.avatar.attr('src', person.avatar);
    this.avatarLink.attr("href", person.url);
    this.person_link.attr('href', person.url);
    this.person_link.text(person.name);
    this.person_handle.text(person.handle);
+3 −1
Original line number Diff line number Diff line
<div id="hovercard">
  <a class='person_avatar'>
    <img class="avatar">
  </a>
  <h4>
    <a class="person"></a>
  </h4>