Fix issues with renaming of diary entry controller

This commit is contained in:
Tom Hughes 2018-11-17 17:47:51 +00:00
parent dc6a5bc1a6
commit 85802048a7
3 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@ $(document).ready(function () {
} }
marker = L.marker(e.latlng, {icon: OSM.getUserIcon()}).addTo(map) 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) { $("#usemap").click(function (e) {
@ -35,7 +35,7 @@ $(document).ready(function () {
if ($("#latitude").val() && $("#longitude").val()) { if ($("#latitude").val() && $("#longitude").val()) {
marker = L.marker(centre, {icon: OSM.getUserIcon()}).addTo(map) 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); map.on("click", setLocation);

View file

@ -1686,7 +1686,7 @@ tr.turn:hover {
/* Rules for the diary entry page */ /* Rules for the diary entry page */
.diary_entry { .diary_entries {
#map { #map {
position: relative; position: relative;
width: 90%; width: 90%;
@ -1722,7 +1722,7 @@ tr.turn:hover {
} }
} }
.diary_entry-show img.user_thumbnail { .diary_entries-show img.user_thumbnail {
float: left; float: left;
} }

View file

@ -11,7 +11,7 @@ translations:
- "*.site.edit.*" - "*.site.edit.*"
- "*.site.index.remote_failed" - "*.site.index.remote_failed"
- "*.site.sidebar.search_results" - "*.site.sidebar.search_results"
- "*.diary_entry.edit.marker_text" - "*.diary_entries.edit.marker_text"
- "*.layouts.project_name.title" - "*.layouts.project_name.title"
- "*.geocoder.search_osm_nominatim.*" - "*.geocoder.search_osm_nominatim.*"
- file: "app/assets/javascripts/i18n/embed.js" - file: "app/assets/javascripts/i18n/embed.js"