Commit c78dc8f2 by Roque

erp5_web_project_ui: front page redirects to custom project module

- filtered, sorted, custom columns
1 parent 6418f322
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Project Controller</title>
<!-- renderjs -->
<script src="rsvp.js" type="text/javascript"></script>
<script src="renderjs.js" type="text/javascript"></script>
<!-- custom script -->
<script src="gadget_erp5_page_project_controller.js" type="text/javascript"></script>
</head>
<body>
</body>
</html>
\ No newline at end of file
/*global document, window, rJS */
/*jslint nomen: true, indent: 2, maxerr: 10, maxlen: 90 */
(function (document, window, rJS) {
"use strict";
rJS(window)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
.declareAcquiredMethod("redirect", "redirect")
//.declareAcquiredMethod("getSetting", "getSetting")
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.declareMethod("render", function (options) {
var gadget = this;
return gadget.redirect({
'command': 'display',
'options': {
'page': 'form',
'editable': 1,
'jio_key': 'project_module',
'view': 'view',
'field_listbox_sort_list:json': [["title", "ascending"]],
'field_listbox_column_list:json': ["title",
"default_destination_section_title"],
'extended_search': 'translated_validation_state_title: "Started"'
}
});
});
}(document, window, rJS));
\ No newline at end of file
......@@ -335,7 +335,7 @@
</item>
<item>
<key> <string>configuration_frontpage_gadget_url</string> </key>
<value> <string>worklist</string> </value>
<value> <string>project_controller</string> </value>
</item>
<item>
<key> <string>configuration_hateoas_url</string> </key>
......@@ -353,7 +353,7 @@
</item>
<item>
<key> <string>configuration_manifest_url</string> </key>
<value> <string>gadget_erp5.appcache</string> </value>
<value> <string>gadget_erp5_project.appcache</string> </value>
</item>
<item>
<key> <string>configuration_panel_gadget_url</string> </key>
......
web_site_module/renderjs_runner
web_page_module/project_**
image_module/project_*
\ No newline at end of file
web_page_module/project_**
\ No newline at end of file
web_site_module/renderjs_runner
web_page_module/project_**
image_module/project_*
\ No newline at end of file
web_page_module/project_**
\ No newline at end of file
web_page_module/project_**
web_site_module/project_nexedi_net
web_site_module/project_nexedi_net/**
\ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!