<commit_before>@page "{id}"
@model SessionModel

<ol class="breadcrumb">
    <li><a asp-page="/Index">Agenda</a></li>
    <li><a asp-page="/Index" asp-route-day="@Model.DayOffset">Day @(Model.DayOffset + 1)</a></li>
    <li class="active">@Model.Session.Title</li>
</ol>

<h1>@Model.Session.Title</h1>
<span class="label label-default">@Model.Session.Track?.Name</span>

@foreach (var speaker in Model.Session.Speakers)
{
    <em><a asp-page="Speaker" asp-route-id="@speaker.ID">@speaker.Name</a></em>
}

<p>@Html.Raw(Model.Session.Abstract)</p>

<form method="post">
    <input type="hidden" name="sessionId" value="@Model.Session.ID" />
    <p>
        <a authz-policy="Admin" asp-page="/Admin/EditSession" asp-route-id="@Model.Session.ID" class="btn btn-default btn-sm">Edit</a>
        @if (Model.IsFavorite)
        {
            <button authz="true" type="submit" asp-page-handler="Remove" class="btn btn-primary">Remove from Favorites</button>
        }
        else
        {
            <button authz="true" type="submit" class="btn btn-primary">Add to Favorites</button>
        }
    </p>
</form><commit_msg>Change text from favorites to "My Agenda"<commit_after>@page "{id}"
@model SessionModel

<ol class="breadcrumb">
    <li><a asp-page="/Index">Agenda</a></li>
    <li><a asp-page="/Index" asp-route-day="@Model.DayOffset">Day @(Model.DayOffset + 1)</a></li>
    <li class="active">@Model.Session.Title</li>
</ol>

<h1>@Model.Session.Title</h1>
<span class="label label-default">@Model.Session.Track?.Name</span>

@foreach (var speaker in Model.Session.Speakers)
{
    <em><a asp-page="Speaker" asp-route-id="@speaker.ID">@speaker.Name</a></em>
}

<p>@Html.Raw(Model.Session.Abstract)</p>

<form method="post">
    <input type="hidden" name="sessionId" value="@Model.Session.ID" />
    <p>
        <a authz-policy="Admin" asp-page="/Admin/EditSession" asp-route-id="@Model.Session.ID" class="btn btn-default btn-sm">Edit</a>
        @if (Model.IsFavorite)
        {
            <button authz="true" type="submit" asp-page-handler="Remove" class="btn btn-primary">Remove from My Agenda</button>
        }
        else
        {
            <button authz="true" type="submit" class="btn btn-primary">Add to My Agenda</button>
        }
    </p>
</form>
{'fraction_non_alphanumeric': 0.205648720211827, 'fraction_numerical': 0.00264783759929391, 'mean_word_length': 3.5797979797979798, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6181088', 'n_tokens_mistral': 799, 'n_tokens_neox': 794, 'n_words': 133}