mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
clearer labels for OSM links in history panel (#8834)
This commit is contained in:
@@ -643,8 +643,10 @@ en:
|
||||
last_edit: Last Edit
|
||||
edited_by: Edited By
|
||||
changeset: Changeset
|
||||
changeset_link: Changeset on osm.org
|
||||
profile_link: Profile on osm.org
|
||||
history_link: History on osm.org
|
||||
unknown: Unknown
|
||||
link_text: History on openstreetmap.org
|
||||
note_no_history: "No History (New Note)"
|
||||
note_comments: Comments
|
||||
note_created_date: Created Date
|
||||
|
||||
2
dist/locales/en.min.json
vendored
2
dist/locales/en.min.json
vendored
File diff suppressed because one or more lines are too long
@@ -40,7 +40,7 @@ export function uiPanelHistory(context) {
|
||||
.attr('class', 'user-osm-link')
|
||||
.attr('href', osm.userURL(userName))
|
||||
.attr('target', '_blank')
|
||||
.text('OSM');
|
||||
.call(t.append('info_panels.history.profile_link'));
|
||||
}
|
||||
|
||||
links
|
||||
@@ -76,7 +76,7 @@ export function uiPanelHistory(context) {
|
||||
.attr('class', 'changeset-osm-link')
|
||||
.attr('href', osm.changesetURL(changeset))
|
||||
.attr('target', '_blank')
|
||||
.text('OSM');
|
||||
.call(t.append('info_panels.history.changeset_link'));
|
||||
}
|
||||
|
||||
links
|
||||
@@ -98,7 +98,6 @@ export function uiPanelHistory(context) {
|
||||
function redraw(selection) {
|
||||
var selectedNoteID = context.selectedNoteID();
|
||||
osm = context.connection();
|
||||
|
||||
var selected, note, entity;
|
||||
if (selectedNoteID && osm) { // selected 1 note
|
||||
selected = [ t.html('note.note') + ' ' + selectedNoteID ];
|
||||
@@ -198,8 +197,7 @@ export function uiPanelHistory(context) {
|
||||
.attr('class', 'view-history-on-osm')
|
||||
.attr('href', osm.historyURL(entity))
|
||||
.attr('target', '_blank')
|
||||
.attr('title', t('info_panels.history.link_text'))
|
||||
.text('OSM');
|
||||
.call(t.append('info_panels.history.history_link'));
|
||||
}
|
||||
links
|
||||
.append('a')
|
||||
|
||||
Reference in New Issue
Block a user