Author: hnategh
New Revision: 54921
URL: http://svn.stylite.de/viewvc/egroupware?rev=54921&view=rev
Log:
Mobile theme W.I.P.:
- Load edit.xet if there’s no view template available
- Remove email,phone, link icons from AB edit
Modified:
trunk/addressbook/inc/class.addressbook_ui.inc.php
trunk/addressbook/templates/pixelegg/app.css
trunk/addressbook/templates/pixelegg/app.less
trunk/phpgwapi/js/jsapi/app_base.js
— trunk/addressbook/inc/class.addressbook_ui.inc.php (original)
+++ trunk/addressbook/inc/class.addressbook_ui.inc.php Thu Feb 4 18:25:52 2016
@@ -741,7 +741,11 @@
if (isset($actions[‘export’][‘children’][‘csv’]) && !importexport_helper_functions::has_definitions(‘addressbook’,‘export’)) unset($actions[‘export’][‘children’][‘csv’]);
// Intercept open action in order to open entry into view mode instead of edit
-
if (html::$ua_mobile)
-
{
-
$actions['open']['onExecute'] = 'javaScript:app.addressbook.viewEntry';
-
$actions['open']['mobileViewTemplate'] = 'view.xet';
-
}
//echo "<p>".__METHOD__."($do_email, $tid_filter, $org_view)</p>\n"; _debug_array($actions);
// Allow contacts to be dragged
— trunk/addressbook/templates/pixelegg/app.css (original)
+++ trunk/addressbook/templates/pixelegg/app.css Thu Feb 4 18:25:52 2016
@@ -532,8 +532,10 @@
#addressbook-edit #addressbook-edit_room {
margin-left: 0;
}
-
#addressbook-edit a.et2_url.url,
-
#addressbook-edit a.et2_url.phone,
#addressbook-edit a.et2_url.email {
- display: none !important;
}
#addressbook-index table.egwGridView_outer tbody span[id^=‘addressbook-index_’][id$=‘line1]’] {
font-size: 12pt;
— trunk/addressbook/templates/pixelegg/app.less (original)
+++ trunk/addressbook/templates/pixelegg/app.less Thu Feb 4 18:25:52 2016
@@ -433,8 +433,8 @@
#addressbook-edit_adr_one_locality, #addressbook-edit_adr_two_locality, #addressbook-edit_room{
margin-left:0;
}
-
a.et2_url.email {
-
display: none;
-
a.et2_url.url, a.et2_url.phone, a.et2_url.email {
-
display: none !important;
}
}
— trunk/phpgwapi/js/jsapi/app_base.js (original)
+++ trunk/phpgwapi/js/jsapi/app_base.js Thu Feb 4 18:25:52 2016
@@ -427,7 +427,7 @@
bottom:0,
right:0,
overflow:‘auto’,
@@ -452,9 +452,10 @@
.addClass(‘et2_mobile-view-container’)
.appendTo(this.viewContainer);
-
var template = egw.webserverUrl+ '/' + this.appname + '/templates/mobile/view.xet?1';
-
var data = {content:content, readonlys:{'__ALL__':true,'edit':false}};
-
var template = egw.webserverUrl+ '/' + this.appname + '/templates/mobile/'+templateName+'?1';
-
var data = {content:content, readonlys:{'__ALL__':true,'link_to':false}};
if(template.indexOf('.xet') > 0)
{
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs