mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-22 03:37:25 +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;
|
height: 14px;
|
||||||
width: 75px;
|
width: 75px;
|
||||||
display: block;
|
display: block;
|
||||||
|
margin:4px 0 0 4px;
|
||||||
}
|
}
|
||||||
.score {
|
.score {
|
||||||
background: url(../Content/Images/stars.png) repeat-x 0 -14px;
|
background: url(../Content/Images/stars.png) repeat-x 0 -14px;
|
||||||
|
@@ -79,18 +79,18 @@
|
|||||||
|
|
||||||
<div class="properties">
|
<div class="properties">
|
||||||
<p>@(item.Description == null ? T("(No description").Text : item.Description)</p>
|
<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("Last Updated: {0}", item.LastUpdated)</li>
|
||||||
<li> | @T("Author: {0}", !string.IsNullOrEmpty(item.Authors) ? item.Authors : T("Unknown").ToString())</li>
|
<li> | @T("Author: {0}", !string.IsNullOrEmpty(item.Authors) ? item.Authors : T("Unknown").ToString())</li>
|
||||||
<li> | @T("Downloads: {0}", item.DownloadCount)</li>
|
<li> | @T("Downloads: {0}", item.DownloadCount)</li>
|
||||||
<li> | @T("Website: ")
|
<li> | @T("Website: ")
|
||||||
@if (!string.IsNullOrEmpty(item.ProjectUrl)) { <a href="@item.ProjectUrl">@item.ProjectUrl</a> } else { @T("Unknown").ToString() }
|
@if (!string.IsNullOrEmpty(item.ProjectUrl)) { <a href="@item.ProjectUrl">@item.ProjectUrl</a> } else { @T("Unknown").ToString() }
|
||||||
</li>
|
</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="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 class="score" style="width:@(15 * (item.Rating))px"> </div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -84,18 +84,18 @@
|
|||||||
|
|
||||||
<div class="properties">
|
<div class="properties">
|
||||||
<p>@(item.Description == null ? T("(No description").Text : item.Description)</p>
|
<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("Last Updated: {0}", item.LastUpdated)</li>
|
||||||
<li> | @T("Author: {0}", !string.IsNullOrEmpty(item.Authors) ? item.Authors : T("Unknown").ToString())</li>
|
<li> | @T("Author: {0}", !string.IsNullOrEmpty(item.Authors) ? item.Authors : T("Unknown").ToString())</li>
|
||||||
<li> | @T("Downloads: {0}", item.DownloadCount)</li>
|
<li> | @T("Downloads: {0}", item.DownloadCount)</li>
|
||||||
<li> | @T("Website: ")
|
<li> | @T("Website: ")
|
||||||
@if (!string.IsNullOrEmpty(item.ProjectUrl)) { <a href="@item.ProjectUrl">@item.ProjectUrl</a> } else { @T("Unknown").ToString() }
|
@if (!string.IsNullOrEmpty(item.ProjectUrl)) { <a href="@item.ProjectUrl">@item.ProjectUrl</a> } else { @T("Unknown").ToString() }
|
||||||
</li>
|
</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="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 class="score" style="width:@(15 * (item.Rating))px;"> </div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user