From 76b239de47e5a60b416ab8d877b02579df55de5c Mon Sep 17 00:00:00 2001 From: nagoon97 Date: Sat, 3 Nov 2012 09:40:19 +0000 Subject: [PATCH] Show update btn for a layout/menu/skin that's been already installed but a newer version is available. git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12072 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/menu/tpl/css/sitemap.css | 6 ++++++ modules/menu/tpl/sitemap.html | 21 +++++++++++++++++---- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/modules/menu/tpl/css/sitemap.css b/modules/menu/tpl/css/sitemap.css index 90fe4ba29..3e856637e 100644 --- a/modules/menu/tpl/css/sitemap.css +++ b/modules/menu/tpl/css/sitemap.css @@ -92,9 +92,15 @@ body>.x{max-width:none !important} .download a.x_icon-download-alt:hover, .download a.x_icon-download-alt:focus{background-color:#333} .download p>i{font-style:normal;color:#ccc} + .download .item.installed ._install{display:none} .download .item ._already_installed{display:none} .download .item.installed ._already_installed{display:block} + +.download .item.installed.up_to_date ._need_to_update{display:none} +.download .item.installed ._already_up_to_date{display:none} +.download .item.installed.up_to_date ._already_up_to_date{display:block} + /* Theme(layout|skin) */ .theme img{width:110px;border:1px solid #ddd} .theme label{margin:0;padding:8px 0;position:relative;border-bottom:1px solid #ddd} diff --git a/modules/menu/tpl/sitemap.html b/modules/menu/tpl/sitemap.html index 3be96a1f0..60e3042e3 100644 --- a/modules/menu/tpl/sitemap.html +++ b/modules/menu/tpl/sitemap.html @@ -161,7 +161,7 @@