UX: display staged status on user summary page
This commit is contained in:
parent
76474f3156
commit
b489edac1d
app/assets
javascripts/discourse/templates
stylesheets
|
@ -86,6 +86,9 @@
|
|||
<div class="primary-textual">
|
||||
<h1 class="{{if nameFirst "full-name" "username"}}">{{if nameFirst model.name (format-username model.username)}} {{user-status model currentUser=currentUser}}</h1>
|
||||
<h2 class="{{if nameFirst "username" "full-name"}}">{{#if nameFirst}}{{model.username}}{{else}}{{model.name}}{{/if}}</h2>
|
||||
{{#if model.staged}}
|
||||
<h2 class="staged">{{i18n 'user.staged'}}</h2>
|
||||
{{/if}}
|
||||
{{#if model.title}}
|
||||
<h3>{{model.title}}</h3>
|
||||
{{/if}}
|
||||
|
|
|
@ -168,7 +168,6 @@ aside.quote {
|
|||
opacity: 0.4;
|
||||
}
|
||||
|
||||
|
||||
.quote-controls {
|
||||
float: right;
|
||||
display: flex;
|
||||
|
|
|
@ -72,3 +72,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.primary-textual .staged,
|
||||
#user-card .staged {
|
||||
font-style: italic;
|
||||
}
|
||||
|
|
|
@ -41,9 +41,6 @@ $user_card_background: $secondary;
|
|||
a.card-huge-avatar {
|
||||
outline: none;
|
||||
}
|
||||
.staged {
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
|
||||
&.no-bg {
|
||||
|
|
|
@ -79,7 +79,6 @@ margin-top: 10px;
|
|||
.secondary {
|
||||
dl {
|
||||
padding: 5px 0;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue