Skip to content

Self-hosted project management for devs and their clients: tickets, time tracking, docs and meetings, with an AI assistant that cites its sources. AGPL-3.0.

1.2 KB
Raw Blame
<%# locals: (meeting:, participants:) %>
<%# The participants of a meeting as chips: the meeting's page and the panel beside a ticket
    render this one row. The caller loads the participants, because the transcript below
    needs the same list for its speaker names.

    S2b (people directory): a participant whose person the viewer may see is a link to that
    person; a free name stays text. With the meeting write and view_people, a name that is
    no member's gets the action "Mit Person verknüpfen" (a linked one: "Verknüpfung ändern"),
    which loads the dialog into the frame at the end of the row. A link or an unlink redraws
    the chips (_participant_chips), never the frame. %>
<% if participants.any? %>
  <% people = meeting_participant_people(meeting, participants) %>
  <div class="mt-3 flex min-w-0 flex-wrap items-start gap-2">
    <span class="pt-0.5 text-xs font-mono uppercase tracking-wider text-cream-600">
      <%= t('views.organisations.meetings.show.participants_heading') %>
    </span>
    <%= render 'organisations/meetings/participant_chips', meeting: meeting, participants: participants, people: people %>
    <% if people.can_link %>
      <%= turbo_frame_tag participant_link_modal_id(meeting.id) %>
    <% end %>
  </div>
<% end %>