we are going to fix this by automatically generating data for ppl that register HOWEVER, just in case that fails for some reason, I have applied a filter that ensures if some data is not associated with a person they cannot navigate to all aspects of the application. This is a preventive measure
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span12"> <!--begin span12 -->
|
||||
<%= render :partial => "layouts/dashboard/dashboard_stats"%>
|
||||
<% if @user.paid_time_off %>
|
||||
<%= render :partial => "layouts/dashboard/dashboard_stats"%>
|
||||
<% end %>
|
||||
</div> <!-- end span12 -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<div class="widget">
|
||||
<div class="widget-header">
|
||||
<div class="title">
|
||||
<span class="fs1" aria-hidden="true" data-icon=""></span> Profile Settings
|
||||
<span class="fs1" aria-hidden="true" data-icon=""></span> Profile Settings
|
||||
<span class="mini-title">
|
||||
Edit your account details
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user