mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 06:03:38 +08:00
Don't show group title under poster, only show actual title, but link it
to the group.
This commit is contained in:
parent
3d62df51a6
commit
ef16c08688
|
@ -28,8 +28,13 @@
|
|||
<h3 class="full-name"><a href='{{unbound usernameUrl}}' {{action showPosterExpansion this}}>{{breakUp name}}</a></h3>
|
||||
{{/if}}
|
||||
|
||||
{{#if user_title}}<div class="user-title" {{action showPosterExpansion this}}>{{user_title}}</div>{{/if}}
|
||||
{{#if primary_group_name}}<div><a href='/groups/{{unbound primary_group_name}}' class='user-group'>{{unbound primary_group_name}}</a></div>{{/if}}
|
||||
{{#if user_title}}
|
||||
{{#if primary_group_name}}
|
||||
<div class="user-title"><a href='/groups/{{unbound primary_group_name}}' class='user-group'>{{unbound user_title}}</a></div>
|
||||
{{else}}
|
||||
<div class="user-title" {{action showPosterExpansion this}}>{{unbound user_title}}</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="contents">
|
||||
|
|
|
@ -473,12 +473,8 @@ iframe {
|
|||
}
|
||||
|
||||
a.user-group {
|
||||
margin: 4px 0 0 0;
|
||||
padding: 0px;
|
||||
color: $primary_light;
|
||||
font-size: 80%;
|
||||
width: 100%;
|
||||
line-height: 13px;
|
||||
}
|
||||
|
||||
h3 a {
|
||||
|
|
Loading…
Reference in New Issue
Block a user