add the profile url to the settings pages as alternative to the webfinger. See issue 1621

This commit is contained in:
Tobias Diekershoff 2015-08-16 22:39:08 +02:00
parent 0f505b92f6
commit eea258f74c
2 changed files with 2 additions and 1 deletions

View file

@ -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()
));

View file

@ -1,6 +1,6 @@
<div id="settings-nick-wrapper" >
<div id="settings-nickname-desc" class="info-message">{{$desc}} <strong>'{{$nickname}}@{{$basepath}}'</strong>{{$subdir}}</div>
<div id="settings-nickname-desc" class="info-message"> {{$desc}} <strong>'{{$nickname}}@{{$basepath}}'</strong>{{$subdir}} {{$or}} 'http(s)://{{$basepath}}/profile/{{$nickname}}'</div>
</div>
<div id="settings-nick-end" ></div>