Changeset b9beb16 in Klonkt for src/views/pages/paid-result.ejs


Ignore:
Timestamp:
07/21/2026 03:29:56 AM (7 weeks ago)
Author:
Robin <roboburr@…>
Branches:
main
Children:
4590e66
Parents:
072a242
git-author:
Robin <roboburr@…> (07/21/2026 03:29:53 AM)
git-committer:
Robin <roboburr@…> (07/21/2026 03:29:56 AM)
Message:

Cleanup: remove the on-screen patron diagnose line (bug found + fixed)

The visible "diagnose:" line on the "Nog geen supporter" page was a temporary
aid to debug boiert.eu blind; it did its job (a wrong campaign_id, now
auto-derived). Drop it from the page. The non-identifying server-side
console.warn in verifyPatron stays as ordinary owner diagnostics.

Changed files:
src/routes/paid.js

  • stop passing debug to the result page

src/views/pages/paid-result.ejs

  • remove the diagnose line + its style

-robo
Co-Authored-By: Claude Opus 4.8 <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/paid-result.ejs

    r072a242 rb9beb16  
    3434      <% } %>
    3535    </div>
    36 
    37     <% if (typeof debug !== 'undefined' && debug) { %>
    38       <p class="pr-diag">diagnose: <code><%= debug %></code></p>
    39     <% } %>
    4036  </div>
    4137</section>
     
    5046  .pr-btn { display: inline-block; padding: 11px 20px; border-radius: 10px; background: var(--accent,#6b8f71); color: #fff; text-decoration: none; font-weight: 600; }
    5147  .pr-btn-ghost { background: transparent; color: var(--ink,#222); border: 1px solid color-mix(in srgb, var(--ink,#000) 22%, transparent); }
    52   .pr-diag { margin: 18px 0 0; font-size: 12px; opacity: .6; word-break: break-all; }
    53   .pr-diag code { font-family: ui-monospace, monospace; }
    5448</style>
Note: See TracChangeset for help on using the changeset viewer.