A bunch of tweaks to the Users directory

- Move user directory from `/directory` to `/users/`
- Defaults to 'weekly' time period
- Don't include deleted topics/posts in the results
- Move heart icon to header instead of on each row
- "Users" instead of "Users found"
This commit is contained in:
Robin Ward
2015-03-19 11:48:16 -04:00
parent f807527650
commit 7ef306cd3b
19 changed files with 87 additions and 106 deletions
@@ -7,6 +7,12 @@ export default Ember.Component.extend(StringBuffer, {
rerenderTriggers: ['order', 'asc'],
renderString(buffer) {
const icon = this.get('icon');
if (icon) {
buffer.push(iconHTML(icon));
}
const field = this.get('field');
buffer.push(I18n.t('directory.' + field));