diff --git a/frappe/templates/discussions/button.html b/frappe/templates/discussions/button.html index a27952bd6b..a07eee0aad 100644 --- a/frappe/templates/discussions/button.html +++ b/frappe/templates/discussions/button.html @@ -1,6 +1,6 @@ {% if frappe.session.user != "Guest" and (condition is not defined or (condition is defined and condition )) %} - + {{ _(cta_title) }} diff --git a/frappe/templates/discussions/comment_box.html b/frappe/templates/discussions/comment_box.html index ab4714185a..5e5fdc4837 100644 --- a/frappe/templates/discussions/comment_box.html +++ b/frappe/templates/discussions/comment_box.html @@ -28,7 +28,7 @@ {{ _("Cancel") }} -
+
{{ _("Post") }}
diff --git a/frappe/templates/discussions/discussions_section.html b/frappe/templates/discussions/discussions_section.html index b3d666265a..f64fb9fe99 100644 --- a/frappe/templates/discussions/discussions_section.html +++ b/frappe/templates/discussions/discussions_section.html @@ -8,13 +8,13 @@ {% include "frappe/templates/discussions/topic_modal.html" %}
- {{ _(title) }} + {{ _(title) }} {% if topics and not single_thread %} {% include "frappe/templates/discussions/button.html" %} {% endif %}
-
{% if topics and not single_thread %} @@ -40,12 +40,12 @@ {% else %}
-
{{ empty_state_title }}
+
{{ empty_state_title }}
{{ empty_state_subtitle }}
{% if frappe.session.user == "Guest" %} -
{{ _("Login") }}
+
{{ _("Login") }}
{% elif condition is defined and not condition %} -
+
{{ button_name }}
{% else %} diff --git a/frappe/templates/discussions/reply_section.html b/frappe/templates/discussions/reply_section.html index aa5f0913e8..a5ea923801 100644 --- a/frappe/templates/discussions/reply_section.html +++ b/frappe/templates/discussions/reply_section.html @@ -9,13 +9,13 @@ {% if topic %} id="t{{ topic.name }}" data-topic="{{ topic.name }}" {% endif %}> {% if not single_thread %} -
+
{{ _("Back") }}
{% endif %} {% if topic and topic.title %} -
{{ topic.title }}
+
{{ topic.title }}
{% endif %} {% for reply in replies %} @@ -30,9 +30,9 @@
{{ _("Want to join the discussion?") }} {% if frappe.session.user == "Guest" %} -
{{ _("Login") }}
+
{{ _("Login") }}
{% elif not condition %} -
{{ button_name }} +
{{ button_name }}
{% endif %}
diff --git a/frappe/templates/discussions/sidebar.html b/frappe/templates/discussions/sidebar.html index eafacf6f9d..14d38c86a5 100644 --- a/frappe/templates/discussions/sidebar.html +++ b/frappe/templates/discussions/sidebar.html @@ -3,7 +3,7 @@
{{ topic.title }}