<commit_before>﻿@using System
@using ILK_Protokoll.Models
@using ILK_Protokoll.util
@model ILK_Protokoll.Models.TopicLock
@{
	bool isReporting = ViewBag.Reporting ?? false;

	var classes = new string[4];

	switch (Model.Action)
	{
		case TopicAction.None:
			classes[0] = " active";
			break;
		case TopicAction.Decide:
			classes[1] = " active";
			break;
		case TopicAction.Close:
			classes[2] = " active";
			break;
		case TopicAction.Delete:
			classes[3] = " active";
			break;
		default:
			throw new ArgumentOutOfRangeException();
	}
}


@Ajax.ActionLink("Wiedervorlage", "_ChangeState", "Discussion", new {id = Model.TopicID, state = TopicAction.None}, new AjaxOptions()
{
	HttpMethod = "POST",
	InsertionMode = InsertionMode.Replace,
	UpdateTargetId = "state_buttons_" + Model.TopicID
}, new {@class = "btn btn-hover-primary" + classes[0]})

@Ajax.ActionLink("Beschluss", "_ChangeState", "Discussion", new {id = Model.TopicID, state = TopicAction.Decide}, new AjaxOptions()
{
	HttpMethod = "POST",
	InsertionMode = InsertionMode.Replace,
	UpdateTargetId = "state_buttons_" + Model.TopicID
}, new {@class = "btn btn-hover-success" + classes[1]})

@Ajax.ActionLink("Kein Beschluss", "_ChangeState", "Discussion", new {id = Model.TopicID, state = TopicAction.Close}, new AjaxOptions()
{
	HttpMethod = "POST",<commit_msg>Bugfix: Datepicker im IE<commit_after>﻿@using System
@using ILK_Protokoll.Models
@using ILK_Protokoll.util
@model ILK_Protokoll.Models.TopicLock
@{
	bool isReporting = ViewBag.Reporting ?? false;

	var classes = new string[4];

	switch (Model.Action)
	{
		case TopicAction.None:
			classes[0] = " active";
			break;
		case TopicAction.Decide:
			classes[1] = " active";
			break;
		case TopicAction.Close:
			classes[2] = " active";
			break;
		case TopicAction.Delete:
			classes[3] = " active";
			break;
		default:
			throw new ArgumentOutOfRangeException();
	}
}


@Ajax.ActionLink("Wiedervorlage", "_ChangeState", "Discussion", new {id = Model.TopicID, state = TopicAction.None}, new AjaxOptions()
{
	HttpMethod = "POST",
	InsertionMode = InsertionMode.Replace,
	UpdateTargetId = "state_buttons_" + Model.TopicID,
	OnSuccess = "enableDatePicker();"
}, new {@class = "btn btn-hover-primary" + classes[0]})

@Ajax.ActionLink("Beschluss", "_ChangeState", "Discussion", new {id = Model.TopicID, state = TopicAction.Decide}, new AjaxOptions()
{
	HttpMethod = "POST",
	InsertionMode = InsertionMode.Replace,
	UpdateTargetId = "state_buttons_" + Model.TopicID
}, new {@class = "btn btn-hover-success" + classes[1]})

@Ajax.ActionLink("Kein Beschluss", "_ChangeState", "Discussion", new {id = Model.TopicID, state = TopicAction.Close}, new AjaxOptions()
{
	HttpMethod = "POST",
{'fraction_non_alphanumeric': 0.14661236579044798, 'fraction_numerical': 0.00518326545723806, 'mean_word_length': 5.058295964125561, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4738760', 'n_tokens_mistral': 990, 'n_tokens_neox': 928, 'n_words': 202}