From 1c5012c7d0b0e1fb530d74e20efbad0d2caa41f9 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Mon, 12 Mar 2018 12:27:18 +0530 Subject: [PATCH] Show url only if exists --- .../foundation_fellowship/templates/foundation_fellowship.html | 2 ++ .../doctype/service_provider/templates/service_provider.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship.html b/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship.html index 8d02a636..bae54e8a 100644 --- a/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship.html +++ b/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship.html @@ -42,10 +42,12 @@ Github Id {{ github_id }} + {% if website_url %} Website {{ website_url }} + {% endif %} diff --git a/foundation/erpnext_foundation/doctype/service_provider/templates/service_provider.html b/foundation/erpnext_foundation/doctype/service_provider/templates/service_provider.html index d334a893..15e35e7b 100644 --- a/foundation/erpnext_foundation/doctype/service_provider/templates/service_provider.html +++ b/foundation/erpnext_foundation/doctype/service_provider/templates/service_provider.html @@ -34,10 +34,12 @@ {{ email }} + {% if website_url %} Website {{ website_url }} + {% endif %}