AffordableDomainsCanada Posted February 24, 2017 Share Posted February 24, 2017 Can someone lend en eye and see whats wrong with this ? {if $department.id eq 11} <div class="label label-success text-center"> <span class="fa fa-comment"></span> OPEN </div> {elseif $smarty.now|date_format:'%H' gte 8 AND $smarty.now|date_format:'%H' lt 20} <div class="label label-success text-center"> <span class="fa fa-comment"></span> OPEN </div> {elseif} <div class="label label-danger text-center"> <span class="fa fa-comment"></span> CLOSED </div> {/if} 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 24, 2017 Share Posted February 24, 2017 change the last ELSEIF to ELSE and it should be fine. 0 Quote Link to comment Share on other sites More sharing options...
AffordableDomainsCanada Posted February 24, 2017 Author Share Posted February 24, 2017 I see what I did! I have since fixed this issue! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.