details: /erp/devel/pi/rev/38570888ce33
changeset: 11545:38570888ce33
user: Asier Lostalé <asier.lostale <at> openbravo.com>
date: Thu Apr 07 14:53:38 2011 +0200
summary: Notes: styling
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form-notes.js
| 7 ++--
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.css
| 14 ++++++++-
2 files changed, 15 insertions(+), 6 deletions(-)
diffs (67 lines):
diff -r a3dd21ac300b -r 38570888ce33
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form-notes.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form-notes.js
Thu Apr 07 14:23:30 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form-notes.js
Thu Apr 07 14:53:38 2011 +0200
@@ -282,18 +282,17 @@
value = value
+ ' <span class="OBNoteListGridAuthor">' +
OB.Utilities.getTimePassed(record.created) +
' ' + OB.I18N.getLabel('OBUIAPP_by') + ' ' +
-
record['createdBy._identifier'];
+
record['createdBy._identifier']+'</span>';
// show delete
link if the note was created by
// the current
user
if
(record.createdBy === OB.User.id) {
value =
value +
-
' <span class="OBNoteListGridDelete" >[ <a class="OBNoteListGridDelete"
href="#" onclick="' +
+
' <span class="OBNoteListGridDelete" >[<a class="OBNoteListGridDelete"
href="#" onclick="' +
this.layout.ID + '.deleteNote(\'' +
record.id +
-
'\')">' + OB.I18N.getLabel('OBUIAPP_delete') + '</a> ]</span>';
+
'\')">' + OB.I18N.getLabel('OBUIAPP_delete') + '</a>]</span>';
}
- value = value +
'</span>';
return value;
},
diff -r a3dd21ac300b -r 38570888ce33
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.css
---
a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.css
Thu Apr 07 14:23:30 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.css
Thu Apr 07 14:53:38 2011 +0200
@@ -729,6 +729,8 @@
border: 0px;
background-color: transparent;
padding:5px;
+ font-family: arial;
+ font-size: 12px;
}
.OBNoteListGridCurrentUserNoteCell,
@@ -742,18 +744,26 @@
}
.OBNoteListGridAuthor {
+ font-family: arial;
font-style: italic;
- font-size: 10px;
+ font-size: 11px;
margin-left: 3px;
}
.OBNoteListGridDelete {
+ font-family: 'lucida sans', sans-serif;
font-style: normal;
- color: green;
+ font-size: 12px;
+ color: #0d7813;
margin-left: 0px;
}
a.OBNoteListGridDelete:link {
padding: 0px;
+ text-decoration: none;
+}
+
+a.OBNoteListGridDelete:hover {
+ text-decoration: underline;
}
\ No newline at end of file
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits