Files
marechai/Marechai/Areas/Admin/Views/CompanyDescriptions/Details.cshtml

69 lines
2.3 KiB
Plaintext
Raw Normal View History

2020-05-24 02:12:37 +01:00
@{
/******************************************************************************
2020-02-10 01:52:56 +00:00
// MARECHAI: Master repository of computing history artifacts information
// ----------------------------------------------------------------------------
//
// Filename : Details.cshtml
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// --[ Description ] ----------------------------------------------------------
//
2019-05-18 17:12:54 +01:00
// Admin view create
//
// --[ License ] --------------------------------------------------------------
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// ----------------------------------------------------------------------------
2020-02-10 03:05:39 +00:00
// Copyright © 2003-2020 Natalia Portillo
*******************************************************************************/
}
2020-02-10 02:10:18 +00:00
@model Marechai.Database.Models.CompanyDescription
@{
ViewData["Title"] = "Details";
}
2019-05-18 17:12:54 +01:00
<h1>Details</h1>
<div>
2019-05-18 13:19:31 +01:00
<h4>Company description</h4>
<hr />
2019-05-18 17:12:54 +01:00
<dl class="row">
<dt class="col-sm-2">
2019-05-18 17:52:40 +01:00
@Html.DisplayNameFor(model => model.Company)
</dt>
2019-05-18 17:12:54 +01:00
<dd class="col-sm-10">
2019-05-18 17:52:40 +01:00
@Html.DisplayFor(model => model.Company.Name)
</dd>
<dt class="col-sm-2">
@Html.DisplayNameFor(model => model.Html)
</dt>
<dd class="col-sm-10">
@Html.Raw(Model.Html)
</dd>
2019-05-18 17:12:54 +01:00
<dt class="col-sm-2">
2019-05-18 17:52:40 +01:00
@Html.DisplayNameFor(model => model.Text)
</dt>
2019-05-18 17:12:54 +01:00
<dd class="col-sm-10">
2019-05-18 17:52:40 +01:00
@Html.DisplayFor(model => model.Text)
</dd>
</dl>
</div>
<div>
2020-02-10 22:44:18 +00:00
<a asp-action="Edit" asp-route-id="@Model.Id" class="btn btn-primary">
2019-05-18 17:12:54 +01:00
Edit
</a>
2020-02-10 22:44:18 +00:00
<a asp-action="Index" class="btn btn-secondary">
2019-05-18 17:12:54 +01:00
Back to List
</a>
</div>