From 4541196ffe386b7aa98c98009fab5566ae0f8297 Mon Sep 17 00:00:00 2001 From: Shai Mor Date: Mon, 11 Aug 2014 18:56:03 -0400 Subject: [PATCH] part way through add links to topic cards --- app/views/maps/show.html.erb~ | 133 ---------------------------------- 1 file changed, 133 deletions(-) delete mode 100644 app/views/maps/show.html.erb~ diff --git a/app/views/maps/show.html.erb~ b/app/views/maps/show.html.erb~ deleted file mode 100644 index 474a6c1a..00000000 --- a/app/views/maps/show.html.erb~ +++ /dev/null @@ -1,133 +0,0 @@ -<%# - # @file - # Code to display a map - # /maps/:id - #%> - -<% content_for :title, @map.name + " | Metamaps" %> - -
- -
- - -<% if authenticated? %> - <% if @map.permission == "commons" || @map.user == user %> -
-
-
Save Layout
-
-
-
- <% end %> -
-
-
Save To New Map
-
-
-
- <% if @map.permission == "commons" || @map.user == user %> -
-
-
-

Realtime:

- OFF -
-
-
    -
  • - <%= user.name %> (me) -
  • -
-
-
-
- <% end %> -<% end %> -
-
-
-

Filter By Metacode

allnone -
- <%= render :partial => 'main/filterbymetacode' %> -
-
- -
-
- - <%= @map.name %> - -
- <%= render :partial => 'maps/mapinfobox' %> -
- -
-
-
-
-
-
-
- -<% if authenticated? %> - - <% # add these if you have edit permissions on the map %> - <% if @map.permission == "commons" || @map.user == user %> - - <% # for creating and pulling in topics and synapses %> - <%= render :partial => 'newtopic' %> - <%= render :partial => 'newsynapse' %> - - <% # for saving the layout of the map %> - <%= form_for @map, :url => savelayout_path(@map), :html => { :class => "saveMapLayout", :id => "saveMapLayout"}, remote: true do |form| %> - <%= form.hidden_field "coordinates", :value => "" %> - <% end %> - - <% end %> - - <% # for populating the change metacode list on the topic card %> - <%= render :partial => 'main/metacodeoptions' %> -<% end %> - - - \ No newline at end of file