1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-17 16:32:30 +01:00
Radarr/NzbDrone.Web/Views/Series/EditorItem.cshtml
Mark McDowall 24dae1927f Fix: Series Editor enhancements to make it more straight forward.
Fix: History and Missing Grids now link to Seriesi/Details.
2012-02-26 20:48:06 -08:00

26 lines
1.3 KiB
Plaintext

@model NzbDrone.Core.Repository.Series
@using NzbDrone.Core.Model
@using NzbDrone.Core.Repository.Quality
@using NzbDrone.Web.Helpers
@{
Layout = null;
}
@*SeriesId, Title, Quality, Monitored, Use Season Folder, Root Directory/Path*, Backlog Toggle*@
<tr class="seriesEditRow">
@using (Html.BeginCollectionItem("series"))
{
var idClean = ViewData.TemplateInfo.HtmlFieldPrefix.Replace('[', '_').Replace(']', '_');
@Html.HiddenFor(m => m.SeriesId)
<td>@Html.CheckBox("editToggle", false, new {@class = "editToggle"})</td>
<td>@Model.Title</td>
<td>@Html.DropDownListFor(m => m.QualityProfileId, new SelectList((List<QualityProfile>)ViewData["QualityProfiles"], "QualityProfileId", "Name", Model.QualityProfileId), new { @class = "quality" })</td>
<td class="checkboxColumn">@Html.CheckBoxFor(m => m.Monitored, new {@class = "seriesCheckbox monitored"})</td>
<td class="checkboxColumn">@Html.CheckBoxFor(m => m.SeasonFolder, new {@class = "seriesCheckbox seasonFolder"})</td>
<td>@Html.DropDownListFor(m => m.BacklogSetting, new SelectList((List<KeyValuePair<int, string>>)ViewData["BacklogSettingTypes"], "Key", "Value", (int)Model.BacklogSetting), new { @class = "backlogSetting" })</td>
<td>@Html.TextBoxFor(m => m.Path, new { @class = "path" })</td>
}
</tr>