A member signing in has no idea what Gitea is, and for anyone this platform is ever sold to it is a competitor's name on their login page. Fourteen strings named it — a button, a logout page, an account-creation notice and eleven error messages — plus Gitea's own sign-in and authorize screens, which every member passes through. Ours are reworded: "el servidor de cuentas" where the thing has to be referred to at all, and nothing where it did not. Gitea's own screens take APP_NAME plus the two footer switches, which are supported settings rather than a patched template. APP_NAME goes in app.ini's unnamed root section, spelled DEFAULT in the environment mapping, so the docs carry a command to confirm it landed — a key written to a section that does not exist is accepted in silence. Comments, docstrings, column names and env vars keep the real name. The code has to stay honest about what it talks to, none of it reaches a browser, and renaming gitea_login would mean a migration for nothing. Two guards added, since this is the kind of thing that creeps back one error message at a time: no template renders the word outside a Jinja comment, and no string literal outside a docstring contains it. Checked against the previous commit, where they catch the one message that had already been missed by hand. Licence: MIT, no attribution-in-UI clause, and we redistribute nothing — the official image runs unmodified with its own LICENSE intact. Gitea ships the "powered by" switch itself. Reasoning recorded in §12. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NizVpJ2dwzCbjCrTLCjeHn
33 lines
1.1 KiB
HTML
33 lines
1.1 KiB
HTML
{# Shown instead of bouncing back to the login page, because bouncing back would
|
|
hide the fact that one click gets you straight in again. #}
|
|
{% extends "base.html" %}
|
|
{% block title %}Sesión cerrada{% endblock %}
|
|
|
|
{% block main %}
|
|
<article class="card card--center">
|
|
<h1>Saliste del área de la comunidad</h1>
|
|
|
|
<p class="muted">
|
|
Tu sesión aquí está cerrada. Pero este navegador <strong>sigue conectado al
|
|
servidor de cuentas</strong>, que es donde se guardan las contraseñas — así
|
|
que quien use este ordenador después podría volver a entrar sin escribirla.
|
|
</p>
|
|
|
|
<p>
|
|
<a class="btn" href="{{ gitea_url }}/user/logout">Cerrar sesión del todo</a>
|
|
</p>
|
|
|
|
<p class="muted small">
|
|
Si esa página no te desconecta, abre el menú de tu perfil
|
|
<a href="{{ gitea_url }}">ahí</a> y elige <em>Sign Out</em>.
|
|
Cerrar el navegador también sirve.
|
|
</p>
|
|
|
|
<p class="muted small">
|
|
En tu propio ordenador no hace falta: puedes volver a entrar cuando quieras.
|
|
</p>
|
|
|
|
<p><a class="linkish" href="{{ url_for('auth.login') }}">Volver a entrar</a></p>
|
|
</article>
|
|
{% endblock %}
|