mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Update to database version 3.
This commit is contained in:
@@ -34,21 +34,21 @@
|
||||
@using System.IO
|
||||
@model Computer
|
||||
|
||||
@if(File.Exists(System.IO.Path.Combine(ViewBag.WebRootPath, "assets/logos/computers", Model.Company.Id + ".gif")))
|
||||
@if(File.Exists(System.IO.Path.Combine(ViewBag.WebRootPath, "assets/logos", Model.Company.Id + ".gif")))
|
||||
{
|
||||
<img src="@(System.IO.Path.Combine("/assets/logos/computers", Model.Company.Id + ".gif"))"
|
||||
<img src="@(System.IO.Path.Combine("/assets/logos", Model.Company.Id + ".gif"))"
|
||||
alt="">
|
||||
}
|
||||
|
||||
@if(File.Exists(System.IO.Path.Combine(ViewBag.WebRootPath, "assets/logos/computers", Model.Company.Id + ".jpg")))
|
||||
@if(File.Exists(System.IO.Path.Combine(ViewBag.WebRootPath, "assets/logos", Model.Company.Id + ".jpg")))
|
||||
{
|
||||
<img src="@(System.IO.Path.Combine("/assets/logos/computers", Model.Company.Id + ".jpg"))"
|
||||
<img src="@(System.IO.Path.Combine("/assets/logos", Model.Company.Id + ".jpg"))"
|
||||
alt="">
|
||||
}
|
||||
|
||||
@if(File.Exists(System.IO.Path.Combine(ViewBag.WebRootPath, "assets/logos/computers", Model.Company.Id + ".png")))
|
||||
@if(File.Exists(System.IO.Path.Combine(ViewBag.WebRootPath, "assets/logos", Model.Company.Id + ".png")))
|
||||
{
|
||||
<img src="@(System.IO.Path.Combine("/assets/logos/computers", Model.Company.Id + ".png"))"
|
||||
<img src="@(System.IO.Path.Combine("/assets/logos", Model.Company.Id + ".png"))"
|
||||
alt="">
|
||||
}
|
||||
|
||||
@@ -294,17 +294,17 @@
|
||||
Sound processor
|
||||
</div>
|
||||
</th>
|
||||
@if(Model.Spu.Id > 1)
|
||||
@if(Model.SoundSynth.Id > 1)
|
||||
{
|
||||
if(Model.Spu.Id > 2)
|
||||
if(Model.SoundSynth.Id > 2)
|
||||
{
|
||||
if(Model.SoundChannels > 0)
|
||||
{
|
||||
<td>@Model.Spu.Name (@Model.SoundChannels channels)</td>
|
||||
<td>@Model.SoundSynth.Name (@Model.SoundChannels channels)</td>
|
||||
}
|
||||
else
|
||||
{
|
||||
<td>@Model.Spu.Name</td>
|
||||
<td>@Model.SoundSynth.Name</td>
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -321,17 +321,17 @@
|
||||
Music synthetizer
|
||||
</div>
|
||||
</th>
|
||||
@if(Model.Mpu.Id > 1)
|
||||
@if(Model.MusicSynth.Id > 1)
|
||||
{
|
||||
if(Model.Mpu.Id > 2)
|
||||
if(Model.MusicSynth.Id > 2)
|
||||
{
|
||||
if(Model.MusicChannels > 0)
|
||||
{
|
||||
<td>@Model.Mpu.Name (@Model.MusicChannels channels)</td>
|
||||
<td>@Model.MusicSynth.Name (@Model.MusicChannels channels)</td>
|
||||
}
|
||||
else
|
||||
{
|
||||
<td>@Model.Mpu.Name</td>
|
||||
<td>@Model.MusicSynth.Name</td>
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user