From 0fd5c00010b7187932af5e720444d83b4c269869 Mon Sep 17 00:00:00 2001 From: Hannes Heute Date: Tue, 26 Mar 2024 13:14:19 +0100 Subject: [PATCH 1/4] fix typo: Independant --> Independent --- src/Content/Feature.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Content/Feature.php b/src/Content/Feature.php index 84a32f5ed5..282d8928fd 100644 --- a/src/Content/Feature.php +++ b/src/Content/Feature.php @@ -107,7 +107,7 @@ class Feature DI::l10n()->t('General Features'), //array('expire', DI::l10n()->t('Content Expiration'), DI::l10n()->t('Remove old posts/comments after a period of time')), [self::PHOTO_LOCATION, DI::l10n()->t('Photo Location'), DI::l10n()->t("Photo metadata is normally stripped. This extracts the location \x28if present\x29 prior to stripping metadata and links it to a map."), false, DI::config()->get('feature_lock', self::PHOTO_LOCATION, false)], - [self::COMMUNITY, DI::l10n()->t('Display the community in the navigation'), DI::l10n()->t('If enabled, the community can be accessed via the navigation menu. Independant from this setting, the community timelines can always be accessed via the channels.'), true, DI::config()->get('feature_lock', self::COMMUNITY, false)], + [self::COMMUNITY, DI::l10n()->t('Display the community in the navigation'), DI::l10n()->t('If enabled, the community can be accessed via the navigation menu. Independent from this setting, the community timelines can always be accessed via the channels.'), true, DI::config()->get('feature_lock', self::COMMUNITY, false)], ], // Post composition From 71a9e6112e2c68963df5957ae641441599fcca57 Mon Sep 17 00:00:00 2001 From: Hannes Heute Date: Tue, 26 Mar 2024 14:04:05 +0100 Subject: [PATCH 2/4] Add class to div for custom styling --- view/templates/content/image/single_with_height_allocation.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/templates/content/image/single_with_height_allocation.tpl b/view/templates/content/image/single_with_height_allocation.tpl index 60b4669e3e..9d117ab592 100644 --- a/view/templates/content/image/single_with_height_allocation.tpl +++ b/view/templates/content/image/single_with_height_allocation.tpl @@ -2,7 +2,7 @@ As a result, we need to add a wrapping element for non-flex (non-image grid) environments, mostly single-image cases. *}} {{if $allocated_max_width}} -
+
{{/if}}
From 5c7dd34fbac445f5f53201589745c36180ee5879 Mon Sep 17 00:00:00 2001 From: Hannes Heute Date: Tue, 26 Mar 2024 17:29:52 +0100 Subject: [PATCH 3/4] remove the typo fix from this PR --- src/Content/Feature.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Content/Feature.php b/src/Content/Feature.php index 282d8928fd..84a32f5ed5 100644 --- a/src/Content/Feature.php +++ b/src/Content/Feature.php @@ -107,7 +107,7 @@ class Feature DI::l10n()->t('General Features'), //array('expire', DI::l10n()->t('Content Expiration'), DI::l10n()->t('Remove old posts/comments after a period of time')), [self::PHOTO_LOCATION, DI::l10n()->t('Photo Location'), DI::l10n()->t("Photo metadata is normally stripped. This extracts the location \x28if present\x29 prior to stripping metadata and links it to a map."), false, DI::config()->get('feature_lock', self::PHOTO_LOCATION, false)], - [self::COMMUNITY, DI::l10n()->t('Display the community in the navigation'), DI::l10n()->t('If enabled, the community can be accessed via the navigation menu. Independent from this setting, the community timelines can always be accessed via the channels.'), true, DI::config()->get('feature_lock', self::COMMUNITY, false)], + [self::COMMUNITY, DI::l10n()->t('Display the community in the navigation'), DI::l10n()->t('If enabled, the community can be accessed via the navigation menu. Independant from this setting, the community timelines can always be accessed via the channels.'), true, DI::config()->get('feature_lock', self::COMMUNITY, false)], ], // Post composition From e602b16dfb2c7dc52945cc3df3d5aa5c2812dada Mon Sep 17 00:00:00 2001 From: Hannes Heute Date: Tue, 26 Mar 2024 17:33:45 +0100 Subject: [PATCH 4/4] follow naming convention --- view/templates/content/image/single_with_height_allocation.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/templates/content/image/single_with_height_allocation.tpl b/view/templates/content/image/single_with_height_allocation.tpl index 9d117ab592..c02e87d0e8 100644 --- a/view/templates/content/image/single_with_height_allocation.tpl +++ b/view/templates/content/image/single_with_height_allocation.tpl @@ -2,7 +2,7 @@ As a result, we need to add a wrapping element for non-flex (non-image grid) environments, mostly single-image cases. *}} {{if $allocated_max_width}} -
+
{{/if}}