1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-27 01:57:21 +00:00

Moved indexer images to a subfolder.

This commit is contained in:
Mark McDowall 2011-04-27 23:04:57 -07:00
parent 0a844e8c58
commit 2e32d6efd4
9 changed files with 15 additions and 7 deletions

View file

Before

Width:  |  Height:  |  Size: 902 B

After

Width:  |  Height:  |  Size: 902 B

View file

Before

Width:  |  Height:  |  Size: 719 B

After

Width:  |  Height:  |  Size: 719 B

View file

Before

Width:  |  Height:  |  Size: 198 B

After

Width:  |  Height:  |  Size: 198 B

View file

Before

Width:  |  Height:  |  Size: 264 B

After

Width:  |  Height:  |  Size: 264 B

View file

Before

Width:  |  Height:  |  Size: 816 B

After

Width:  |  Height:  |  Size: 816 B

View file

@ -1,4 +1,5 @@
using System.Linq;
using System;
using System.Linq;
using System.Web.Mvc;
using NzbDrone.Core.Model;
using NzbDrone.Core.Providers;
@ -55,7 +56,7 @@ public ActionResult _AjaxBinding()
Quality = h.Quality.ToString(),
IsProper = h.IsProper,
Date = h.Date,
Indexer = h.Indexer.ToString()
Indexer = String.IsNullOrEmpty(h.Indexer.ToString()) ? "Unknown" : h.Indexer.ToString()
});
return View(new GridModel(history));

View file

@ -559,10 +559,17 @@
<Content Include="Content\ajax-loader.gif" />
<Content Include="Content\ie.css" />
<Content Include="Content\Images\arrow.png" />
<Content Include="Content\Images\favicon.ico" />
<Content Include="Content\Images\icon.jpg" />
<Content Include="Content\Images\img01.jpg" />
<Content Include="Content\Images\img02.jpg" />
<Content Include="Content\Images\img03.jpg" />
<Content Include="Content\Images\img07.jpg" />
<Content Include="Content\Images\Indexers\Newzbin.png" />
<Content Include="Content\Images\Indexers\NzbMatrix.png" />
<Content Include="Content\Images\Indexers\NzbsOrg.png" />
<Content Include="Content\Images\Indexers\NzbsRus.png" />
<Content Include="Content\Images\Indexers\Unknown.png" />
<Content Include="Content\Images\Plus.png" />
<Content Include="Content\Images\spin.gif" />
<Content Include="Content\Images\ui-bg_diagonals-small_0_aaaaaa_40x40.png" />

View file

@ -16,7 +16,7 @@ History
.Columns(columns =>
{
columns.Bound(c => c.Indexer)
.ClientTemplate("<center><img alt='<#= Indexer #>' src='" + Url.Content("~/Content/Images/") + "<#= Indexer #>.png' /></center>")
.ClientTemplate("<center><img alt='<#= Indexer #>' src='" + Url.Content("~/Content/Images/Indexers/") + "<#= Indexer #>.png' /></center>")
.Title("")
.Width(20);
columns.Bound(c => c.SeriesTitle).Title("Series Name");

View file

@ -67,7 +67,7 @@
{
item.Add()
.Text("NZBs.org")
.ImageUrl("~/Content/Images/NzbsOrg.png")
.ImageUrl("~/Content/Images/Indexers/NzbsOrg.png")
.Content(
"<div class=\"section_content\">" +
@ -100,7 +100,7 @@
);
item.Add()
.Text("NZB Matrix")
.ImageUrl("~/Content/Images/NzbMatrix.png")
.ImageUrl("~/Content/Images/Indexers/NzbMatrix.png")
.Content(
"<div class=\"section_content\">" +
@ -133,7 +133,7 @@
);
item.Add()
.Text("NZBsRus")
.ImageUrl("~/Content/Images/NzbsRus.png")
.ImageUrl("~/Content/Images/Indexers/NzbsRus.png")
.Content(
"<div class=\"section_content\">" +
@ -166,7 +166,7 @@
);
item.Add()
.Text("Newzbin")
.ImageUrl("~/Content/Images/Newzbin.png")
.ImageUrl("~/Content/Images/Indexers/Newzbin.png")
.Content(
"<div class=\"section_content\">" +