mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-26 20:16:15 +08:00
Adding recently installed indication.
--HG-- branch : dev
This commit is contained in:
@@ -47,15 +47,11 @@
|
||||
width: 171px;
|
||||
height: 128px;
|
||||
}
|
||||
|
||||
.ratings {
|
||||
background:url(../Content/Images/stars.png) repeat-x;
|
||||
position: relative;
|
||||
height: 14px;
|
||||
width: 75px;
|
||||
display: block;
|
||||
float: left;
|
||||
clear: both;
|
||||
}
|
||||
.score {
|
||||
background: url(../Content/Images/stars.png) repeat-x 0 -14px;
|
||||
|
||||
@@ -65,10 +65,6 @@
|
||||
}
|
||||
</div>
|
||||
|
||||
<div class="ratings" style="width:@(15*5)px" title="@T("Ratings: {0} ({1})", item.Rating, item.RatingsCount)">
|
||||
<div class="score" style="width:@(15*(item.Rating))px"> </div>
|
||||
</div>
|
||||
|
||||
<div class="related">
|
||||
@Html.ActionLink(T("Install").ToString(), "Install", new RouteValueDictionary { { "packageId", item.PackageId }, { "version", item.Version }, { "sourceId", item.Source.Id }, { "redirectTo", "Modules" } })@T(" | ")
|
||||
<a href="@item.PackageStreamUri">@T("Download")</a>
|
||||
@@ -83,6 +79,11 @@
|
||||
<li> | @T("Website: ")
|
||||
@if (!string.IsNullOrEmpty(item.ProjectUrl)) { <a href="@item.ProjectUrl">@item.ProjectUrl</a> } else { @T("Unknown").ToString() }
|
||||
</li>
|
||||
<li> | @T("Rating")
|
||||
<div class="ratings" style="width:@(15*5)px" title="@T("Ratings: {0} ({1})", item.Rating, item.RatingsCount)">
|
||||
<div class="score" style="width:@(15*(item.Rating))px"> </div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -71,10 +71,6 @@
|
||||
}
|
||||
</div>
|
||||
|
||||
<div class="ratings" style="width:@(15*5)px" title="@T("Ratings: {0} ({1})", item.Rating, item.RatingsCount)">
|
||||
<div class="score" style="width:@(15*(item.Rating))px"> </div>
|
||||
</div>
|
||||
|
||||
<div class="related">
|
||||
@Html.ActionLink(T("Install").ToString(), "Install", new RouteValueDictionary {{"packageId", item.PackageId}, {"version", item.Version}, {"sourceId", item.Source.Id}, {"redirectTo", "Themes"}})@T(" | ")
|
||||
<a href="@item.PackageStreamUri">@T("Download")</a>
|
||||
@@ -90,6 +86,11 @@
|
||||
@if(!string.IsNullOrEmpty(item.ProjectUrl)) { <a href="@item.ProjectUrl">@item.ProjectUrl</a> }
|
||||
else { @T("Unknown").ToString() }
|
||||
</li>
|
||||
<li> | @T("Rating")
|
||||
<div class="ratings" style="width:@(15*5)px" title="@T("Ratings: {0} ({1})", item.Rating, item.RatingsCount)">
|
||||
<div class="score" style="width:@(15*(item.Rating))px"> </div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user