Skip to content

Commit

Permalink
Version 1.54 (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
NomisNostab authored May 16, 2024
2 parents 64d03f7 + f8dbecf commit a1b5417
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
3 changes: 1 addition & 2 deletions Services/ReportService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2226,7 +2226,7 @@ public IWorkbook GenerateProgressWorkbook(ProgressDetailsPageViewModel progressE
// Peak Award
rowNumber++;
rowNumber++;
sheet.Range[rowNumber, 1].Text = "Peak Award";
sheet.Range[rowNumber, 1].Text = $"Peak Award: {(string.IsNullOrEmpty(progressEntries.PeakAward.Awarded) ? "" : "Awarded " + progressEntries.PeakAward.Awarded)}";
sheet.Range[rowNumber, 1].CellStyle.Font.Bold = true;

rowNumber++;
Expand All @@ -2244,7 +2244,6 @@ public IWorkbook GenerateProgressWorkbook(ProgressDetailsPageViewModel progressE
sheet.Range[rowNumber, 2].Text = progressEntries.PeakAward.PersonalReflection;



sheet.Range[1, 1, rowNumber, 10].AutofitColumns();

sheet.PageSetup.PaperSize = ExcelPaperSize.PaperA4;
Expand Down
12 changes: 9 additions & 3 deletions Topo/Pages/Program.razor
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,17 @@
<div class="col-sm-1">
<strong>Lead</strong>
</div>
<div class="col-sm-2">
<div class="col-sm-1">
<strong>Assist</strong>
</div>
<div class="col-sm-1">
<strong>Challenge</strong>
</div>
<div class="col-sm-1">
<strong>Event</strong>
<strong>Scope</strong>
</div>
<div class="col-sm-1">
<strong>State</strong>
</div>
<div class="col-sm-2">
</div>
Expand All @@ -101,7 +104,7 @@
<div class="col-sm-1">
@item.Lead
</div>
<div class="col-sm-2">
<div class="col-sm-1">
@item.Assist
</div>
<div class="col-sm-1">
Expand All @@ -110,6 +113,9 @@
<div class="col-sm-1">
@(item.IsUnitEvent ? "Unit" : "Group")
</div>
<div class="col-sm-1">
@item.EventStatus
</div>
<div class="col-sm-2">
<button @onclick="@(e => SignInSheetClick(item.Id))" class="btn btn-link pt-0 pb-0">Sign in</button>
<button @onclick="@(e => EventAttendanceClick(item.Id))" class="btn btn-link pt-0 pb-0">Attendance</button>
Expand Down
2 changes: 1 addition & 1 deletion Topo/Services/StorageService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,6 @@ public bool IsYouthMember
}
}

public string Version = "1.53";
public string Version = "1.54";
}
}
Loading

0 comments on commit a1b5417

Please sign in to comment.