Commit 72f97b84 authored by Frank Bergmann's avatar Frank Bergmann

- minor changes

parent 90752859
......@@ -8,6 +8,37 @@
-- @author frank.bergmann@project-open.com
-----------------------------------------------------------
-- Component Plugin
--
-- Advertizing Portlet in Home page
SELECT im_component_plugin__new (
null, 'im_component_plugin', now(), null, null, null,
'Mobile Timesheet', -- plugin_name - shown in menu
'senchatouch-timesheet', -- package_name
'left', -- location
'/intranet/index', -- page_url
null, -- view_name
10, -- sort_order
'senchatouch_timesheet_home_component', -- component_tcl
'lang::message::lookup "" "senchatouch-timesheet.Mobile_Timesheet" "Mobile Timesheet"'
);
SELECT acs_permission__grant_permission(
(select plugin_id
from im_component_plugins
where plugin_name = 'Mobile Timesheet' and
package_name = 'senchatouch-timesheet'
),
(select group_id from groups where group_name = 'Employees'),
'read'
);
-----------------------------------------------------------
-- REST API Reports
--
SELECT im_report_new (
'REST Main Project Tasks with Hours', -- report_name
'rest_main_project_tasks_with_hours', -- report_code
......
......@@ -15,7 +15,6 @@ Ext.application({
'Project' // Project or task
],
stores: [
// Master Date Stores
'ProjectStatusStore', // List of project states
'ProjectTypeStore', // List of project types
'HourStore', // Generic store of hours retreived
......@@ -41,7 +40,7 @@ Ext.application({
],
viewport: {
autoMaximize: false
autoMaximize: false // set to false for iOS 9
},
// Main function: Load the various panels
......@@ -51,7 +50,7 @@ Ext.application({
tabBarPosition: 'bottom',
xtype: 'tabPanel',
items: [
// The application consists of two three only:
// The application consists of three indenpendent sections:
{xtype: 'splashPage'},
{xtype: 'timesheetMainProjectListNavigationView'},
{xtype: 'noteNavigationView'}
......@@ -59,4 +58,3 @@ Ext.application({
});
}
});
......@@ -8,32 +8,22 @@
*/
{
"name": "List",
"js": [
{
"js": [{
"path": "/senchatouch-v242/sencha-touch-all-debug.js"
},
{
}, {
"path": "app.js",
"update": "delta"
}
],
"css": [
{
}],
"css": [{
"path": "/senchatouch-v242/resources/css/sencha-touch.css",
"update": "delta"
},
{
}, {
"path": "/senchatouch-timesheet/resources/css/app.css",
"update": "delta"
}
],
}],
"appCache": {
"cache": [
"index.html"
],
"network": [
"*"
],
"cache": ["index.html"],
"network": ["*"],
"fallback": []
},
"extras": [
......@@ -56,4 +46,3 @@
},
"id": "3a867610-670a-11e1-a90e-4318029d18bb"
}
......@@ -19,5 +19,4 @@
<script>
var current_user_id = @current_user_id@;
</script>
......@@ -15,4 +15,5 @@ ad_page_contract {
# Defaults & Security
# ---------------------------------------------------------------
set current_user_id [ad_maybe_redirect_for_registration]
set current_user_id [auth::require_login]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment