Skip to content
Extraits de code Groupes Projets
Non vérifiée Valider 3971a24d rédigé par Steffen van Bergerem's avatar Steffen van Bergerem Validation de Benjamin Neff
Parcourir les fichiers

Add avatar fallback for avatar next to publisher

closes #7414
parent bf105db2
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
* Fix sharing indicator on profile page for blocked users [#7382](https://github.com/diaspora/diaspora/pull/7382) * Fix sharing indicator on profile page for blocked users [#7382](https://github.com/diaspora/diaspora/pull/7382)
* Remove post only after a successful deletion on the server [#7385](https://github.com/diaspora/diaspora/pull/7385) * Remove post only after a successful deletion on the server [#7385](https://github.com/diaspora/diaspora/pull/7385)
* Fix an issue where pod admins could get logged out when using sidekiq-web [#7395](https://github.com/diaspora/diaspora/pull/7395) * Fix an issue where pod admins could get logged out when using sidekiq-web [#7395](https://github.com/diaspora/diaspora/pull/7395)
* Add avatar fallback for typeahead and conversations [#7414](https://github.com/diaspora/diaspora/pull/7414)
## Features ## Features
* Add links to liked and commented pages [#5502](https://github.com/diaspora/diaspora/pull/5502) * Add links to liked and commented pages [#5502](https://github.com/diaspora/diaspora/pull/5502)
......
...@@ -217,6 +217,7 @@ app.Router = Backbone.Router.extend({ ...@@ -217,6 +217,7 @@ app.Router = Backbone.Router.extend({
app.shortcuts = app.shortcuts || new app.views.StreamShortcuts({el: $(document)}); app.shortcuts = app.shortcuts || new app.views.StreamShortcuts({el: $(document)});
if ($("#publisher").length !== 0) { if ($("#publisher").length !== 0) {
app.publisher = app.publisher || new app.views.Publisher({collection: app.stream.items}); app.publisher = app.publisher || new app.views.Publisher({collection: app.stream.items});
app.page.setupAvatarFallback($(".main-stream-publisher"));
} }
$("#main_stream").html(app.page.render().el); $("#main_stream").html(app.page.render().el);
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter