diff --git a/.gitignore b/.gitignore index 629b1bc6a..d2d4f6adf 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,5 @@ nbproject /sites/default/_settings.php /profiles/openideal/sublime-openideal.sublime-project /profiles/openideal/sublime-openideal.sublime-workspace -/.gitk-tmp.11456/ \ No newline at end of file +/.gitk-tmp.11456/ +.idea/ \ No newline at end of file diff --git a/modules/custom/ideal_blocks/ideal_blocks.module b/modules/custom/ideal_blocks/ideal_blocks.module index 999e73606..51328479a 100644 --- a/modules/custom/ideal_blocks/ideal_blocks.module +++ b/modules/custom/ideal_blocks/ideal_blocks.module @@ -158,7 +158,9 @@ function _ideal_blocks_idea_stats() { // Hardcode phase for now. $phase = t('Phase'); - + if (!empty($entity->field_in_action)){ + $phase = $entity->field_in_action["und"][0]["value"]; + } // Generate output. $output = '