mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 10:54:50 +08:00
Updating NuGet. Fixing small redirect issue on gallery themes.
--HG-- branch : 1.x extra : transplant_source : %7B%16%FFe%2B%98%84P%AAe%CB%7E%F7%94%1BH%F8%B9%193
This commit is contained in:
Binary file not shown.
@@ -197,5 +197,13 @@ namespace Orchard.Packaging.Services {
|
||||
}
|
||||
return path;
|
||||
}
|
||||
|
||||
public DateTimeOffset GetCreated(string path) {
|
||||
if (this.DirectoryExists(path)) {
|
||||
return Directory.GetCreationTimeUtc(this.GetFullPath(path));
|
||||
}
|
||||
|
||||
return File.GetCreationTimeUtc(this.GetFullPath(path));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -27,7 +27,7 @@
|
||||
</div>
|
||||
|
||||
<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>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user