| @@ -29,9 +29,9 @@ | ||
| 29 | 29 | <div class="give-goal-progress"> |
| 30 | 30 | <div class="raised"> |
| 31 | 31 | <?php |
| 32 | 32 | echo sprintf( |
| 33 | - /* translators: %s: percentage of the amount raised compared to the goal target */ | |
| 33 | + /* translators: %s: percentage of the amount raised compared to the goal target */ | |
| 34 | 34 | __( '<span class="give-percentage">%s%%</span> funded', 'give' ), |
| 35 | 35 | round( $progress ) |
| 36 | 36 | ); |
| 37 | 37 | ?> |
| @@ -37,11 +37,15 @@ | ||
| 37 | 37 | ?> |
| 38 | 38 | </div> |
| 39 | 39 | |
| 40 | 40 | <div class="give-progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" |
| 41 | - aria-valuenow="<?php echo esc_attr( $progress ); ?>"> | |
| 42 | - <span style="width: <?php echo esc_attr( $progress ); ?>%;<?php if ( ! empty( $color ) ) { | |
| 43 | - echo 'background-color:' . $color; | |
| 44 | - } ?>"></span> | |
| 41 | + aria-valuenow="<?php echo esc_attr( $progress ); ?>"> | |
| 42 | + <span style="width: <?php echo esc_attr( $progress ); ?>%; | |
| 43 | + <?php | |
| 44 | + if ( ! empty( $color ) ) { | |
| 45 | + echo 'background-color:' . $color; | |
| 46 | + } | |
| 47 | + ?> | |
| 48 | + "></span> | |
| 45 | 49 | </div><!-- /.give-progress-bar --> |
| 46 | 50 | |
| 47 | -</div><!-- /.goal-progress --> | |
| 51 | +</div><!-- /.goal-progress --> | |