<commit_before>﻿@using EmpleoDotNet.Helpers
@using EmpleoDotNet.ViewModel
@model EmpleoDotNet.Models.JobOpportunity
@{
    ViewBag.Title = Model.Title;
    ViewBag.Description = Model.Description;
    ViewBag.ImageUrl = Model.CompanyLogoUrl;
}
<section id="title">
    <div class="container">
        <div class="row">
            <div class="col-sm-12 text-center">
                <h1>@Model.Title</h1>
                <h4>
                    <span><i class="fa fa-map-marker"></i>@Model.Location.Name</span>
                    <span><i class="fa fa-cog"></i>@Model.Category.ToEnumDescription()</span>
                </h4>
            </div>
        </div>
    </div>
</section>

<section id="jobs">
    <div class="container">
        <div class="row">
            <div class="col-sm-8">
                <article>
                    <h2>Detalles del Puesto</h2>
                    <article>
                        @Html.Raw(Model.Description)
                    </article>
                    @if (Model.IsRemote)
                    {
                        <p class="badge full-time">
                            Remoto
                        </p>
                    }
                    <h3>Como aplicar</h3>
                    <p>Enviar CV <a href="mailto:@Model.CompanyEmail">@Model.CompanyEmail</a> </p>
                </article>
            </div>
            <div class="col-sm-4" id="sidebar">
                <div class="sidebar-widget" id="share">
                    <h2>Compartir</h2>
                    <ul>
                        <li><a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=@Request.Url"><i class="fa fa-facebook"></i></a></li>
                        <li><a target="_blank" href="https://twitter.com/home?status=@Request.Url"><i class="fa fa-twitter"></i></a></li>
                        <li><a target="_blank" href="https://plus.google.com/share?url=@Request.Url"><i class="fa fa-google-plus"></i></a></li>
                        <li><a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&amp;url=@Request.Url&amp;summary=&amp;source="><i class="fa fa-linkedin"></i></a></li>
                    </ul>
                </div>
                <hr>
                <div class="sidebar-widget" id="company">
                    <h2>Sobre la compañia</h2>
                    <a href="@Model.CompanyUrl"><img src="@Model.CompanyLogoUrl" alt="" class="img-responsive">
                    </a>
                    <h5>@Model.CompanyName</h5>
                    <p><a href="@Model.CompanyUrl" class="btn btn-primary">Mas sobre esta compañia</a></p>
                </div>
                <hr>
                
                    <div class="sidebar-widget" id="company-jobs">
                        <h2>Mas empleos de esta compañia</h2>
                        <ul>
                            @foreach (var jobOpportunity in (List<RelatedJobDto>)ViewBag.RelatedJobs)
                            {
                                <li><a href="@jobOpportunity.Url">@jobOpportunity.Title</a></li>
                            }
                        </ul>
                    </div>
                
                
            </div><commit_msg>- Logica agregada para solo presentar el div con la informacion de los demas ofertas de una empresa si no posee otras ofertas<commit_after>﻿@using EmpleoDotNet.Helpers
@using EmpleoDotNet.ViewModel
@model EmpleoDotNet.Models.JobOpportunity
@{
    ViewBag.Title = Model.Title;
    ViewBag.Description = Model.Description;
    ViewBag.ImageUrl = Model.CompanyLogoUrl;
}
<section id="title">
    <div class="container">
        <div class="row">
            <div class="col-sm-12 text-center">
                <h1>@Model.Title</h1>
                <h4>
                    <span><i class="fa fa-map-marker"></i>@Model.Location.Name</span>
                    <span><i class="fa fa-cog"></i>@Model.Category.ToEnumDescription()</span>
                </h4>
            </div>
        </div>
    </div>
</section>

<section id="jobs">
    <div class="container">
        <div class="row">
            <div class="col-sm-8">
                <article>
                    <h2>Detalles del Puesto</h2>
                    <article>
                        @Html.Raw(Model.Description)
                    </article>
                    @if (Model.IsRemote)
                    {
                        <p class="badge full-time">
                            Remoto
                        </p>
                    }
                    <h3>Como aplicar</h3>
                    <p>Enviar CV <a href="mailto:@Model.CompanyEmail">@Model.CompanyEmail</a> </p>
                </article>
            </div>
            <div class="col-sm-4" id="sidebar">
                <div class="sidebar-widget" id="share">
                    <h2>Compartir</h2>
                    <ul>
                        <li><a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=@Request.Url"><i class="fa fa-facebook"></i></a></li>
                        <li><a target="_blank" href="https://twitter.com/home?status=@Request.Url"><i class="fa fa-twitter"></i></a></li>
                        <li><a target="_blank" href="https://plus.google.com/share?url=@Request.Url"><i class="fa fa-google-plus"></i></a></li>
                        <li><a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&amp;url=@Request.Url&amp;summary=&amp;source="><i class="fa fa-linkedin"></i></a></li>
                    </ul>
                </div>
                <hr>
                <div class="sidebar-widget" id="company">
                    <h2>Sobre la compañia</h2>
                    <a href="@Model.CompanyUrl"><img src="@Model.CompanyLogoUrl" alt="" class="img-responsive">
                    </a>
                    <h5>@Model.CompanyName</h5>
                    <p><a href="@Model.CompanyUrl" class="btn btn-primary">Mas sobre esta compañia</a></p>
                </div>
                <hr>
                @if (((List<RelatedJobDto>)ViewBag.RelatedJobs).Any())
                {
                    <div class="sidebar-widget" id="company-jobs">
                        <h2>Mas empleos de esta compañia</h2>
                        <ul>
                            @foreach (var jobOpportunity in (List<RelatedJobDto>)ViewBag.RelatedJobs)
                            {
                                <li><a href="@jobOpportunity.Url">@jobOpportunity.Title</a></li>
                            }
                        </ul>
                    </div>
                }
            </div>
{'fraction_non_alphanumeric': 0.15342796738145575, 'fraction_numerical': 0.006040471156750227, 'mean_word_length': 1.349414686058886, 'pattern_counts': {'":': 0, '<': 198, '<?xml version=': 0, '>': 198, 'https://': 8, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6532619', 'n_tokens_mistral': 1965, 'n_tokens_neox': 1842, 'n_words': 297}