Some ie7 fixes and adding installed icon to theme gallery.

--HG--
branch : 1.x
This commit is contained in:
jowall
2011-04-06 13:46:49 -07:00
parent 31b6937ca7
commit a9b7aac641
4 changed files with 18 additions and 14 deletions

View File

@@ -52,9 +52,18 @@
}
}
<div class="summary">
@if (item.Notifications != null && item.Notifications.Count > 0) {
<div class="notifications">
@foreach (string notification in item.Notifications) {
<h5>@Html.Raw(notification)</h5>
}
</div>
}
</div>
<div class="@extensionClass">
<div class="extensionDetails column">
<div class="extensionName">
<div class="extensionName @if (item.Installed) {<text>installed</text>}">
@if (!string.IsNullOrWhiteSpace(item.GalleryDetailsUrl)) {
<a href="@item.GalleryDetailsUrl">
<h2>@item.Title<span> - @T("Version: {0}", item.Version)</span></h2>
@@ -70,13 +79,6 @@
</div>
<div class="properties">
@if (item.Notifications != null && item.Notifications.Count > 0) {
<div class="notifications">
@foreach (string notification in item.Notifications) {
<h5>@Html.Raw(notification)</h5>
}
</div>
}
<p>@(item.Description == null ? T("(No description").Text : item.Description)</p>
<ul class="pageStatus group">
<li>@T("Last Updated: {0}", item.LastUpdated)</li>

View File

@@ -21,7 +21,7 @@
<div id="installedBar" class="group">
<h3>@T("Available")</h3>
@if (Model.InstallThemes) {
@Html.ActionLink(T("Install a theme from my computer").ToString(), "AddTheme", "PackagingServices", new { area = "Orchard.Packaging", returnUrl = HttpContext.Current.Request.RawUrl }, null)
@Html.ActionLink(T("Install a theme from your computer").ToString(), "AddTheme", "PackagingServices", new { area = "Orchard.Packaging", returnUrl = HttpContext.Current.Request.RawUrl }, null)
}
</div>

View File

@@ -2,7 +2,7 @@
border:1px solid #D3D2D2;
}
.bulk-actions {display:block;}
/*.bulk-actions {display:block;}*/
button, .button, .button:link, .button:visited {
background:#6a7b42;
@@ -37,5 +37,7 @@ zoom:1;
padding-top: 0;
}
/*modules*/
.iconThumbnail .extensionThumbnail {right:0px;}
/*packaging module*/
.iconThumbnail .extensionThumbnail {right:0px;}
.orchard-packaging .screenshotThumbnail .extensionThumbnail.column {position:static;}

View File

@@ -359,8 +359,8 @@ ul.menuItems {margin:6px 0 0 0;}
display: inline;
font-size:15px;
line-height:32px;
}
.localmenu li {
z-index:10;
position:relative;
margin:0 2px;
padding: 8px 18px 7px 18px;
}