79 lines
2.8 KiB
Plaintext
79 lines
2.8 KiB
Plaintext
@*
|
|
For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
|
|
*@
|
|
@using Microsoft.AspNetCore.Mvc.Localization
|
|
@using gehGassi.Web.Models
|
|
@using Microsoft.Extensions.Localization
|
|
@using gehGassi.Web.Helper
|
|
@using gehGassi.Core.Services
|
|
@model gehGassi.Web.Models.PublicWalkResponseWithNamesVm
|
|
@inject IViewLocalizer Localizer
|
|
@inject ICountryService CountryService
|
|
|
|
@{
|
|
IStringLocalizer annotationsLocalizer = ViewBag.AnnotationsLocalizer;
|
|
DogWalkerProfileVm profile = null;
|
|
if (ViewBag.Profile != null)
|
|
{
|
|
profile = ViewBag.Profile as DogWalkerProfileVm;
|
|
}
|
|
}
|
|
|
|
<section id="appUserReportShowOpenRequestResponseContainer">
|
|
<div class="form">
|
|
<div id="pageTitleAdd" style="display: none;">@ViewData["Title"]</div>
|
|
|
|
<div class="row mb-2">
|
|
<div class="col-sm-12">
|
|
<div class="text-center">
|
|
@if (!string.IsNullOrWhiteSpace(Model.DogWalkerPhoto))
|
|
{
|
|
<img src="/file/documents/@Model.DogWalkerPhoto" class="img-user-verybig" alt="" />
|
|
}
|
|
else
|
|
{
|
|
<img src="/images/icon_user.png" class="img-user-verybig" alt="" />
|
|
}
|
|
</div>
|
|
<h3 class="text-center">@Model.DogWalkerName</h3>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="mb-2 fw-bold">Angebot Text</div>
|
|
<div class="row mb-2">
|
|
<div class="col-sm-12">
|
|
<div class="input-group">
|
|
<span class="input-group-text"><i class="fa fa-fw fa-comment"></i></span>
|
|
<textarea class="form-control" rows="5" readonly="readonly">@Model.Info</textarea>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@if (profile != null)
|
|
{
|
|
<div class="mb-2 fw-bold">@annotationsLocalizer["DogWalkerProfile_About"]</div>
|
|
<div class="row mb-2">
|
|
<div class="col-sm-12">
|
|
<div class="input-group">
|
|
<span class="input-group-text"><i class="fa fa-fw fa-comment"></i></span>
|
|
<textarea class="form-control" rows="5" readonly="readonly">@profile.About</textarea>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
}
|
|
|
|
|
|
<div class="row button-row">
|
|
<div class="col-12">
|
|
<div class="">
|
|
<button type="button" id="btnClose" class="btn btn-primary">@Localizer["Button_Close"]</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<system-js url="~/scripts/Views/AppUserReport/showOpenRequestResponse.js" fresh-import="true"></system-js>
|
|
</section>
|
|
|