Updating final user views

This commit is contained in:
2014-04-10 21:01:42 -07:00
parent bedd80d555
commit cb0f203f82
5 changed files with 27 additions and 25 deletions

View File

@@ -3,8 +3,8 @@
<%= simple_format Setting.welcome_body %>
<% end %>
<div class="col-sm-4">
<% if ((can? :read, User) && (@recent_user_names.count > 1)) then %>
<% if ((can? :read, User) && (@recent_user_names.count > 1)) then %>
<div class="col-sm-4">
<h2>New People: <em>(say hi!)</em></h2>
<ul>
<% @recent_user_names.each do |user| %>
@@ -13,8 +13,8 @@
<% end %>
<% end %>
</ul>
<% end %>
</div>
</div>
<% end %>
<div class="col-sm-4">
<h2>Cool Stats:</h2>
@@ -42,4 +42,9 @@
<ul><li><%= link_to "Remote Door Access", space_api_access_path %></li></ul>
<% end %>
<%= simple_format Setting.member_resources_inset %>
</div>
</div>
<span class="col-sm-4">
<h3>Featured item:</h3>
<%= render @featured_resource unless @featured_resource.blank? %>
</span>