From b6c254eedef7f75e3befb817066d4ddda869a32f Mon Sep 17 00:00:00 2001 From: Andreas Neustifter Date: Tue, 24 Jul 2018 16:20:16 +0200 Subject: [PATCH] [frio] Fix profile edit links. [#5474] (#5475) --- mod/profiles.php | 2 ++ view/theme/frio/css/style.css | 1 + view/theme/frio/templates/profile_edit.tpl | 5 +++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/mod/profiles.php b/mod/profiles.php index e65b51aff..b0ca02e3c 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -578,7 +578,9 @@ function profiles_content(App $a) { '$banner' => L10n::t('Edit Profile Details'), '$submit' => L10n::t('Submit'), '$profpic' => L10n::t('Change Profile Photo'), + '$profpiclink' => '/photos/' . $a->user['nickname'], '$viewprof' => L10n::t('View this profile'), + '$viewallprof' => L10n::t('View all profiles'), '$editvis' => L10n::t('Edit visibility'), '$cr_prof' => L10n::t('Create a new profile using these settings'), '$cl_prof' => L10n::t('Clone this profile'), diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 3daa99233..0206c9d30 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -996,6 +996,7 @@ aside .widget, margin-bottom: 20px; padding: 10px; font-size: 13px; + overflow: auto; } aside .widget h3, .nav-container .widget h3 { diff --git a/view/theme/frio/templates/profile_edit.tpl b/view/theme/frio/templates/profile_edit.tpl index 12ec57037..c06e3a715 100644 --- a/view/theme/frio/templates/profile_edit.tpl +++ b/view/theme/frio/templates/profile_edit.tpl @@ -10,14 +10,15 @@  {{$profile_action}}