summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Wehner2012-01-29 20:34:13 (GMT)
committer Daniel Wehner2012-01-29 20:34:13 (GMT)
commitea7896e88bc61e3920ca99162746708565d1f007 (patch)
treef281b742f660f5b9ae76772c8ba57f9c06b48424
parent2474db15261bed98f8c16b8557c019b58a8f32c9 (diff)
#1408656 by mkadin:
Add an Output format for field: Comment: Approved and field: User: Active
-rw-r--r--modules/comment.views.inc3
-rw-r--r--modules/user.views.inc3
2 files changed, 6 insertions, 0 deletions
diff --git a/modules/comment.views.inc b/modules/comment.views.inc
index 0f525d8..e22ccd5 100644
--- a/modules/comment.views.inc
+++ b/modules/comment.views.inc
@@ -256,6 +256,9 @@ function comment_views_data() {
'field' => array(
'handler' => 'views_handler_field_boolean',
'click sortable' => TRUE,
+ 'output formats' => array(
+ 'approved-not-approved' => array(t('Approved'), t('Not Approved')),
+ ),
),
'filter' => array(
'handler' => 'views_handler_filter_boolean_operator',
diff --git a/modules/user.views.inc b/modules/user.views.inc
index 7ac007d..46641d8 100644
--- a/modules/user.views.inc
+++ b/modules/user.views.inc
@@ -302,6 +302,9 @@ function user_views_data() {
'field' => array(
'handler' => 'views_handler_field_boolean',
'click sortable' => TRUE,
+ 'output formats' => array(
+ 'active-blocked' => array(t('Active'), t('Blocked')),
+ ),
),
'filter' => array(
'handler' => 'views_handler_filter_boolean_operator',