metamaps--metamaps/app/views/users/show.html.erb

50 lines
1.3 KiB
Text
Raw Normal View History

2013-01-06 23:40:48 +00:00
<!--<div class="focus">
<div class="focusleft">
<p># of Topics: <%= @user.topics.count %></p>
<p># of Synapses: <%= @user.synapses.count %></p>
<p># of Maps: <%= @user.maps.count %></p>
</div>
<div class="focusmiddle">
<h1 class="title"><%= @user.name %></h1>
<div class="desc">
<p><%= link_to "View their topics", user_topics_path(@user)%></p>
<p><%= link_to "View their synapses", user_synapses_path(@user)%></p>
<p><%= link_to "View their maps", user_maps_path(@user) %></p>
</div>
</div>
<div class="focusright">
</div>
</div>
2013-01-06 23:40:48 +00:00
<div class="clearfloat nodemargin"></div>-->
<div class="profile">
<h2>Recently Created Topics <%= link_to "see all", user_topics_path(@user)%></h2>
<div class="centeredProfile">
2013-01-08 00:57:04 +00:00
<% @topics.each do |topic| %>
<%= render topic %>
<% end %>
</div>
<div class="clearfloat"></div>
<h2>Recently Created Synapses <%= link_to "see all", user_synapses_path(@user)%></h2>
<div class="centeredProfile">
<% @synapses.each do |synapse| %>
<%= render synapse %>
<% end %>
</div>
2013-01-08 00:57:04 +00:00
<div class="clearfloat"></div>
<h2>Recently Created Maps <%= link_to "see all", user_maps_path(@user)%></h2>
<div class="centeredProfile">
2013-01-08 00:57:04 +00:00
<% @maps.each do |map| %>
<%= render map %>
<% end %>
</div>
2013-01-08 04:40:58 +00:00
<div class="clearfloat leaveSpace"></div>
</div>
2013-01-06 23:40:48 +00:00
<h1 class="index">
Viewing Mapper: <%= @user.name %>
</h1>