parent
ac8ada1a47
commit
89a60326da
|
@ -36,7 +36,7 @@ sent mails with personal token for the invitation of the survey.
|
||||||
'summary': 'Create surveys, collect answers and print statistics',
|
'summary': 'Create surveys, collect answers and print statistics',
|
||||||
'author': 'OpenERP SA',
|
'author': 'OpenERP SA',
|
||||||
'website': 'https://www.openerp.com/apps/survey/',
|
'website': 'https://www.openerp.com/apps/survey/',
|
||||||
'depends': ['email_template', 'mail', 'website', 'web_kanban_gauge', 'web_graph', 'marketing'],
|
'depends': ['email_template', 'mail', 'website', 'marketing'],
|
||||||
'data': [
|
'data': [
|
||||||
'security/survey_security.xml',
|
'security/survey_security.xml',
|
||||||
'security/ir.model.access.csv',
|
'security/ir.model.access.csv',
|
||||||
|
|
|
@ -1,27 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<openerp>
|
<openerp>
|
||||||
<data>
|
<data>
|
||||||
<!-- List of all the surveys -->
|
|
||||||
<template id="list" name="Survey List">
|
|
||||||
<t t-call="website.layout">
|
|
||||||
<div class="wrap">
|
|
||||||
<div class="container">
|
|
||||||
<h1>Open surveys</h1>
|
|
||||||
<div class="table-responsive">
|
|
||||||
<table class="table table-hover">
|
|
||||||
<tr><th>Title</th></tr>
|
|
||||||
<t t-foreach="surveys" t-as="survey">
|
|
||||||
<tr>
|
|
||||||
<td><a t-att-href="survey.public_url" t-field="survey.title" /></td>
|
|
||||||
</tr>
|
|
||||||
</t>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</t>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<!-- "Thank you" message when the survey is completed -->
|
<!-- "Thank you" message when the survey is completed -->
|
||||||
<template id="sfinished" name="Survey Finished">
|
<template id="sfinished" name="Survey Finished">
|
||||||
<t t-call="website.layout">
|
<t t-call="website.layout">
|
||||||
|
@ -58,6 +37,9 @@
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<div class="oe_structure" />
|
<div class="oe_structure" />
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
<div groups="base.group_website_publisher" t-ignore="true" class="text-right">
|
||||||
|
<a href="/web#action=survey.action_survey_form" class="btn btn-default">Go back to surveys</a>
|
||||||
|
</div>
|
||||||
<div class='jumbotron mt32'>
|
<div class='jumbotron mt32'>
|
||||||
<h1 t-field='survey.title' />
|
<h1 t-field='survey.title' />
|
||||||
<div t-field='survey.description' />
|
<div t-field='survey.description' />
|
||||||
|
@ -80,6 +62,9 @@
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<div class="oe_structure"/>
|
<div class="oe_structure"/>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
<div groups="base.group_website_publisher" t-ignore="true" class="text-right">
|
||||||
|
<a href="/web#action=survey.action_survey_form" class="btn btn-default">Go back to surveys</a>
|
||||||
|
</div>
|
||||||
<t t-call="survey.page" />
|
<t t-call="survey.page" />
|
||||||
</div>
|
</div>
|
||||||
<div class="oe_structure"/>
|
<div class="oe_structure"/>
|
||||||
|
|
|
@ -193,7 +193,7 @@
|
||||||
<h4 class="oe_center"><field name="title" /></h4>
|
<h4 class="oe_center"><field name="title" /></h4>
|
||||||
<div><ul>
|
<div><ul>
|
||||||
<li>
|
<li>
|
||||||
<a type="edit">Design</a>
|
<a name="action_test_survey" type="object">Design</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<t t-if="record.designed.raw_value"><a type="object" name="action_test_survey">Test</a></t>
|
<t t-if="record.designed.raw_value"><a type="object" name="action_test_survey">Test</a></t>
|
||||||
|
|
Loading…
Reference in New Issue