Updating NuGet. Fixing small redirect issue on gallery themes.

This commit is contained in:
Andre Rodrigues 2010-12-16 12:10:19 -08:00
parent 164397cfb8
commit bab59c1400
3 changed files with 9 additions and 1 deletions

Binary file not shown.

View File

@ -197,5 +197,13 @@ namespace Orchard.Packaging.Services {
} }
return path; return path;
} }
public DateTimeOffset GetCreated(string path) {
if (this.DirectoryExists(path)) {
return Directory.GetCreationTimeUtc(this.GetFullPath(path));
}
return File.GetCreationTimeUtc(this.GetFullPath(path));
}
} }
} }

View File

@ -27,7 +27,7 @@
</div> </div>
<div class="related"> <div class="related">
@Html.ActionLink(T("Install").ToString(), "Install", new RouteValueDictionary {{"packageId", item.PackageId}, {"version", item.Version}, {"sourceId", item.Source.Id}, {"cameFrom", "Modules"}})@T(" | ") @Html.ActionLink(T("Install").ToString(), "Install", new RouteValueDictionary {{"packageId", item.PackageId}, {"version", item.Version}, {"sourceId", item.Source.Id}, {"cameFrom", "Themes"}})@T(" | ")
<a href="@item.PackageStreamUri">@T("Download")</a> <a href="@item.PackageStreamUri">@T("Download")</a>
</div> </div>