mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-17 19:12:37 -05:00
Merge pull request #2232 from vikhyat/username-on-top-setting
Add option to show username on top of posts instead of the left gutter
This commit is contained in:
commit
fe6153ba96
2 changed files with 17 additions and 15 deletions
|
@ -22,7 +22,8 @@
|
|||
{{#unless userDeleted}}
|
||||
<div {{bind-attr class=":contents byTopicCreator:topic-creator :trigger-expansion"}}>
|
||||
<a href='{{unbound usernameUrl}}' {{action showPosterExpansion this}}>{{avatar this imageSize="large"}}</a>
|
||||
<h3 {{bind-attr class="staff new_user"}}><a href='{{unbound usernameUrl}}' {{action showPosterExpansion this}}>{{{breakUp username name}}}</a></h3>
|
||||
<div class="names">
|
||||
<h3 {{bind-attr class="staff new_user :username"}}><a href='{{unbound usernameUrl}}' {{action showPosterExpansion this}}>{{{breakUp username name}}}</a></h3>
|
||||
|
||||
{{#if showName}}
|
||||
<h3 class="full-name"><a href='{{unbound usernameUrl}}' {{action showPosterExpansion this}}>{{breakUp name}}</a></h3>
|
||||
|
@ -36,6 +37,7 @@
|
|||
{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="contents">
|
||||
<i class="fa fa-trash-o deleted-user-avatar"></i>
|
||||
|
|
|
@ -805,6 +805,7 @@ blockquote { /* solo quotes */
|
|||
.row:before, .row:after {display: table; content: "";}
|
||||
.row:after {clear: both;}
|
||||
|
||||
|
||||
.embedded-posts {
|
||||
h1, h2, h3 {margin: 10px 0;}
|
||||
a.mention {background: lighten($secondary_background_color, 70%);}
|
||||
|
@ -1019,7 +1020,6 @@ blockquote { /* solo quotes */
|
|||
border-bottom: 1px solid $primary_border_color;
|
||||
border-right: 1px solid $primary_border_color;
|
||||
color: $secondary_text_color;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue