mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Add controller for computers.
This commit is contained in:
@@ -85,7 +85,7 @@ namespace cicm_web.Models
|
||||
case NewsType.NewComputerInDb:
|
||||
text = "New computer added to the database.";
|
||||
imageUrl = "assets/photos/computers/";
|
||||
targetView = "computer";
|
||||
targetView = "Computer";
|
||||
computer = Computer.GetItem(dbItem.AffectedId);
|
||||
subtext = $"{computer.Company.Name} - {computer.Model}";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user