From eeaff8ca3d33eb516b53b8387700cae518f4578e Mon Sep 17 00:00:00 2001 From: "massimiliano.assante" Date: Thu, 18 Apr 2013 12:23:32 +0000 Subject: [PATCH] added support for mentions image git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/notifications@73610 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../view/templates/SingleNotificationView.java | 2 ++ .../view/templates/images/NotificationImages.java | 3 +++ .../client/view/templates/images/tag_blue.png | Bin 0 -> 767 bytes 3 files changed, 5 insertions(+) create mode 100644 src/main/java/org/gcube/portlets/user/notifications/client/view/templates/images/tag_blue.png diff --git a/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/SingleNotificationView.java b/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/SingleNotificationView.java index 8b7b061..e561c09 100644 --- a/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/SingleNotificationView.java +++ b/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/SingleNotificationView.java @@ -102,6 +102,8 @@ public class SingleNotificationView extends Composite { return images.like(); case COMMENT: return images.comment(); + case MENTION: + return images.mention(); case MESSAGE: return images.message(); case WP_FOLDER_ADDEDUSER: diff --git a/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/images/NotificationImages.java b/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/images/NotificationImages.java index 083f0d3..2115562 100644 --- a/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/images/NotificationImages.java +++ b/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/images/NotificationImages.java @@ -7,6 +7,9 @@ public interface NotificationImages extends ClientBundle { @Source("comment.png") ImageResource comment(); + @Source("tag_blue.png") + ImageResource mention(); + @Source("star_blue.png") ImageResource like(); diff --git a/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/images/tag_blue.png b/src/main/java/org/gcube/portlets/user/notifications/client/view/templates/images/tag_blue.png new file mode 100644 index 0000000000000000000000000000000000000000..0f8ee6f10e47d515d6253653a0687a83332fc174 GIT binary patch literal 767 zcmV_$(wU#ZgFPr^E;3D{^7&Nz%9HFbw(n&K<-Lhlj~0*RSJw9sss&v%0#9*Xwa~bTnA3);~*U zi!YScBt~N;3ZrLC&JZbt!1FwY!y#I0j*pK4s4g$lY&M;@-s{%X_ctRf3@MDrV5M^u zi$!ePMxIwMl}glVweyuYNhmKkG@DIl+&^ilV76g|B*OX!BF}4gyIow@#kOsxLCpO} z@3_DBj!a>ZW~1TEhOhQ@7;MB?m@_1m&LIw;K22_JZCzZR1To(pj1XB##uki+5npZ3 zqb386o@@mI2e&BIy4&%Cm6oo zkCeZGkVq+!2yxGKT|%XZ6EJat5Eq3mMP|dF_haRMBt?R(*FW5iqWGTcx)`JRa(f;< zHS~M>QlwB`qS?juI+}(+;v@-Y|31U6bh0cN_aI;RI621S5}<& zbx>2&D6dDEUNSH6>BID=RtiI{h4e<4^I~hCQ6OW%fp-?DbrL)8$jlp6x=zf#SSi7IzxIrw^ z^#6#cJDI+p~y}zV9=gPBA(_CK?OFyi>a!D0A0+_6(Wm|AaGkwkMP5^#8`@ zCY4GBfRrV%q(llqu2|lij7M|cZ@=DDN^$)1WxKLeJG*R