cgchris99 Posted December 8, 2003 Share Posted December 8, 2003 In Admin under orders, is there a way to change the color of the "status" indicator? When my orders are Pending, I want the Pending text to be blue or something. Is this possible? Any tips on how to do it? Thanks Link to comment Share on other sites More sharing options...
cgchris99 Posted December 8, 2003 Author Share Posted December 8, 2003 I'll answer my own question. I modified the style sheet and added a class for DataTableContentBlue Then I modified the Orders.php in admin. Around line 439 I replaced this line <td class="dataTableContent" align="right"><?php echo $orders['orders_status_name']; ?></td> With this Code <?php if ($orders['orders_status_name']=='Pending') { echo '<td class="dataTableContentBlue" align="right">';} else { echo '<td class="dataTableContent" align="right">' ;} ?> <?php echo $orders['orders_status_name']; ?></td> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.