Advertisement
Guest User

Untitled

a guest
Oct 8th, 2012
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.73 KB | None | 0 0
  1. diff --git a/app/views/browse/_map.html.erb b/app/views/browse/_map.html.erb
  2. index d598847..d0e5af8 100644
  3. --- a/app/views/browse/_map.html.erb
  4. +++ b/app/views/browse/_map.html.erb
  5. @@ -63,7 +63,7 @@
  6.  
  7.  <div id="area_edit_menu" class="menu">
  8.    <ul>
  9. -    <% Editors::ALL_EDITORS.each do |editor| %>
  10. +    <% Editors::RECOMMENDED_EDITORS.each do |editor| %>
  11.        <li><%= link_to t('layouts.edit_with', :editor => t("editor.#{editor}.description")),
  12.                        edit_path(:editor => editor),
  13.                        :data => {:editor => editor},
  14. @@ -74,7 +74,7 @@
  15.  
  16.  <div id="object_edit_menu" class="menu">
  17.    <ul>
  18. -    <% Editors::ALL_EDITORS.each do |editor| %>
  19. +    <% Editors::RECOMMENDED_EDITORS.each do |editor| %>
  20.        <li><%= link_to t('layouts.edit_with', :editor => t("editor.#{editor}.description")),
  21.                        edit_path(:editor => editor),
  22.                        :data => {:editor => editor},
  23. diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb
  24. index 31f87eb..a8201b9 100644
  25. --- a/app/views/layouts/site.html.erb
  26. +++ b/app/views/layouts/site.html.erb
  27. @@ -51,7 +51,7 @@
  28.      </div>
  29.      <div id="editmenu" class="menu">
  30.        <ul>
  31. -        <% Editors::ALL_EDITORS.each do |editor| %>
  32. +        <% Editors::RECOMMENDED_EDITORS.each do |editor| %>
  33.            <li><%= link_to t('layouts.edit_with',
  34.              :editor => t("editor.#{editor}.description")),
  35.              edit_path(:editor => editor), {
  36. diff --git a/lib/editors.rb b/lib/editors.rb
  37. index ed1de59..3b5de3d 100644
  38. --- a/lib/editors.rb
  39. +++ b/lib/editors.rb
  40. @@ -1,3 +1,4 @@
  41.  module Editors
  42.    ALL_EDITORS = [ "potlatch", "potlatch2", "remote" ]
  43. +  RECOMMENDED_EDITORS = [ "potlatch2", "remote" ]
  44.  end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement