Skip to content

Commit

Permalink
Display MeetingConfig.usingGroups field on MeetingConfig view hom…
Browse files Browse the repository at this point in the history
…e page under `Groups and users` to identify easily a MeetingConfig using this parameter.
  • Loading branch information
gbastien committed Apr 4, 2024
1 parent 921e829 commit 46990f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ Changelog
- Avoid vocabulary `AskedAdvicesVocabulary` being empty when cached because
`MeetingConfig` could not be obtained.
[gbastien]
- Display `MeetingConfig.usingGroups` field on `MeetingConfig` view home page
under `Groups and users` to identify easily a MeetingConfig using this parameter.
[gbastien]

4.2.9rc5 (2024-03-14)
---------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,17 @@
</tal:customFields>

<div class="configActions">
<table tal:condition="isManager">
<table tal:condition="isManager" class="discreet">
<tr valign="top">
<td>
<tal:comment replace="nothing">Display groups and users linked to this MeetingConfig</tal:comment>
<fieldset>
<legend i18n:translate="" i18n:domain="collective.contact.plonegroup">Groups and users</legend>
<p i18n:translate="meetingconfig_display_groups_and_users_descr" class='pageNameDescr'></p>
<tal:groupsAndUsers tal:replace="structure context/displayGroupsAndUsers" />
<tal:groupsAndUsers tal:replace="structure python: context.displayGroupsAndUsers()" />
<span tal:define="field python:here.getField('usingGroups')">
<metal:block use-macro="here/widgets/field/macros/view" />
</span>
</fieldset>
</td>
<td tal:condition="isRealManager" style="padding-left: 0.75em;">
Expand Down

0 comments on commit 46990f9

Please sign in to comment.