Skip to content

Commit 5de3c6b

Browse files
committed
Fixed a couple Team bugs
1 parent b0e7b2e commit 5de3c6b

8 files changed

Lines changed: 10 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
## Unreleased
44

55
- Improved the styling of inactive users’ status indicators. ([#15195](https://github.com/craftcms/cms/issues/15195))
6+
- Fixed a bug where other author indicators weren’t shown for Craft Team.
7+
- Fixed a bug where the Recent Entries widget wasn’t showing authors’ usernames for Craft Team.
68

79
## 5.2.3 - 2024-06-20
810

src/templates/_components/widgets/RecentEntries/body.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<a href="{{ entry.getCpEditUrl() }}">{{ entry.title }}</a>
77
<span class="light">
88
{{ entry.dateCreated|timestamp('short') }}
9-
{%- if CraftEdition == CraftPro and entry.getAuthor() %}, {{ entry.getAuthor().username }}{% endif -%}
9+
{%- if CraftEdition != CraftSolo and entry.getAuthor() %}, {{ entry.getAuthor().username }}{% endif -%}
1010
</span>
1111
</li>
1212
{% endfor %}

src/web/assets/cp/dist/cp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/web/assets/cp/dist/cp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/web/assets/cp/src/js/ElementEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Craft.ElementEditor = Garnish.Base.extend(
181181
throw 'Element editors may only be used with forms.';
182182
}
183183

184-
if (this.isFullPage && Craft.edition === Craft.Pro) {
184+
if (this.isFullPage && Craft.edition !== Craft.Solo) {
185185
this.$activityContainer = this.$container.find('.activity-container');
186186
this._checkActivity();
187187
}

src/web/assets/recententries/dist/RecentEntriesWidget.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/web/assets/recententries/dist/RecentEntriesWidget.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/web/assets/recententries/src/RecentEntriesWidget.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@
3939
(entry.dateCreated ? Craft.formatDate(entry.dateCreated) : '') +
4040
(entry.dateCreated &&
4141
entry.username &&
42-
Craft.edition == Craft.Pro
42+
Craft.edition !== Craft.Solo
4343
? ', '
4444
: '') +
45-
(entry.username && Craft.edition == Craft.Pro
45+
(entry.username && Craft.edition !== Craft.Solo
4646
? entry.username
4747
: '')
4848
) +

0 commit comments

Comments
 (0)