Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ nbproject
/sites/default/_settings.php
/profiles/openideal/sublime-openideal.sublime-project
/profiles/openideal/sublime-openideal.sublime-workspace
/.gitk-tmp.11456/
/.gitk-tmp.11456/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@israelLinnovate @nevos Can you make this more generic? (for example .gitk-tmp*)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

although it's not at all relevant to the PR..

.idea/
4 changes: 3 additions & 1 deletion modules/custom/ideal_blocks/ideal_blocks.module
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ function _ideal_blocks_idea_stats() {

// Hardcode phase for now.
$phase = t('Phase');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to have a default Phase, probably through the field's configuration.
For now, change the initial value to "Ideation"
@israelLinnovate


if (!empty($entity->field_in_action)){
$phase = $entity->field_in_action["und"][0]["value"];
Copy link
Contributor

@zohar zohar Sep 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure this string is safe (escaped as necessary)
@Israel123

}
// Generate output.
$output = '<div id="ideal-challenge-stats">';
$output .= '<table class="top idea-page"><tr>';
Expand Down