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

34 lines
914 B
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>-->
2013-01-08 00:57:04 +00:00
<h2>Recently Created Topics</h2>
<% @topics.each do |topic| %>
<%= render topic %>
<% end %>
<div class="clearfloat"></div>
<h2>Recently Created Maps</h2>
<% @maps.each do |map| %>
<%= render map %>
<% end %>
<div class="clearfloat"></div>
2013-01-06 23:40:48 +00:00
<h1 class="index">
Viewing Mapper: <%= @user.name %>
</h1>