mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Malformed user card HTML
This commit is contained in:
parent
ac25a24b40
commit
e96630c6f4
@ -1,7 +1,6 @@
|
|||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
|
|
||||||
{{#if username}}
|
{{#if username}}
|
||||||
|
|
||||||
{{#link-to 'user' user}}{{bound-avatar avatar "huge"}}{{/link-to}}
|
{{#link-to 'user' user}}{{bound-avatar avatar "huge"}}{{/link-to}}
|
||||||
|
|
||||||
<div class="names">
|
<div class="names">
|
||||||
@ -25,7 +24,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if user}}
|
{{#if user}}
|
||||||
|
|
||||||
<ul class="usercard-controls">
|
<ul class="usercard-controls">
|
||||||
{{#if user.can_send_private_message_to_user}}
|
{{#if user.can_send_private_message_to_user}}
|
||||||
<li><a class='btn btn-primary' {{action "composePrivateMessage" user}}>{{fa-icon "envelope"}}{{i18n user.private_message}}</a></li>
|
<li><a class='btn btn-primary' {{action "composePrivateMessage" user}}>{{fa-icon "envelope"}}{{i18n user.private_message}}</a></li>
|
||||||
@ -78,9 +76,7 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
|
||||||
|
|
||||||
{{else}}
|
|
||||||
<p class='loading'>{{i18n loading}}</p>
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
@ -143,11 +143,6 @@
|
|||||||
margin: 0 0 5px 0;
|
margin: 0 0 5px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.loading {
|
|
||||||
margin-top: 45px;
|
|
||||||
color: $primary;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
margin: 0 0 7px 0;
|
margin: 0 0 7px 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
Loading…
Reference in New Issue
Block a user