[gatein-commits] gatein SVN: r1968 - in portal/trunk/portlet/exoadmin/src/main: webapp/WEB-INF/classes/locale/portlet/exoadmin and 3 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Mar 4 04:45:48 EST 2010


Author: tan_pham_dinh
Date: 2010-03-04 04:45:47 -0500 (Thu, 04 Mar 2010)
New Revision: 1968

Removed:
   portal/trunk/portlet/exoadmin/src/main/webapp/skin/applicationregistry/webui/component/UIApplicationRegistryPortlet/DefaultSkin/background/DownLoadIcon.gif
Modified:
   portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java
   portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ar.xml
   portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_de.properties
   portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_en.properties
   portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_es.properties
   portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_it.properties
   portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ja.properties
   portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ko.xml
   portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ne.properties
   portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_nl.properties
   portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ru.properties
   portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_uk.properties
   portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_vi.xml
   portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_zh.xml
   portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_zh_TW.xml
   portal/trunk/portlet/exoadmin/src/main/webapp/groovy/applicationregistry/webui/component/UIGadgetInfo.gtmpl
   portal/trunk/portlet/exoadmin/src/main/webapp/skin/applicationregistry/webui/component/UIApplicationRegistryPortlet/DefaultStylesheet.css
Log:
- GTNPORTAL-439: In ApplicationRegistry, remove 'Copy to local gadget' button

Modified: portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java	2010-03-04 09:45:47 UTC (rev 1968)
@@ -19,7 +19,6 @@
 
 package org.exoplatform.applicationregistry.webui.component;
 
-import org.apache.commons.io.IOUtils;
 import org.exoplatform.application.gadget.Gadget;
 import org.exoplatform.application.gadget.GadgetRegistryService;
 import org.exoplatform.application.gadget.Source;
@@ -27,13 +26,11 @@
 import org.exoplatform.application.registry.Application;
 import org.exoplatform.application.registry.ApplicationCategory;
 import org.exoplatform.application.registry.ApplicationRegistryService;
+import org.exoplatform.commons.serialization.api.annotations.Serialized;
 import org.exoplatform.portal.config.model.ApplicationType;
 import org.exoplatform.portal.webui.application.GadgetUtil;
-import org.exoplatform.web.WebAppController;
 import org.exoplatform.web.application.ApplicationMessage;
-import org.exoplatform.web.application.gadget.GadgetApplication;
 import org.exoplatform.webui.application.WebuiRequestContext;
-import org.exoplatform.commons.serialization.api.annotations.Serialized;
 import org.exoplatform.webui.config.annotation.ComponentConfig;
 import org.exoplatform.webui.config.annotation.EventConfig;
 import org.exoplatform.webui.core.UIApplication;
@@ -41,11 +38,7 @@
 import org.exoplatform.webui.event.Event;
 import org.exoplatform.webui.event.EventListener;
 
-import java.io.InputStream;
-import java.net.URL;
-import java.net.URLConnection;
 import java.util.ArrayList;
-import java.util.Calendar;
 import java.util.List;
 
 /**
@@ -56,7 +49,6 @@
  */
 @ComponentConfig(template = "app:/groovy/applicationregistry/webui/component/UIGadgetInfo.gtmpl", events = {
    @EventConfig(listeners = UIGadgetInfo.RefreshActionListener.class),
-   @EventConfig(listeners = UIGadgetInfo.CopyActionListener.class),
    @EventConfig(listeners = UIGadgetInfo.EditActionListener.class),
    @EventConfig(listeners = UIGadgetInfo.ShowCategoriesActionListener.class)})
 @Serialized
@@ -140,48 +132,6 @@
 
    }
 
-   static public class CopyActionListener extends EventListener<UIGadgetInfo>
-   {
-
-      public void execute(Event<UIGadgetInfo> event) throws Exception
-      {
-         UIGadgetInfo uiInfo = event.getSource();
-         UIGadgetManagement uiManagement = uiInfo.getParent();
-         String url = uiInfo.getGadget().getUrl();
-         String name = uiInfo.getGadget().getName();
-         GadgetRegistryService service = uiInfo.getApplicationComponent(GadgetRegistryService.class);
-         if (service.getGadget(name) == null)
-         {
-            UIApplication uiApp = event.getRequestContext().getUIApplication();
-            uiApp.addMessage(new ApplicationMessage("UIGadgetInfo.msg.gadgetNotExist", null));
-            uiManagement.reload();
-            return;
-         }
-         URL urlObj = new URL(url);
-         URLConnection conn = urlObj.openConnection();
-         InputStream is = conn.getInputStream();
-         SourceStorage sourceStorage = uiInfo.getApplicationComponent(SourceStorage.class);
-         String fileName = name + ".xml";
-         Source source = new Source(fileName, "application/xml");
-         source.setTextContent(IOUtils.toString(is, "UTF-8"));
-         source.setLastModified(Calendar.getInstance());
-
-         // This will update the source and also update the gadget related cached meta data
-         // from the source
-         sourceStorage.saveSource(uiInfo.getGadget(), source);
-
-         //
-         // service.saveGadget(GadgetUtil.toGadget(name, sourceStorage.getSourceURI(name + "/" + fileName), true));
-         
-         WebAppController webController = uiManagement.getApplicationComponent(WebAppController.class);
-         webController.removeApplication(GadgetApplication.EXO_GADGET_GROUP + "/" + name);
-         uiManagement.initData();
-         uiManagement.setSelectedGadget(name);
-         event.getRequestContext().addUIComponentToUpdateByAjax(uiManagement);
-      }
-
-   }
-
    static public class EditActionListener extends EventListener<UIGadgetInfo>
    {
 

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ar.xml
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ar.xml	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ar.xml	2010-03-04 09:45:47 UTC (rev 1968)
@@ -237,7 +237,6 @@
     <title>
       <refresh>تحديث المعلومات</refresh>
       <editGadget>تحرير الأداة</editGadget>
-      <copy>نسخ هذه الأداة في الموقع المحلي</copy>
     </title>
     <msg>
       <gadgetNotExist>.لا يمكن تغيير الأداة لأنها لم تعد في قاعدة البيانات</gadgetNotExist>

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_de.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_de.properties	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_de.properties	2010-03-04 09:45:47 UTC (rev 1968)
@@ -124,7 +124,6 @@
 UIGadgetInfo.label.categories.clickHere=Klicken Sie hier, um das Gadget zu einer Kategorie hinuzuzuf&uuml;gen.
 UIGadgetInfo.title.refresh=Gadget neu laden
 UIGadgetInfo.title.editGadget=Gadget bearbeiten
-UIGadgetInfo.title.copy=Dieses Gadget in das lokale Repository kopieren
 UIGadgetInfo.msg.gadgetNotExist=Die Aktion kann nicht ausgef&uuml;hrt werden, weil das Gadget nicht mehr in der Datenbank ist.
 
 UICategorySelector.header.choose=Ausw&auml;hlen

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_en.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_en.properties	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_en.properties	2010-03-04 09:45:47 UTC (rev 1968)
@@ -125,7 +125,6 @@
 UIGadgetInfo.label.categories.clickHere=Click here to add into categories
 UIGadgetInfo.title.refresh=Refresh information
 UIGadgetInfo.title.editGadget=Edit Gadget
-UIGadgetInfo.title.copy=Copy this gadget to local repository
 UIGadgetInfo.msg.gadgetNotExist=Can not execute action on the gadget that no longer in database. 
 
 UICategorySelector.header.choose=Choose

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_es.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_es.properties	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_es.properties	2010-03-04 09:45:47 UTC (rev 1968)
@@ -122,7 +122,6 @@
 UIGadgetInfo.label.reference=Referencia: 
 UIGadgetInfo.title.refresh=Refrescar informaci\u00f3n
 UIGadgetInfo.title.editGadget=Editar Gadget
-UIGadgetInfo.title.copy=Copiar este gadget al repositorio local
 UIGadgetInfo.msg.gadgetNotExist=No se puede ejecutar la acci\u00f3n en un Gadget que ya no est\u00e1 en la Base de Datos. 
 ##	org.exoplatform.applicationregistry.webui.component.UIAddGadget
 UIAddGadget.action.Add=A\u00f1adir

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_it.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_it.properties	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_it.properties	2010-03-04 09:45:47 UTC (rev 1968)
@@ -125,7 +125,6 @@
 UIGadgetInfo.label.categories.clickHere=Clicca qui per inserirlo nelle categorie
 UIGadgetInfo.title.refresh=Aggiorna l'informazione
 UIGadgetInfo.title.editGadget=Modifica il Gadget
-UIGadgetInfo.title.copy=Copia il Gadget nel repository locale
 UIGadgetInfo.msg.gadgetNotExist=Non posso eseguire l'operazione sul Gadget non pi\u00F9 presente nel database. 
 
 UICategorySelector.header.choose=Scegli

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ja.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ja.properties	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ja.properties	2010-03-04 09:45:47 UTC (rev 1968)
@@ -125,7 +125,6 @@
 UIGadgetInfo.label.categories.clickHere=\u30ab\u30c6\u30b4\u30ea\u30fc\u306b\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306b\u3053\u3053\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002
 UIGadgetInfo.title.refresh=\u60c5\u5831\u306e\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5
 UIGadgetInfo.title.editGadget=\u30ac\u30b8\u30a7\u30c3\u30c8\u306e\u7de8\u96c6
-UIGadgetInfo.title.copy=\u3053\u306e\u30ac\u30b8\u30a7\u30c3\u30c8\u3092\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u3078\u30b3\u30d4\u30fc
 UIGadgetInfo.msg.gadgetNotExist=\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30ac\u30b8\u30a7\u30c3\u30c8\u304c\u5b58\u5728\u3057\u306a\u3044\u305f\u3081\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3067\u304d\u307e\u305b\u3093\u3002
 
 UICategorySelector.header.choose=\u9078\u629e

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ko.xml
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ko.xml	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ko.xml	2010-03-04 09:45:47 UTC (rev 1968)
@@ -242,7 +242,6 @@
     <title>
       <refresh>정보 초기화</refresh>
       <editGadget>가젯 수정</editGadget>
-      <copy>이 가젯을 로컬 저장소로 복사합니다.</copy>
     </title>
     <msg>
       <gadgetNotExist>데이터베이스에 없는 가젯상의 액션을 수행할 수 없습니다.</gadgetNotExist>

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ne.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ne.properties	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ne.properties	2010-03-04 09:45:47 UTC (rev 1968)
@@ -127,7 +127,6 @@
 UIGadgetInfo.label.categories.clickHere=\u0928\u092f\u093e\u0901 \u0935\u0930\u094d\u0917 \u0925\u092a\u094d\u0928 \u092f\u0939\u093e\u0901 \u0925\u093f\u091a\u094d\u0928\u0941\u0939\u094b\u0938\u094d
 UIGadgetInfo.title.refresh=\u0938\u0941\u091a\u0928\u093e \u092a\u0941\u0928: \u0924\u093e\u091c\u093e \u0917\u0930\u094d\u0928\u0941\u0939\u094b\u0938\u094d
 UIGadgetInfo.title.editGadget=\u0917\u094d\u092f\u093e\u091c\u0947\u091f \u0938\u092e\u094d\u092a\u093e\u0926\u0928 \u0917\u0930\u094d\u0928\u0941\u0939\u094b\u0938\u094d
-UIGadgetInfo.title.copy=\u0938\u092e\u093f\u092a \u0930\u093f\u092a\u094b\u091c\u093f\u091f\u094b\u0930\u0940\u092e\u093e \u092f\u094b \u0917\u094d\u092f\u093e\u091c\u0947\u091f \u0928\u0915\u094d\u0915\u0932 \u0917\u0930\u094d\u0928\u0941\u0939\u094b\u0938\u094d 
 UIGadgetInfo.msg.gadgetNotExist=\u0905\u0939\u093f\u0932\u0947 \u0921\u093e\u091f\u093e\u0935\u0947\u0938\u092e\u093e \u0928\u092d\u090f\u0915\u094b \u0917\u094d\u092f\u093e\u091c\u0947\u091f\u092e\u093e \u0915\u093e\u0930\u094d\u092f \u0938\u092e\u094d\u092a\u093e\u0926\u0928 \u0917\u0930\u094d\u0928 \u0938\u0915\u093f\u090f\u0928\u0964
 
 UICategorySelector.header.choose=\u091b\u093e\u0928\u094d\u0928\u0941\u0939\u094b\u0938\u094d

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_nl.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_nl.properties	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_nl.properties	2010-03-04 09:45:47 UTC (rev 1968)
@@ -122,7 +122,6 @@
 UIGadgetInfo.label.categories.clickHere=Klik hier om toe te voegen in categorie\u00EBn
 UIGadgetInfo.title.refresh=Ververs informatie
 UIGadgetInfo.title.editGadget=Wijzig gadget
-UIGadgetInfo.title.copy=Kopieer deze gadget in de lokale bewaarplaats
 UIGadgetInfo.msg.gadgetNotExist=Kan geen actie uitvoeren op de gadget want die bestaat niet meer.
 
 UICategorySelector.header.choose=Kiezen

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ru.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ru.properties	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_ru.properties	2010-03-04 09:45:47 UTC (rev 1968)
@@ -123,7 +123,6 @@
 UIGadgetInfo.label.reference=Cноска:
 UIGadgetInfo.title.refresh=Обновить информацию
 UIGadgetInfo.title.editGadget=Изменить гаджет
-UIGadgetInfo.title.copy=Копировать гаджет в локальное хранилище
 UIGadgetInfo.msg.gadgetNotExist=Невозможно выполнять действия над гаджетом, который удален из базы данных.
 ##	org.exoplatform.applicationregistry.webui.component.UIAddGadget
 UIAddGadget.action.Add=Добавить

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_uk.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_uk.properties	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_uk.properties	2010-03-04 09:45:47 UTC (rev 1968)
@@ -123,7 +123,6 @@
 UIGadgetInfo.label.reference=Посилання: 
 UIGadgetInfo.title.refresh=Інформація поновлювання
 UIGadgetInfo.title.editGadget=Редагувати ґаджет
-UIGadgetInfo.title.copy=Скопіювати цей ґаджет у локальний репозиторій
 UIGadgetInfo.msg.gadgetNotExist=Неможливо виконувати дії з гаджетом, він не існує у базі даних. 
 ##	org.exoplatform.applicationregistry.webui.component.UIAddGadget
 UIAddGadget.action.Add=Додати

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_vi.xml
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_vi.xml	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_vi.xml	2010-03-04 09:45:47 UTC (rev 1968)
@@ -237,7 +237,6 @@
     <title>
       <refresh>	Làm mới thông tin</refresh>
       <editGadget>Chỉnh sửa Gadget</editGadget>
-      <copy> Copy Gadget này về máy</copy>
     </title>
     <msg>
       <gadgetNotExist>Gadget này không còn tồn tại trong cơ sở dữ liệu nữa.</gadgetNotExist>

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_zh.xml
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_zh.xml	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_zh.xml	2010-03-04 09:45:47 UTC (rev 1968)
@@ -186,7 +186,6 @@
       <title>
          <refresh>刷新信息</refresh>
          <editGadget>编辑小工具</editGadget>
-         <copy>复制此小工具到本地库中</copy>
       </title>
       <msg>
          <gadgetNotExist>此小工具在数据库中不存在,不能在此小工具上执行操作。 </gadgetNotExist>

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_zh_TW.xml
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_zh_TW.xml	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_zh_TW.xml	2010-03-04 09:45:47 UTC (rev 1968)
@@ -186,7 +186,6 @@
       <title>
          <refresh>重整資訊</refresh>
          <editGadget>編輯 Gadget</editGadget>
-         <copy>複製這個 Gadget 到網站</copy>
       </title>
       <msg>
          <gadgetNotExist>Gadget 已不存在,無法執行. </gadgetNotExist>

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/groovy/applicationregistry/webui/component/UIGadgetInfo.gtmpl
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/groovy/applicationregistry/webui/component/UIGadgetInfo.gtmpl	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/groovy/applicationregistry/webui/component/UIGadgetInfo.gtmpl	2010-03-04 09:45:47 UTC (rev 1968)
@@ -15,8 +15,6 @@
 		<div class="LeftBlock"><%=_ctx.appRes("UIGadgetInfo.label.gadgetDetails")%></div>
 		<% if(gadget.isLocal()) {%>
 		<div class="EditIcon ControlIcon" title="<%=_ctx.appRes("UIGadgetInfo.title.editGadget")%>" onclick="<%= uicomponent.event("Edit") %>"><span></span></div>
-		<% } else { %>
-		<div class="DownLoadIcon ControlIcon" title="<%=_ctx.appRes("UIGadgetInfo.title.copy")%>" onclick="<%= uicomponent.event("Copy") %>"><span></span></div>
 		<% } %>
 		<div class="Refresh16x16Icon ControlIcon" title="<%=_ctx.appRes("UIGadgetInfo.title.refresh")%>" onclick="<%= uicomponent.event("Refresh") %>"><span></span></div>
 		<div class="ClearBoth"><span></span></div>

Deleted: portal/trunk/portlet/exoadmin/src/main/webapp/skin/applicationregistry/webui/component/UIApplicationRegistryPortlet/DefaultSkin/background/DownLoadIcon.gif
===================================================================
(Binary files differ)

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/skin/applicationregistry/webui/component/UIApplicationRegistryPortlet/DefaultStylesheet.css
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/skin/applicationregistry/webui/component/UIApplicationRegistryPortlet/DefaultStylesheet.css	2010-03-04 09:29:40 UTC (rev 1967)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/skin/applicationregistry/webui/component/UIApplicationRegistryPortlet/DefaultStylesheet.css	2010-03-04 09:45:47 UTC (rev 1968)
@@ -313,12 +313,6 @@
 	margin: 0px 5px;
 }
 
-.UIApplicationRegistryPortlet .UIBreadcumb .DownLoadIcon {
-	background: url('DefaultSkin/background/DownLoadIcon.gif') no-repeat;
-	width: 16px; 
-	height: 16px;
-}
-
 .UIApplicationRegistryPortlet .ApplicationContainer {
 	padding: 10px 0px;
 }



More information about the gatein-commits mailing list