git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/message-conversations@154428 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f0f2523e79
commit
98ac9f0b23
|
@ -21,6 +21,7 @@ import com.google.gwt.user.client.Random;
|
||||||
import com.google.gwt.user.client.ui.Composite;
|
import com.google.gwt.user.client.ui.Composite;
|
||||||
import com.google.gwt.user.client.ui.Widget;
|
import com.google.gwt.user.client.ui.Widget;
|
||||||
|
|
||||||
|
import gwt.material.design.client.base.TransitionConfig;
|
||||||
import gwt.material.design.client.constants.Color;
|
import gwt.material.design.client.constants.Color;
|
||||||
import gwt.material.design.client.ui.MaterialCollection;
|
import gwt.material.design.client.ui.MaterialCollection;
|
||||||
import gwt.material.design.client.ui.MaterialCollectionItem;
|
import gwt.material.design.client.ui.MaterialCollectionItem;
|
||||||
|
@ -93,7 +94,6 @@ public class MessageItem extends Composite {
|
||||||
subjectLabel.setText(m.getSubject().length() > 40 ? m.getSubject().substring(0, 37)+" ...": m.getSubject());
|
subjectLabel.setText(m.getSubject().length() > 40 ? m.getSubject().substring(0, 37)+" ...": m.getSubject());
|
||||||
previewLabel.setText(m.getContent());
|
previewLabel.setText(m.getContent());
|
||||||
timeLabel.setText(Utils.getFormatteDate(m.getDate()));
|
timeLabel.setText(Utils.getFormatteDate(m.getDate()));
|
||||||
|
|
||||||
if (sent)
|
if (sent)
|
||||||
item.setBackgroundColor(Color.WHITE);
|
item.setBackgroundColor(Color.WHITE);
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
</m:MaterialCollectionSecondary>
|
</m:MaterialCollectionSecondary>
|
||||||
<m:MaterialDropDown ui:field="dd" activator=""
|
<m:MaterialDropDown ui:field="dd" activator=""
|
||||||
constrainWidth="false" gutter="-100" hover="false" belowOrigin="false">
|
constrainWidth="false" gutter="-100" hover="true" belowOrigin="false">
|
||||||
<m:MaterialLink textColor="BLUE_DARKEN_1" ui:field="deleteButton"
|
<m:MaterialLink textColor="BLUE_DARKEN_1" ui:field="deleteButton"
|
||||||
text="Delete Message" />
|
text="Delete Message" />
|
||||||
<m:MaterialLink textColor="BLUE_DARKEN_1" ui:field="setUnreadButton"
|
<m:MaterialLink textColor="BLUE_DARKEN_1" ui:field="setUnreadButton"
|
||||||
|
|
Loading…
Reference in New Issue