From 46fcd2f21b8c027db1e750dd8c273b13058c36ef Mon Sep 17 00:00:00 2001 From: Parziphal Date: Sun, 12 Jan 2014 10:13:21 -0500 Subject: [PATCH] Showing post and tag edit counts in user profile. --- app/views/user/show.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/app/views/user/show.php b/app/views/user/show.php index 8715835..46ad646 100755 --- a/app/views/user/show.php +++ b/app/views/user/show.php @@ -1,8 +1,3 @@ -user->tag_subscriptions->select(function($x) { return (bool)$x->is_visible_on_profile; }) -// ) -?> user->has_avatar()) : ?>
@@ -72,11 +67,11 @@ t('user_edits') ?> - linkTo(History::where(['user_id' => $this->user->id])->count(), array('history#index', 'search' => 'user:'.$this->user->name))) ?> + linkTo(History::where(['user_id' => $this->user->id])->count(), array('history#index', 'search' => 'user:'.$this->user->name)) ?> t('user_tag_edits') ?> - linkTo(History::where(['user_id' => $this->user->id, 'group_by_table' => 'posts'])->count(), array('history#index', 'search' => 'type:post user:'.$this->user->name)) ?> + linkTo(History::where(['user_id' => $this->user->id, 'group_by_table' => 'posts'])->count(), array('history#index', 'search' => 'type:post user:'.$this->user->name)) ?> t('user_note_edits') ?>