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
25 lines
819 B
HTML
25 lines
819 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Entrar{% endblock %}
|
|
|
|
{% block main %}
|
|
<article class="card card--center">
|
|
<h1>Área de la comunidad</h1>
|
|
<p class="muted">
|
|
Este espacio es sólo para miembros de Viena Latina. Se entra con la misma
|
|
cuenta que se usa para publicar en el sitio.
|
|
</p>
|
|
<a class="btn" href="{{ url_for('auth.start', next=next) }}">Entrar</a>
|
|
{# Offered only when the server can actually complete it: without a Gitea
|
|
admin token the recovery page can do nothing but apologise. #}
|
|
{% if can_recover %}
|
|
<p class="muted small">
|
|
<a href="{{ url_for('auth.recover') }}">¿Olvidaste tu contraseña?</a>
|
|
</p>
|
|
{% endif %}
|
|
<p class="muted small">
|
|
¿No tienes cuenta? Pídesela a un administrador: las cuentas se crean a mano,
|
|
no hay registro abierto.
|
|
</p>
|
|
</article>
|
|
{% endblock %}
|