moved the conditional statement out of the primary view and into the layout itself

This commit is contained in:
cktricky
2014-07-29 18:00:42 -05:00
parent 88ed0e2b50
commit e2546f4eeb
2 changed files with 3 additions and 4 deletions
@@ -1,3 +1,4 @@
<% if @user.paid_time_off %>
<!-- Begin easy pie charts container -->
<div class="easy-pie-charts-container">
<div class="pie-chart">
@@ -44,7 +45,7 @@
</div>
</div>
<!-- End easy pie charts container -->
<% end %>
<script type="text/javascript">
$(document).ready(
pieChartHome()