Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions templates/room-memberinfo.qtpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
<td>
{% if p.MemberInfo.AvatarURL.IsValid() %}
<a href="{%s p.MemberInfo.AvatarURL.ToURL() %}">
<img class="avatar userAvatarBig" src="{%s p.MemberInfo.AvatarURL.ToThumbURL(48, 48, "crop") %}" alt="{%s p.MemberInfo.MXID %}" />
<img class="avatar userAvatarBig" src="{%s p.MemberInfo.AvatarURL.ToThumbURL(48, 48, "crop") %}" alt="" />
</a>
{% else %}
<img class="avatar userAvatarBig" src="./avatar/{%u p.MemberInfo.GetName() %}" alt="{%s p.MemberInfo.MXID %}" />
<img class="avatar userAvatarBig" src="./avatar/{%u p.MemberInfo.GetName() %}" alt="" />
{% endif %}
</td>
</tr>
Expand Down Expand Up @@ -65,4 +65,4 @@
{% endif %}

{% endfunc %}
{% endstripspace %}
{% endstripspace %}
4 changes: 2 additions & 2 deletions templates/room-servers.qtpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{% stripspace %}
{% func (p *RoomServersPage) printServer(server mxclient.ServerUserCount) %}
<tr>
<td><img class="avatar serverAvatar" src="./avatar/{%u server.ServerName %}" alt="{%s server.ServerName %}" /> {%s server.ServerName %}</td>
<td><img class="avatar serverAvatar" src="./avatar/{%u server.ServerName %}" alt="" /> {%s server.ServerName %}</td>
<td>{%d server.NumUsers %}</td>
</tr>
{% endfunc %}
Expand Down Expand Up @@ -72,4 +72,4 @@
return RoomBaseUrl(p.RoomInfo.RoomID) + "/"
}

%}
%}