blob: 2adfa3f7fe8ffb8cd07cab017c519a6a64b4fc67 [file] [log] [blame]
Prateeksha Singhb44ea4c2018-05-22 11:57:21 +05301{% extends "templates/web.html" %}
2
3{% block title %} {{ _("Help") }} {% endblock %}
4
5{% block header %}<h1>{{ _("Help") }}</h1>
6
7<div style="margin-bottom: 20px;">
8 <form action='/search_help'>
9 <input name='q' class='form-control' type='text'
10 style='max-width: 400px; display: inline-block; margin-right: 10px;'
11 value='{{ frappe.form_dict.q or ''}}'
12 {% if not frappe.form_dict.q%}placeholder="{{ _("What do you need help with?") }}"{% endif %}>
13 <input type='submit'
Prateeksha Singh8d584292018-06-12 17:39:12 +053014 class='btn btn-sm btn-default btn-search' value="{{ _("Search") }}">
Prateeksha Singhb44ea4c2018-05-22 11:57:21 +053015 </form>
16</div>
17
18{% for section in get_started_sections %}
19<div style="margin-bottom: 30px;">
20 <h2>{{ section["name"] }}</h2>
21 {% for item in section["items"] %}
22 <div style="margin: 20px 0;">
23 <a href="{{ item.link }}"><b>{{ item.title }}</b></a>
24 {% if item.description -%}
25 <p>{{ item.description }}</p>
26 {%- endif %}
27 </div>
28 {% endfor %}
29 <p><a href="/kb/support">{{ _("See All Articles") }}</a></p>
30 <hr>
31</div>
32{% endfor %}
33
34<div style="margin-bottom: 30px;">
35 <h2>{{ _("Forum Activity") }}</h2>
36 {% for topic in topics %}
37 <div style="margin: 20px 0;">
38 <a href="{{ topic[post_params.link] }}">
39 <b>{{ topic[post_params.title] }}</b>
40 </a>
41 {% if topic[post_params.description] -%}
42 <p>{{ topic[post_params.description] }}</p>
43 {%- endif %}
44 </div>
45 {% endfor %}
46 <p><a href="{{ forum_url }}">{{ _("Visit the forums") }}</a></p>
47 <hr>
48</div>
49
Prateeksha Singh8d584292018-06-12 17:39:12 +053050{% if issues | len > 0 -%}
Prateeksha Singhb44ea4c2018-05-22 11:57:21 +053051<div style="margin-bottom: 20px;">
52 <h2>{{ _("Your tickets") }}</h2>
53 {% for doc in issues %}
54 {% include "templates/includes/issue_row.html" %}
55 {% endfor %}
56 <p><a href="/issues">{{ _("See all open tickets") }}</a></p>
57</div>
58
Prateeksha Singh8d584292018-06-12 17:39:12 +053059<a href="/issues?new=1" class="btn btn-primary btn-new btn-sm">
Prateeksha Singhb44ea4c2018-05-22 11:57:21 +053060 {{ _("Open a new ticket") }}
61</a>
Prateeksha Singh8d584292018-06-12 17:39:12 +053062{%- endif %}
Prateeksha Singhb44ea4c2018-05-22 11:57:21 +053063
64{% endblock %}