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
<%# "KI ist nicht aktiviert" — the one box, for every page of the AI area
(doc/ki_bereich_navigation_plan.md §3.2, "zwei Gesichter").
It stood twice before this partial existed, in ai_overviews/show and ai_usages/show,
with the same markup, the same heading, the same button and two bodies that differed
only in what each page happened to be about. The setup screen of S7 was the third
occurrence, and the third is the point at which CLAUDE.md says to stop copying — so
the box now has ONE string set rather than one per page.
What that cost, stated rather than hidden: the two page-specific sentences ("die
Karten unten bleiben sichtbar", "es entsteht kein Verbrauch") are gone. The body says
what is true on all three pages instead — nothing is transferred, and the area can
still be set up. A local sentence would have to come back as a `body:` local, and
that is the same two-copy arrangement under a different name.
No locals: the link always points at the OVERVIEW, because that is where the switch
is (doc/ki_zugang_umbau_plan.md D1/D4 — it used to point at "Zugang", for the same
reason, back when the switch lived there). The overview does not render this box at
all: it carries the switch itself. "Zugang" does not render it either — it shows a
one-line status instead (D5), since the access can be prepared while AI is off. %>
<div class="max-w-4xl rounded-lg border border-amber-300 bg-amber-50 p-5">
<h3 class="text-sm font-bold text-amber-900">
<i class="bi bi-exclamation-triangle mr-2"></i>
<%= t('views.organisations.ai_overview.disabled_notice.title') %>
</h3>
<p class="mt-2 max-w-3xl text-sm text-amber-900">
<%= t('views.organisations.ai_overview.disabled_notice.body') %>
</p>
<div class="mt-4">
<%= link_to organisation_ai_overview_path(current_organisation),
class: 'inline-flex items-center rounded-md border-2 border-ink bg-white px-4 py-2 text-sm font-bold text-cream-900 shadow-[3px_3px_0_0_#000000] transition-transform hover:-translate-y-0.5' do %>
<i class="bi bi-toggle-on mr-2"></i><%= t('views.organisations.ai_overview.disabled_notice.action') %>
<% end %>
</div>
</div>