1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-12 11:15:43 +02: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\">" +