]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'osmlab/id-editor-embed'
authorTom Hughes <tom@compton.nu>
Tue, 7 May 2013 13:43:45 +0000 (14:43 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 7 May 2013 13:43:45 +0000 (14:43 +0100)
1  2 
app/assets/stylesheets/common.css.scss
config/locales/en.yml

index 54db78fbf5248c41e28bb93a73e4f2a6cbb57069,d94f5111487f448c9df5dca95aaf91255959b0af..49a784704ea0d64b2fb5b493361b8b0beb4cf811
@@@ -692,12 -692,7 +692,12 @@@ table 
  }
  
  .search_results_entry {
 -  margin-bottom: 0 ;
 +  margin-bottom: 0;
 +
 +  .search_details {
 +    display: block;
 +    text-align: right;
 +  }
  }
  
  .search_results_entry .search_searching {
@@@ -952,13 -947,14 +952,13 @@@ ul.results-list li { border-bottom: 1p
      margin: 0px;
      padding: 4px 6px;
    }
 -  div {
 -    clear: left;
 -  }
    h4, p {
      margin-bottom: 5px;
    }
 -  p, ul, .bbox {
 -    margin-left: 33.3333%;
 +  p, ul, .bbox, .geo {
 +    display: inline-block;
 +    vertical-align: top;
 +    max-width: 65%;
    }
    ul p {
      margin-left: 0;
    }
    h4 {
      width: 33.3333%;
 -    float: left;
 +    display: inline-block;
 +    vertical-align: top;
    }
  }
  
@@@ -1789,3 -1784,11 +1789,11 @@@ a.button.submit 
      text-align: right;
    }
  }
+ /*
+  * Rules for the iD editor
+  */
+ .id-embed {
+   width: 100%;
+   height: 100%;
+ }
diff --combined config/locales/en.yml
index 7b5a3d96a35108931d6035ebd3beb83347635df1,0186d446d55a04ce650bf8aa4d6edace7ee65762..315cc4aa693760e522ffdb5f50e5cbc403cd4895
@@@ -85,6 -85,9 +85,9 @@@ en
      potlatch:
        name: "Potlatch 1"
        description: "Potlatch 1 (in-browser editor)"
+     id:
+       name: "iD"
+       description: "iD (in-browser editor)"
      potlatch2:
        name: "Potlatch 2"
        description: "Potlatch 2 (in-browser editor)"
        potlatch_unsaved_changes: "You have unsaved changes. (To save in Potlatch, you should deselect the current way or point, if editing in live mode, or click save if you have a save button.)"
        potlatch2_not_configured: "Potlatch 2 has not been configured - please see http://wiki.openstreetmap.org/wiki/The_Rails_Port#Potlatch_2 for more information"
        potlatch2_unsaved_changes: "You have unsaved changes. (To save in Potlatch 2, you should click save.)"
+       id_not_configured: "iD has not been configured"
        no_iframe_support: "Your browser doesn't support HTML iframes, which are necessary for this feature."
      sidebar:
        search_results: Search Results
        needs_view: "The user needs to log in before this block will be cleared."
    note:
      description:
 -      opened_at: "Created %{when} ago"
 -      opened_at_by: "Created %{when} ago by %{user}"
 -      commented_at: "Updated %{when} ago"
 -      commented_at_by: "Updated %{when} ago by %{user}"
 -      closed_at: "Resolved %{when} ago"
 -      closed_at_by: "Resolved %{when} ago by %{user}"
 -      reopened_at: "Reactivated %{when} ago"
 -      reopened_at_by: "Reactivated %{when} ago by %{user}"
 +      opened_at_html: "Created %{when} ago"
 +      opened_at_by_html: "Created %{when} ago by %{user}"
 +      commented_at_html: "Updated %{when} ago"
 +      commented_at_by_html: "Updated %{when} ago by %{user}"
 +      closed_at_html: "Resolved %{when} ago"
 +      closed_at_by_html: "Resolved %{when} ago by %{user}"
 +      reopened_at_html: "Reactivated %{when} ago"
 +      reopened_at_by_html: "Reactivated %{when} ago by %{user}"
      rss:
        title: "OpenStreetMap Notes"
        description_area: "A list of notes, reported, commented on or closed in your area [(%{min_lat}|%{min_lon}) -- (%{max_lat}|%{max_lon})]"