Skip to content

Commit

Permalink
Fix competition type not displayed for budget competitions #17
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-yagodin committed Jun 29, 2021
1 parent 645c40c commit 3764f58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R7.Enrollment/Renderers/RatingsHtmlRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ public void RenderCompetition (Competition competition, XmlWriter html)

html.WriteElementString ("h2", $"{competition.EduProgram.Subject} ({competition.EduProgram.Specialization})");

if (!competition.CompensationTypeBudget) {
if (competition.CompensationTypeBudget) {
html.WriteElementString ("h3",
$"{competition.EduProgram.Form} форма, {competition.CompensationType}");
$"{competition.EduProgram.Form} форма, {competition.CompensationType}, {competition.CompetitionType.ToLower ()}");
}
else {
html.WriteElementString ("h3",
Expand Down

0 comments on commit 3764f58

Please sign in to comment.