Merge branch 'web_feedback' of https://github.com/hrwx/frappe into web_feedback

This commit is contained in:
Himanshu Warekar 2020-06-26 15:18:43 +05:30
commit b58448f3b1
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ frappe.ui.form.on('Help Article', {
</div>
<div class="col-md-6 col-xs-12">
<span class="indicator whitespace-nowrap red">
<span>Not Helpful ${frm.doc.helpful}</span>
<span>Not Helpful ${frm.doc.not_helpful}</span>
</span>
</div>
</div>

View file

@ -22,7 +22,7 @@
<div class="help-article-feedback mb-4">
<hr />
<div class="feedback-view ">
<span class="text-muted small" style="margin-right: 15px;">{{ _("Was this helpful?") }}</span>
<span class="text-muted small mr-2">{{ _("Was this article helpful?") }}</span>
<button class="feedback btn btn-outline-primary btn-sm" data-value="Yes" style="width: 50px;">{{ _("Yes") }}</button>
<button class="feedback btn btn-outline-primary btn-sm" data-value="No" style="width: 50px;">{{ _("No") }}</button>
</div>