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">
|
||||
|
||||
{{#if username}}
|
||||
|
||||
{{#link-to 'user' user}}{{bound-avatar avatar "huge"}}{{/link-to}}
|
||||
|
||||
<div class="names">
|
||||
@ -25,7 +24,6 @@
|
||||
</div>
|
||||
|
||||
{{#if user}}
|
||||
|
||||
<ul class="usercard-controls">
|
||||
{{#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>
|
||||
@ -78,9 +76,7 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{else}}
|
||||
<p class='loading'>{{i18n loading}}</p>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
@ -143,11 +143,6 @@
|
||||
margin: 0 0 5px 0;
|
||||
}
|
||||
|
||||
p.loading {
|
||||
margin-top: 45px;
|
||||
color: $primary;
|
||||
}
|
||||
|
||||
.btn {
|
||||
margin: 0 0 7px 0;
|
||||
box-sizing: border-box;
|
||||
|
Loading…
Reference in New Issue
Block a user