From ce628e2ce3fbe03a44692f40d91308dc62422ffa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Sun, 3 Sep 2017 22:01:28 +0200
Subject: [PATCH] Links: always open in new tab/window

---
 commonBody.html  | 12 ++++++------
 detailsBody.html | 12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/commonBody.html b/commonBody.html
index 57c5138cc..a65b3f2fd 100644
--- a/commonBody.html
+++ b/commonBody.html
@@ -18,7 +18,7 @@
   <i class="fa fa-globe" aria-hidden="true"></i>
   <span class='key'>{{ keyTrans('website') }}:</span>
   <span class='value'>
-    <a href='{{ tags.website }}'>{{ tags.website }}</a>
+    <a target='_blank' href='{{ tags.website }}'>{{ tags.website }}</a>
   </span>
 </li>
 {% endif %}
@@ -28,7 +28,7 @@
   <i class="fa fa-globe" aria-hidden="true"></i>
   <span class='key'>{{ keyTrans('website') }}:</span>
   <span class='value'>
-    <a href='{{ attribute(tags, 'contact:website') }}'>{{ attribute(tags, 'contact:website') }}</a>
+    <a target='_blank' href='{{ attribute(tags, 'contact:website') }}'>{{ attribute(tags, 'contact:website') }}</a>
   </span>
 </li>
 {% endif %}
@@ -38,7 +38,7 @@
   <i class="fa fa-phone" aria-hidden="true"></i>
   <span class='key'>{{ keyTrans('phone') }}:</span>
   <span class='value'>
-    <a href='tel:{{ tags.phone }}'>{{ tags.phone }}</a>
+    <a target='_blank' href='tel:{{ tags.phone }}'>{{ tags.phone }}</a>
   </span>
 </li>
 {% endif %}
@@ -48,7 +48,7 @@
   <i class="fa fa-phone" aria-hidden="true"></i>
   <span class='key'>{{ keyTrans('phone') }}:</span>
   <span class='value'>
-    <a href='tel:{{ attribute(tags, 'contact:phone') }}'>{{ attribute(tags, 'contact:phone') }}</a>
+    <a target='_blank' href='tel:{{ attribute(tags, 'contact:phone') }}'>{{ attribute(tags, 'contact:phone') }}</a>
   </span>
 </li>
 {% endif %}
@@ -60,13 +60,13 @@
   <span class='value'>
 
   {% if attribute(tags, 'contact:email') %}
-    <a href='mailto:{{ attribute(tags, 'contact:email') }}'>
+    <a target='_blank' href='mailto:{{ attribute(tags, 'contact:email') }}'>
       <i class="fa fa-envelope" aria-hidden="true"></i>
     </a>
   {% endif %}
 
   {% if attribute(tags, 'email') %}
-    <a href='mailto:{{ attribute(tags, 'email') }}'>
+    <a target='_blank' href='mailto:{{ attribute(tags, 'email') }}'>
       <i class="fa fa-envelope" aria-hidden="true"></i>
     </a>
   {% endif %}
diff --git a/detailsBody.html b/detailsBody.html
index 8e0da2deb..f8959f50e 100644
--- a/detailsBody.html
+++ b/detailsBody.html
@@ -18,7 +18,7 @@
   <i class="fa fa-globe" aria-hidden="true"></i>
   <span class='key'>{{ keyTrans('website') }}:</span>
   <span class='value'>
-    <a href='{{ tags.website }}'>{{ tags.website }}</a>
+    <a target='_blank' href='{{ tags.website }}'>{{ tags.website }}</a>
   </span>
 </li>
 {% endif %}
@@ -28,7 +28,7 @@
   <i class="fa fa-globe" aria-hidden="true"></i>
   <span class='key'>{{ keyTrans('website') }}:</span>
   <span class='value'>
-    <a href='{{ attribute(tags, 'contact:website') }}'>{{ attribute(tags, 'contact:website') }}</a>
+    <a target='_blank' href='{{ attribute(tags, 'contact:website') }}'>{{ attribute(tags, 'contact:website') }}</a>
   </span>
 </li>
 {% endif %}
@@ -38,7 +38,7 @@
   <i class="fa fa-phone" aria-hidden="true"></i>
   <span class='key'>{{ keyTrans('phone') }}:</span>
   <span class='value'>
-    <a href='tel:{{ tags.phone }}'>{{ tags.phone }}</a>
+    <a target='_blank' href='tel:{{ tags.phone }}'>{{ tags.phone }}</a>
   </span>
 </li>
 {% endif %}
@@ -48,7 +48,7 @@
   <i class="fa fa-phone" aria-hidden="true"></i>
   <span class='key'>{{ keyTrans('phone') }}:</span>
   <span class='value'>
-    <a href='tel:{{ attribute(tags, 'contact:phone') }}'>{{ attribute(tags, 'contact:phone') }}</a>
+    <a target='_blank' href='tel:{{ attribute(tags, 'contact:phone') }}'>{{ attribute(tags, 'contact:phone') }}</a>
   </span>
 </li>
 {% endif %}
@@ -58,7 +58,7 @@
   <i class="fa fa-envelope" aria-hidden="true"></i>
   <span class='key'>{{ keyTrans('email') }}:</span>
   <span class='value'>
-    <a href='mailto:{{ attribute(tags, 'contact:email') }}'>
+    <a target='_blank' href='mailto:{{ attribute(tags, 'contact:email') }}'>
     {{ attribute(tags, 'contact:email') }}
     </a>
   </span>
@@ -70,7 +70,7 @@
   <i class="fa fa-envelope" aria-hidden="true"></i>
   <span class='key'>{{ keyTrans('email') }}:</span>
   <span class='value'>
-    <a href='mailto:{{ attribute(tags, 'email') }}'>
+    <a target='_blank' href='mailto:{{ attribute(tags, 'email') }}'>
     {{ attribute(tags, 'email') }}
     </a>
   </span>