HTML5 data attributes for edit/delete

This commit is contained in:
Mark McDowall
2012-10-11 01:02:34 -07:00
parent 9a006fc702
commit 75090e77bc
3 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -70,7 +70,7 @@
@section ActionMenu
{
<ul class="sub-menu">
<li><a class="editButton" value="@Model.SeriesId" rel="@Model.Title" title="Edit series">Edit</a></li>
<li><a class="editButton" data-series-id="@Model.SeriesId" data-series-title="@Model.Title" title="Edit series">Edit</a></li>
<li>@Ajax.ActionLink("Force Refresh", "ForceRefresh", "Command", new { seriesId = Model.SeriesId }, null, new { Title = "Refresh episode and series information and scan for new episodes" })</li>
<li>@Ajax.ActionLink("Search for missing episodes", "BacklogSeries", "Episode", new { seriesId = Model.SeriesId }, null, new { Title = "Search for episodes missing from this series" })</li>
<li>@Ajax.ActionLink("Rename Episode Files", "RenameSeries", "Episode", new { seriesId = Model.SeriesId }, null, new { Title = "Rename all episode files to match your preferred naming" })</li>