Fix issues with renaming of diary entry controller
This commit is contained in:
parent
dc6a5bc1a6
commit
85802048a7
3 changed files with 5 additions and 5 deletions
|
@ -10,7 +10,7 @@ $(document).ready(function () {
|
|||
}
|
||||
|
||||
marker = L.marker(e.latlng, {icon: OSM.getUserIcon()}).addTo(map)
|
||||
.bindPopup(I18n.t('diary_entry.edit.marker_text'));
|
||||
.bindPopup(I18n.t('diary_entries.edit.marker_text'));
|
||||
}
|
||||
|
||||
$("#usemap").click(function (e) {
|
||||
|
@ -35,7 +35,7 @@ $(document).ready(function () {
|
|||
|
||||
if ($("#latitude").val() && $("#longitude").val()) {
|
||||
marker = L.marker(centre, {icon: OSM.getUserIcon()}).addTo(map)
|
||||
.bindPopup(I18n.t('diary_entry.edit.marker_text'));
|
||||
.bindPopup(I18n.t('diary_entries.edit.marker_text'));
|
||||
}
|
||||
|
||||
map.on("click", setLocation);
|
||||
|
|
|
@ -1686,7 +1686,7 @@ tr.turn:hover {
|
|||
|
||||
/* Rules for the diary entry page */
|
||||
|
||||
.diary_entry {
|
||||
.diary_entries {
|
||||
#map {
|
||||
position: relative;
|
||||
width: 90%;
|
||||
|
@ -1722,7 +1722,7 @@ tr.turn:hover {
|
|||
}
|
||||
}
|
||||
|
||||
.diary_entry-show img.user_thumbnail {
|
||||
.diary_entries-show img.user_thumbnail {
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ translations:
|
|||
- "*.site.edit.*"
|
||||
- "*.site.index.remote_failed"
|
||||
- "*.site.sidebar.search_results"
|
||||
- "*.diary_entry.edit.marker_text"
|
||||
- "*.diary_entries.edit.marker_text"
|
||||
- "*.layouts.project_name.title"
|
||||
- "*.geocoder.search_osm_nominatim.*"
|
||||
- file: "app/assets/javascripts/i18n/embed.js"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue