Browse Source

fallback local user avatar when net sucks

This was fixed at 4ddfc0f88c, but not in the "messages" screen.
Luckily, my ISP sucks on a regular basis,
so it didn't take long until this happened to me.
master
The Dod 11 years ago
parent
commit
614c52530f
  1. 2
      templates/messages.html

2
templates/messages.html

@ -25,7 +25,7 @@
<div class="panel-body"> <div class="panel-body">
<div class="media avatars32"> <div class="media avatars32">
<a class="pull-left thumbnail" href="{{site_root}}/user/{{username}}"> <a class="pull-left thumbnail" href="{{site_root}}/user/{{username}}">
<img class="media-object avatar" src="{{avatar}}" alt="{{fullname}}"> <img class="media-object avatar" src="{{#avatar}}{{.}}{{/avatar}}{{^avatar}}{{site_root}}/assets/img/twister-64.jpg{{/avatar}}" alt="{{fullname}}">
</a> </a>
<div class="media-body"> <div class="media-body">
<ul class="nav nav-pills"> <ul class="nav nav-pills">

Loading…
Cancel
Save