aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Web/Tango.MachineService
diff options
context:
space:
mode:
authorRoy <Roy.mail.net@gmail.com>2022-10-26 21:08:25 +0300
committerRoy <Roy.mail.net@gmail.com>2022-10-26 21:08:25 +0300
commit7c0a14c523e09827a6ef26980af6c6e282ecb110 (patch)
tree08628ca60c7feb6ecdc9c970597d7585c509532e /Software/Visual_Studio/Web/Tango.MachineService
parenteb2d1376f1b8bdc501f85f2d2ee1ffa291838022 (diff)
downloadTango-7c0a14c523e09827a6ef26980af6c6e282ecb110.tar.gz
Tango-7c0a14c523e09827a6ef26980af6c6e282ecb110.zip
FSE / Twine Studio downloads
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService')
-rw-r--r--Software/Visual_Studio/Web/Tango.MachineService/Controllers/FSEDownloadsController.cs2
-rw-r--r--Software/Visual_Studio/Web/Tango.MachineService/Views/FSEDownloads/IndexViewModel.cs1
-rw-r--r--Software/Visual_Studio/Web/Tango.MachineService/Views/Shared/_FSELayout.cshtml2
3 files changed, 4 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/FSEDownloadsController.cs b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/FSEDownloadsController.cs
index 6c28d93ef..a37194390 100644
--- a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/FSEDownloadsController.cs
+++ b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/FSEDownloadsController.cs
@@ -37,6 +37,8 @@ namespace Tango.MachineService.Controllers
String appName = ((FSEBuildVariants)build) == FSEBuildVariants.FSE ? "Tango FSE" : "Twine Studio";
+ ViewBag.BuildName = appName;
+
foreach (var item in versions)
{
var installerBlob = container.GetBlockBlobReference(item.InstallerBlobName);
diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Views/FSEDownloads/IndexViewModel.cs b/Software/Visual_Studio/Web/Tango.MachineService/Views/FSEDownloads/IndexViewModel.cs
index 398b5fcc1..34438e1c5 100644
--- a/Software/Visual_Studio/Web/Tango.MachineService/Views/FSEDownloads/IndexViewModel.cs
+++ b/Software/Visual_Studio/Web/Tango.MachineService/Views/FSEDownloads/IndexViewModel.cs
@@ -7,6 +7,7 @@ namespace Tango.MachineService.Views.FSEDownloads
{
public class IndexViewModel
{
+ public String BuildName { get; set; }
public List<FSEDownload> Downloads { get; set; }
public FSEDownload LatestDownload { get; set; }
diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Views/Shared/_FSELayout.cshtml b/Software/Visual_Studio/Web/Tango.MachineService/Views/Shared/_FSELayout.cshtml
index 15ca9f651..e9257c66c 100644
--- a/Software/Visual_Studio/Web/Tango.MachineService/Views/Shared/_FSELayout.cshtml
+++ b/Software/Visual_Studio/Web/Tango.MachineService/Views/Shared/_FSELayout.cshtml
@@ -24,7 +24,7 @@
<div class="fse_header_back fse_primary_background_light">
<img src="~/Images/fse/machine_full.png" class="fse_machine_logo" />
- <span class="fse_title">Tango FSE</span>
+ <span class="fse_title">@ViewBag.BuildName</span>
<img src="~/Images/fse/twine_logo_colored.png" class="fse_twine_logo" />
</div>