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
<%# The training commitment as a badge. With T7 the card got a second
consumer (the switch dialog). That is the same point at which the
jurisdiction badge was extracted: a colour rule with two handwritten
copies is one copy too many.
The colours come from AiPackage::TRAINING_USAGE_BADGE_STYLES, so a new
value does not silently fall into a grey badge. Unlike the jurisdiction
case, the constant works directly for the customer side here: green, red,
grey are already the colours fit for customers (D4).
Empty value = NO badge, not a grey one. That is the self_hosted case
(and in the dialog also „Eigene Konfiguration"): there the question
does not apply, it is not unanswered. A grey badge would be a warning
about nobody.
Local: training_usage (String or nil). %>
<% if training_usage.present? %>
<span class="inline-flex items-center px-2 py-1 rounded text-xs font-bold border border-ink <%= AiPackage::TRAINING_USAGE_BADGE_STYLES[training_usage] %>">
<%= t("views.organisations.ai_settings.packages.training_usages.#{training_usage}") %>
</span>
<% end %>