moved the conditional statement out of the primary view and into the layout itself
This commit is contained in:
@@ -21,9 +21,7 @@
|
||||
<!-- End Title Buttons-->
|
||||
</div>
|
||||
<div id="charts_body" class="widget-body">
|
||||
<% if @user.paid_time_off %>
|
||||
<%= render :partial => "layouts/dashboard/dashboard_stats"%>
|
||||
<% end %>
|
||||
<%= render :partial => "layouts/dashboard/dashboard_stats"%>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user