Changeset 8ad1784 in Klonkt for src/views/pages/authorize-interaction.ejs
- Timestamp:
- 06/25/2026 09:08:20 PM (3 months ago)
- Branches:
- main
- Children:
- 7c62efb
- Parents:
- 4c12783
- File:
-
- 1 edited
-
src/views/pages/authorize-interaction.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/authorize-interaction.ejs
r4c12783 r8ad1784 27 27 <a class="btn btn-primary" href="/"><%= t('fedi.remote_back') %></a> 28 28 </p> 29 <% } else if (typeof followed !== 'undefined' && followed) { %> 30 <h1 class="auth-interact-title"><%= t('fedi.followed_title') %></h1> 31 <p class="auth-interact-note"><%= t('fedi.followed_done') %></p> 32 <p class="auth-interact-actions"> 33 <% if (uri) { %><a class="btn" href="<%= uri %>" rel="nofollow noopener"><%= t('fedi.view_profile') %></a><% } %> 34 <a class="btn btn-primary" href="/"><%= t('fedi.remote_back') %></a> 35 </p> 29 36 <% } else if (typeof sent !== 'undefined' && sent) { %> 30 37 <h1 class="auth-interact-title"><%= t('fedi.remote_sent_title') %></h1> … … 34 41 <a class="btn btn-primary" href="/"><%= t('fedi.remote_back') %></a> 35 42 </p> 43 <% } else if (typeof followTarget !== 'undefined' && followTarget) { %> 44 <h1 class="auth-interact-title"><%= t('fedi.follow_heading') %></h1> 45 <p class="auth-interact-meta"> 46 <%= t('fedi.follow_intro') %> 47 <a href="<%= followTarget.actor_url %>" rel="nofollow noopener" target="_blank"><strong><%= followTarget.actor_name %></strong></a> 48 <span class="fedi-handle"><%= followTarget.actor_handle %></span> 49 </p> 50 <form method="post" action="/authorize_interaction/follow" class="auth-interact-form"> 51 <input type="hidden" name="uri" value="<%= followTarget.actor_uri %>"> 52 <div class="auth-interact-actions"> 53 <button type="submit" class="btn btn-primary"><%= t('fedi.follow_btn') %></button> 54 <a href="/" class="btn"><%= t('comments.cancel') %></a> 55 </div> 56 </form> 57 <p class="auth-interact-note"><%= t('fedi.remote_as', { site: siteTitle }) %></p> 36 58 <% } else { %> 37 59 <h1 class="auth-interact-title"><%= t('fedi.remote_title') %></h1>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)