mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 13:06:56 +08:00
Small tweaks to Group page
This commit is contained in:
@ -1,8 +1,22 @@
|
|||||||
{{#each model}}
|
{{#if model}}
|
||||||
<div class='group-member'>
|
<table class='group-members'>
|
||||||
<span class='last-seen-at'>{{i18n last_seen}} {{date last_seen_at}}</span>
|
<tr>
|
||||||
{{avatar this imageSize="large"}}
|
<th colspan="3" class="seen">{{i18n last_seen}}</th>
|
||||||
<h3>{{#link-to 'user' this}}{{username}}{{/link-to}}</h3>
|
</tr>
|
||||||
<p>{{name}}</p>
|
{{#each model}}
|
||||||
</div>
|
<tr>
|
||||||
{{/each}}
|
<td class='avatar'>
|
||||||
|
{{avatar this imageSize="large"}}
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<h3>{{#link-to 'user' this}}{{username}}{{/link-to}}</h3>
|
||||||
|
<p>{{name}}</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span class='last-seen-at'>{{date last_seen_at}}</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</div>
|
||||||
|
{{/each}}
|
||||||
|
</table>
|
||||||
|
{{/if}}
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
<div class='groups'>
|
<div class='groups'>
|
||||||
{{i18n groups.title count=custom_groups.length}}:
|
{{i18n groups.title count=custom_groups.length}}:
|
||||||
{{#each custom_groups}}
|
{{#each custom_groups}}
|
||||||
{{#link-to 'group' this}}{{name}}{{/link-to}}
|
{{#link-to 'group' this class="group-link"}}{{name}}{{/link-to}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
@ -116,17 +116,23 @@
|
|||||||
width: 680px;
|
width: 680px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.group-member {
|
table.group-members {
|
||||||
img {
|
width: 100%;
|
||||||
float: left;
|
th.seen {
|
||||||
margin-right: 10px;
|
text-align: right;
|
||||||
}
|
}
|
||||||
span.last-seen-at {
|
td.avatar {
|
||||||
float: right;
|
width: 60px;
|
||||||
color: #999;
|
}
|
||||||
|
td {
|
||||||
|
img {
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
span.last-seen-at {
|
||||||
|
float: right;
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
clear: both;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-content {
|
.user-content {
|
||||||
@ -204,6 +210,9 @@
|
|||||||
|
|
||||||
h1, h2 {margin-top: 10px;}
|
h1, h2 {margin-top: 10px;}
|
||||||
|
|
||||||
|
.group-link {
|
||||||
|
color: #aae;
|
||||||
|
}
|
||||||
.bio {
|
.bio {
|
||||||
color: #ddd;
|
color: #ddd;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user