diff options
Diffstat (limited to 'templates/actor')
| -rw-r--r-- | templates/actor/profile.php | 2 | ||||
| -rw-r--r-- | templates/actor/profile_editable.php | 4 | ||||
| -rw-r--r-- | templates/actor/profile_page.php | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/templates/actor/profile.php b/templates/actor/profile.php index 0029e8e..aa403a6 100644 --- a/templates/actor/profile.php +++ b/templates/actor/profile.php @@ -21,7 +21,7 @@ $actorUser = UserAccount::findByLinkedActor($actor); <div> <div class="displayName"><?= htmlspecialchars($actor->displayName) ?></div> <div class="pronouns"><?= htmlspecialchars($actor->pronouns) ?></div> - <div class="handle">@<?= $actor->getFullHandle() ?></div> + <div class="handle">@<?= $actor->getFullHandle($convertIdn = true) ?></div> <div class="joinedDate"><?= sprintf(__('user.profile.createdAt'), format_datetime($actor->created)) ?></div> <?php if ($actor->automated): ?> <div class="inlinePill"> diff --git a/templates/actor/profile_editable.php b/templates/actor/profile_editable.php index f6a0fc4..bb5f72c 100644 --- a/templates/actor/profile_editable.php +++ b/templates/actor/profile_editable.php @@ -15,7 +15,7 @@ value="<?= htmlspecialchars($actor->pronouns) ?>"> </div> </div> - <div class="handle">@<?= $actor->getFullHandle() ?></div> + <div class="handle">@<?= $actor->getFullHandle($convertIdn = true) ?></div> <div class="joinedDate"><?= sprintf(__('user.profile.createdAt'), format_datetime($actor->created)) ?></div> </div> </div> @@ -38,4 +38,4 @@ </button> <button class="primary"><?= __('form.saveChanges') ?></button> </div> -</form>
\ No newline at end of file +</form> diff --git a/templates/actor/profile_page.php b/templates/actor/profile_page.php index f9b688c..53bd47d 100644 --- a/templates/actor/profile_page.php +++ b/templates/actor/profile_page.php @@ -8,7 +8,7 @@ $lang = get_ui_language(); $actorUser = UserAccount::findByLinkedActor($actor); call_template('skeleton', [ - 'pageTitle' => "$actor->displayName - @" . $actor->getFullHandle(), + 'pageTitle' => "$actor->displayName - @" . $actor->getFullHandle($convertIdn = true), 'renderTitleHeading' => false, 'ogTitle' => $actor->displayName, 'ogDesc' => $actor->bio, @@ -58,4 +58,4 @@ call_template('skeleton', [ call_template('placeholder_text', ['count' => $countNotShown]); } } -});
\ No newline at end of file +}); |
