From 7b94e137ad8c4c1d948c090bfe60709775e21f30 Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Wed, 29 May 2024 14:16:10 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B1=D0=BE=D0=BB=D0=B5=D0=B7=D0=BD=D0=B5=D0=B9?= =?UTF-8?q?=20=D0=B2=20=D1=81=D0=BF=D0=B8=D1=81=D0=BA=D0=B0=D1=85=20=D0=B4?= =?UTF-8?q?=D0=BB=D1=8F=20=D0=BA=D1=83=D1=80=D1=81=D0=BE=D0=B2=20=D0=B8=20?= =?UTF-8?q?=D1=81=D0=B8=D0=BC=D0=BF=D1=82=D0=BE=D0=BC=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Courses/CourseForm.cshtml | 12 ++++++++++++ .../Views/Symptomes/SymptomForm.cshtml | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/Polyclinic/PolyclinicWebAppImplementer/Views/Courses/CourseForm.cshtml b/Polyclinic/PolyclinicWebAppImplementer/Views/Courses/CourseForm.cshtml index 413be66..fabf0b0 100644 --- a/Polyclinic/PolyclinicWebAppImplementer/Views/Courses/CourseForm.cshtml +++ b/Polyclinic/PolyclinicWebAppImplementer/Views/Courses/CourseForm.cshtml @@ -17,6 +17,18 @@
    @foreach (var item in Model.Diagnoses) { + @if (LoginManager.LogginedUser.Id != item.Diagnose.UserId) + { + @if (item.IsChecked) + { + + } + else + { + + } + continue; + }
  1. @if (item.IsChecked) { diff --git a/Polyclinic/PolyclinicWebAppImplementer/Views/Symptomes/SymptomForm.cshtml b/Polyclinic/PolyclinicWebAppImplementer/Views/Symptomes/SymptomForm.cshtml index aa4b38e..7a2d556 100644 --- a/Polyclinic/PolyclinicWebAppImplementer/Views/Symptomes/SymptomForm.cshtml +++ b/Polyclinic/PolyclinicWebAppImplementer/Views/Symptomes/SymptomForm.cshtml @@ -14,6 +14,18 @@
      @foreach (var item in Model.Diagnoses) { + @if (LoginManager.LogginedUser.Id != item.Diagnose.UserId) + { + @if (item.IsChecked) + { + + } + else + { + + } + continue; + }
    1. @if (item.IsChecked) {