From: rabuzarus <rabuzarus@t-online.de>
Date: Mon, 4 Feb 2019 23:18:07 +0000 (+0100)
Subject: frio: add account type to the profile vcard
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=56495e03c66f18aed71cee45238c70a7e220f9e5;p=friendica.git

frio: add account type to the profile vcard
---

diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css
index 896892531d..b293a3f48a 100644
--- a/view/theme/frio/css/style.css
+++ b/view/theme/frio/css/style.css
@@ -1135,7 +1135,9 @@ aside .vcard .p-addr {
     white-space: nowrap;
     padding-bottom: 2px;
 }
-
+aside .vcard .title {
+    margin-top: 10px;
+}
 aside .vcard .detail {
     display: table;
     padding: 5px 0;
@@ -1150,6 +1152,7 @@ aside .vcard .icon {
 }
 #profile-extra-links {
     overflow: auto;
+    margin-bottom: 10px;
 }
 aside .vcard #dfrn-request-link-button,
 aside .vcard #wallmessage-link-botton {
diff --git a/view/theme/frio/templates/profile_vcard.tpl b/view/theme/frio/templates/profile_vcard.tpl
index 462fb35677..02aa89fccc 100644
--- a/view/theme/frio/templates/profile_vcard.tpl
+++ b/view/theme/frio/templates/profile_vcard.tpl
@@ -42,6 +42,8 @@
 			{{if $profile.addr}}<div class="p-addr">{{$profile.addr}}</div>{{/if}}
 
 			{{if $profile.pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
+
+			{{if $account_type}}<div class="account-type">({{$account_type}})</div>{{/if}}
 		</div>
 
 		<div id="profile-extra-links">
diff --git a/view/theme/frio/templates/vcard-widget.tpl b/view/theme/frio/templates/vcard-widget.tpl
index 0eae2841bd..d1b41728b1 100644
--- a/view/theme/frio/templates/vcard-widget.tpl
+++ b/view/theme/frio/templates/vcard-widget.tpl
@@ -28,9 +28,9 @@
 
 			{{if $addr}}<div class="p-addr">{{$addr}}</div>{{/if}}
 
-			{{if $pdesc}}<div class="title">{{$pdesc}}</div>{{/if}}
+			{{if $account_type}}<div class="account-type">({{$account_type}})</div>{{/if}}
 
-			{{if $account_type}}<div class="account-type">{{$account_type}}</div>{{/if}}
+			{{if $pdesc}}<div class="title">{{$pdesc}}</div>{{/if}}
 
 			{{if $network_link}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$network_link nofilter}}</dd></dl>{{/if}}
 		</div>