From 471e1aab8e9fd600daf7368af26992a3fd7e7a42 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Mon, 4 Jul 2016 11:41:52 +0530 Subject: [PATCH 1/4] [minor] indentation --- .../includes/navbar/dropdown_items.html | 17 +++++++++++++++++ .../includes/navbar/dropdown_login.html | 17 +++++++++++++++++ .../templates/includes/navbar/navbar_items.html | 12 ++++++------ 3 files changed, 40 insertions(+), 6 deletions(-) create mode 100644 frappe/templates/includes/navbar/dropdown_items.html create mode 100644 frappe/templates/includes/navbar/dropdown_login.html diff --git a/frappe/templates/includes/navbar/dropdown_items.html b/frappe/templates/includes/navbar/dropdown_items.html new file mode 100644 index 0000000000..4d7e54c829 --- /dev/null +++ b/frappe/templates/includes/navbar/dropdown_items.html @@ -0,0 +1,17 @@ + diff --git a/frappe/templates/includes/navbar/dropdown_login.html b/frappe/templates/includes/navbar/dropdown_login.html new file mode 100644 index 0000000000..9bd687a106 --- /dev/null +++ b/frappe/templates/includes/navbar/dropdown_login.html @@ -0,0 +1,17 @@ + +{% if not only_static %} +{%- for child in post_login -%} +
  • + {%- if child.url -%} + + {{ child.label }} + + {%- endif -%} +
  • +{%- endfor -%} +{% if not hide_login %} +
  • {{ _("Login") }}
  • +{% endif %} +{% endif %} diff --git a/frappe/templates/includes/navbar/navbar_items.html b/frappe/templates/includes/navbar/navbar_items.html index b2d7be9652..77d0525640 100644 --- a/frappe/templates/includes/navbar/navbar_items.html +++ b/frappe/templates/includes/navbar/navbar_items.html @@ -1,17 +1,17 @@ {% if top_bar_items -%} {%- endif %}