From 99011694853a5c19d20fe8e3c74980d958760a03 Mon Sep 17 00:00:00 2001 From: Tim Wootton Date: Thu, 11 Sep 2014 22:56:36 +0100 Subject: Bring save html capitalisation in line Converted save html to use same capitalisation style as the rest of the application Changed references to equipments to equipment. Signed-off-by: Tim Wootton Signed-off-by: Dirk Hohndel --- theme/dive_export.html | 20 ++++++++++---------- theme/list_lib.js | 6 +++--- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'theme') diff --git a/theme/dive_export.html b/theme/dive_export.html index 4073d0639..0b5b6dc7f 100644 --- a/theme/dive_export.html +++ b/theme/dive_export.html @@ -154,7 +154,7 @@ function changeAdvSearch(e){
- Advanced Search + Advanced search
@@ -180,8 +180,8 @@ function changeAdvSearch(e){
Date
Time
Location
-
Air Temp
-
Water Temp
+
Air temp
+
Water temp
@@ -212,8 +212,8 @@ function changeAdvSearch(e){

Dive Information

-
-

Dive equipments

+
+

Dive equipment

Events

@@ -222,7 +222,7 @@ function changeAdvSearch(e){

Dive stats

-

Dive Photos

+

Dive photos

@@ -233,7 +233,7 @@ function changeAdvSearch(e){
- +
diff --git a/theme/list_lib.js b/theme/list_lib.js index 775d83e4b..6f32ed493 100644 --- a/theme/list_lib.js +++ b/theme/list_lib.js @@ -863,7 +863,7 @@ function get_cylinders_HTML(dive) return ""; var result = ""; - result += '

' + translate.Dive_equipments + '

'; + result += '

' + translate.Dive_equipment + '

' + translate.Type + '' + translate.Size + '' + translate.Work_Pressure + '' + translate.Start_Pressure + '' + translate.End_Pressure + ''+translate.Gas+'
'; for (var i in dive.Cylinders) { result += get_cylinder_HTML(dive.Cylinders[i]); } @@ -1216,8 +1216,8 @@ function showDiveDetails(dive) //draw the canvas and initialize the view document.getElementById("diveinfo").innerHTML = get_dive_HTML(items[dive_id]); - document.getElementById("dive_equipments").innerHTML = get_cylinders_HTML(items[dive_id]); - document.getElementById("dive_equipments").innerHTML += get_weights_HTML(items[dive_id]); + document.getElementById("dive_equipment").innerHTML = get_cylinders_HTML(items[dive_id]); + document.getElementById("dive_equipment").innerHTML += get_weights_HTML(items[dive_id]); document.getElementById("bookmarks").innerHTML = get_bookmarks_HTML(items[dive_id]); document.getElementById("divestats").innerHTML = get_status_HTML(items[dive_id]); document.getElementById("slider").innerHTML = get_dive_photos(items[dive_id]); -- cgit v1.2.3-70-g09d2
' + translate.Type + '' + translate.Size + '' + translate.Work_Pressure + '' + translate.Start_Pressure + '' + translate.End_Pressure + ''+translate.Gas+'