Skip to content

Commit

Permalink
[IMP] Improved Question Advices in website_forum
Browse files Browse the repository at this point in the history
  • Loading branch information
fpodoo committed Jul 22, 2014
1 parent bb5fd86 commit 55ddd2d
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions addons/website_forum/views/website_forum.xml
Original file line number Diff line number Diff line change
Expand Up @@ -311,16 +311,29 @@
<!-- Edition: ask your question -->
<template id="ask_question">
<t t-call="website_forum.header">
<h1 class="mt0">Ask your Question</h1>
<h1 class="mt0">Ask Your Question</h1>
<p>
To improve your chance getting an answer:
</p>
<ul>
<li> please, try to make your question interesting to others </li>
<li> provide enough details and, if possible, give an example </li>
<li> be clear and concise, avoid unnecessary introductions (Hi, ... Thanks...) </li>
<li>Set a clear, explicit and concise question title
(check
<a href="#" data-placement="top" data-toggle="popover" data-content="Inventory Date Problem, Task remaining hours, Can you help solve solve my tax computation problem in Canada?" title="Click to get bad question samples">bad examples</a>
and
<a href="#" data-placement="bottom" data-toggle="popover" data-content="How to create a physical inventory at an anterior date?, How is the 'remaining hours' field computed on tasks?, How to configure TPS and TVQ's canadian taxes?" title="Click to get good question titles">good examples</a>
),
</li>
<li>Avoid unnecessary introductions (Hi,... Please... Thanks...),</li>
<li>Provide enough details and, if possible, give an example.</li>
</ul>
<script type="text/javascript">
$(function () {
$("[data-toggle='popover']").popover();
});
</script>
<form t-attf-action="/forum/#{ slug(forum) }/question/new" method="post" role="form" class="tag_text">
<input type="text" name="question_name" required="True" t-attf-value="#{question_name}"
class="form-control" placeholder="Enter your Question"/>
<h5 class="mt20">Please enter a descriptive question (should finish by a '?')</h5>
class="form-control mb16" placeholder="Your Question Title..."/>
<input type="hidden" name="karma" t-attf-value="#{user.karma}" id="karma"/>
<textarea name="content" required="True" class="form-control load_editor">
<t t-esc="question_content"/>
Expand Down

0 comments on commit 55ddd2d

Please sign in to comment.