From eea258f74c56e1e52f85001ce93d6e51419553e2 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 16 Aug 2015 22:39:08 +0200 Subject: [PATCH] add the profile url to the settings pages as alternative to the webfinger. See issue 1621 --- mod/settings.php | 1 + view/templates/settings_nick_set.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/settings.php b/mod/settings.php index dba12fa879..1bca4f57ae 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -1111,6 +1111,7 @@ function settings_content(&$a) { '$desc' => t('Your Identity Address is'), '$nickname' => $nickname, '$subdir' => $subdir, + '$or' => t('or'), '$basepath' => $a->get_hostname() )); diff --git a/view/templates/settings_nick_set.tpl b/view/templates/settings_nick_set.tpl index 3162bbfcad..a8ef0c7e9c 100644 --- a/view/templates/settings_nick_set.tpl +++ b/view/templates/settings_nick_set.tpl @@ -1,6 +1,6 @@
-
{{$desc}} '{{$nickname}}@{{$basepath}}'{{$subdir}}
+
{{$desc}} '{{$nickname}}@{{$basepath}}'{{$subdir}} {{$or}} 'http(s)://{{$basepath}}/profile/{{$nickname}}'
-- 2.39.5