diff --git a/Views/Vehicle/_ServiceRecordModal.cshtml b/Views/Vehicle/_ServiceRecordModal.cshtml
index 69d5df4..9ce046d 100644
--- a/Views/Vehicle/_ServiceRecordModal.cshtml
+++ b/Views/Vehicle/_ServiceRecordModal.cshtml
@@ -1,9 +1,14 @@
-@model ServiceRecordInput
+@using CarCareTracker.Helper
+@inject IConfigHelper config
+@inject ITranslationHelper translator
+@model ServiceRecordInput
@{
var isNew = Model.Id == 0;
+ var userConfig = config.GetUserConfig(User);
+ var userLanguage = userConfig.UserLanguage;
}
@@ -12,22 +17,22 @@
-
+
@if (Model.Files.Any())
{
@await Html.PartialAsync("_UploadedFiles", Model.Files)
-
+
-
Max File Size: 28.6MB
+
@translator.Translate(userLanguage,"Max File Size: 28.6MB")
}
else
@@ -54,13 +59,13 @@
}
-
+
-
Max File Size: 28.6MB
+
@translator.Translate(userLanguage,"Max File Size: 28.6MB")
}
@@ -71,25 +76,25 @@
@if (!isNew)
{
-
+
}
-
+
@if (isNew)
{
-
+
}
else if (!isNew)
{
-
+
}