Bugfixes #89

Merged
bilal.catic merged 49 commits from development into master 2018-12-13 13:25:17 +01:00
2 changed files with 14 additions and 1 deletions
Showing only changes of commit 103fc53c1d - Show all commits

View File

@@ -82,4 +82,9 @@
width: 84px;
text-align: center;
padding-right: 10px;
}
.wiaas-delivery-process-step-instructions {
padding: 10px 50px;
border-bottom: 1px solid #eee;
}

View File

@@ -25,7 +25,15 @@ if ($is_current_step) {
</h3>
<?php
//Gravity_Flow_Entry_Detail::maybe_show_instructions(true, true, $step->get_form(), $form, $step->get_entry());
if ($step->instructionsEnable) {
$instructions = $step->instructionsValue;
$instructions = GFCommon::replace_variables( $instructions, $step->get_form(), $step->get_entry(), false, false, true );
$instructions = do_shortcode( $instructions );
echo '<div class="wiaas-delivery-process-step-instructions">' . $instructions . '</div>';
}
$action_form = GFAPI::get_form( $step->target_form_id );