mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 03:14:10 +08:00
Updated rating alignment on modules and themes page in admin.
--HG-- branch : dev
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
height: 14px;
|
||||
width: 75px;
|
||||
display: block;
|
||||
margin:4px 0 0 4px;
|
||||
}
|
||||
.score {
|
||||
background: url(../Content/Images/stars.png) repeat-x 0 -14px;
|
||||
|
@@ -79,18 +79,18 @@
|
||||
|
||||
<div class="properties">
|
||||
<p>@(item.Description == null ? T("(No description").Text : item.Description)</p>
|
||||
<ul class="pageStatus">
|
||||
<ul class="pageStatus group">
|
||||
<li>@T("Last Updated: {0}", item.LastUpdated)</li>
|
||||
<li> | @T("Author: {0}", !string.IsNullOrEmpty(item.Authors) ? item.Authors : T("Unknown").ToString())</li>
|
||||
<li> | @T("Downloads: {0}", item.DownloadCount)</li>
|
||||
<li> | @T("Website: ")
|
||||
@if (!string.IsNullOrEmpty(item.ProjectUrl)) { <a href="@item.ProjectUrl">@item.ProjectUrl</a> } else { @T("Unknown").ToString() }
|
||||
</li>
|
||||
<li><div> | @T("Rating: ")
|
||||
<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>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@@ -84,18 +84,18 @@
|
||||
|
||||
<div class="properties">
|
||||
<p>@(item.Description == null ? T("(No description").Text : item.Description)</p>
|
||||
<ul class="pageStatus">
|
||||
<ul class="pageStatus group">
|
||||
<li>@T("Last Updated: {0}", item.LastUpdated)</li>
|
||||
<li> | @T("Author: {0}", !string.IsNullOrEmpty(item.Authors) ? item.Authors : T("Unknown").ToString())</li>
|
||||
<li> | @T("Downloads: {0}", item.DownloadCount)</li>
|
||||
<li> | @T("Website: ")
|
||||
@if (!string.IsNullOrEmpty(item.ProjectUrl)) { <a href="@item.ProjectUrl">@item.ProjectUrl</a> } else { @T("Unknown").ToString() }
|
||||
</li>
|
||||
<li><div> | @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>
|
||||
<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>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user