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.
Ruby agplai-assistantdockerdsgvogdprhotwireissue-trackerjira-alternativeknowledge-basellmmcp-servermeeting-notesopen-sourceproject-managementredmine-alternativeruby-on-railsself-hostedticketingtime-tracking
<%# locals: (term:, lane:) %>
<%# Confirm and reject (E5): "Bestätigen" unless confirmed, "Verwerfen"
unless rejected. From the lane the term stays open (term_id sent along),
from the list the list stays as it was. Each button names its term for a
screen reader: in the list, several stand one below the other. %>
<% term_name = t('views.organisations.glossary.quoted', text: term.term) %>
<% params_kept = list_state.merge(lane ? { 'term_id' => term.id } : {}) %>
<%# Class names written out: Tailwind keeps only component classes it finds whole in a template. %>
<div class="<%= lane ? 'glossary-status-actions glossary-status-actions--lane' : 'glossary-status-actions' %>">
<% unless term.confirmed? %>
<%= render Neo::Buttons::ButtonComponent.new(
variant: :secondary, size: :small, icon: 'check-lg',
form: { action: confirm_organisation_glossary_term_path(@current_organisation, term), method: :patch,
params: params_kept, data: { turbo_frame: '_top' } }
) do %>
<%= t('views.organisations.glossary.show.confirm') %><span class="sr-only"> <%= term_name %></span>
<% end %>
<% end %>
<% unless term.rejected? %>
<%= render Neo::Buttons::ButtonComponent.new(
variant: :secondary, size: :small, icon: 'x-lg',
form: { action: reject_organisation_glossary_term_path(@current_organisation, term), method: :patch,
params: params_kept, data: { turbo_frame: '_top' } }
) do %>
<%= t('views.organisations.glossary.show.reject') %><span class="sr-only"> <%= term_name %></span>
<% end %>
<% end %>
</div>