Skip to content

Commit

Permalink
More bugfixes and style updates:
Browse files Browse the repository at this point in the history
* working Previous/Next buttons
* remove behaviors from save mode
  (users should not be moving nodes around or selecting at this point)
* clear hover before hovering next object
* enable save button and finished message after reviewing last conflict
* store users choice in __data__.chosen..
* default choices to `keep remote version`
* better message for delete conflicts
* fix undelete action to check localGraph (which will have the entity)
  instead of context.graph() (which may not)
  • Loading branch information
bhousel committed Feb 27, 2015
1 parent 0ed12da commit 80f5f65
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 136 deletions.
9 changes: 0 additions & 9 deletions css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -2504,15 +2504,6 @@ img.wiki-image {
padding: 20px 20px 0 20px;
}

.conflict-container:not(.expanded) .conflict-description:hover {
background: #ececec;
}

.conflict-container.expanded {
padding: 10px 0;
background: #f6f6f6;
}

.conflict-detail-container {
padding: 10px 20px;
}
Expand Down
5 changes: 3 additions & 2 deletions data/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -314,16 +314,17 @@ en:
no_changes: No changes to save.
error: Errors occurred while trying to save
status_code: "Server returned status code {code}"
status_gone: '{name} has already been deleted.'
unknown_error_details: "Please ensure you are connected to the internet."
uploading: Uploading changes to OpenStreetMap.
unsaved_changes: You have unsaved changes
conflict:
header: Resolve conflicting edits
count: 'Conflict {num} of {total}'
message: '{name}'
previous: '< Previous'
next: 'Next >'
keep_local: Keep mine
keep_remote: Use theirs
deleted: 'This object has been deleted.'
restore: Restore
delete: Leave Deleted
download_changes: Download your changes.
Expand Down
5 changes: 3 additions & 2 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -388,16 +388,17 @@
"no_changes": "No changes to save.",
"error": "Errors occurred while trying to save",
"status_code": "Server returned status code {code}",
"status_gone": "{name} has already been deleted.",
"unknown_error_details": "Please ensure you are connected to the internet.",
"uploading": "Uploading changes to OpenStreetMap.",
"unsaved_changes": "You have unsaved changes",
"conflict": {
"header": "Resolve conflicting edits",
"count": "Conflict {num} of {total}",
"message": "{name}",
"previous": "< Previous",
"next": "Next >",
"keep_local": "Keep mine",
"keep_remote": "Use theirs",
"deleted": "This object has been deleted.",
"restore": "Restore",
"delete": "Leave Deleted",
"download_changes": "Download your changes.",
Expand Down
Loading

0 comments on commit 80f5f65

Please sign in to comment.