- Timestamp:
- 06/16/2026 06:58:03 AM (3 months ago)
- Branches:
- main
- Children:
- 2c246d4
- Parents:
- eef691e
- Location:
- src/views
- Files:
-
- 4 edited
-
pages/admin-settings.ejs (modified) (1 diff)
-
pages/user.ejs (modified) (1 diff)
-
partials/bottom-tab.ejs (modified) (1 diff)
-
partials/topnav.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/admin-settings.ejs
reef691e r8aa85d0 44 44 <section class="set-card" style="margin-top:1rem"> 45 45 <h2>Premium (Patreon)</h2> 46 <p class="set-help">Ontgrendel de premium-modules (Hub-modus, Statistieken, Fan-login) 47 met je <strong>$10-lifetime</strong> Patreon-steun. De app en alle updates blijven gratis.</p> 46 <p class="set-help">Ontgrendel de premium-modules (Hub-modus, Statistieken, Fan-login, 47 Prutter-DMs) met je <strong>$10-lifetime</strong> Patreon-steun. De app en alle updates 48 blijven gratis.</p> 48 49 <% if (premium.premium) { %> 49 50 <p class="set-help"><strong>✓ Premium actief.</strong> -
src/views/pages/user.ejs
reef691e r8aa85d0 27 27 <% } %> 28 28 </p> 29 <% if (user && user.id !== author.id && site && site.enable_prutter ) { %>29 <% if (user && user.id !== author.id && site && site.enable_prutter && (typeof tenancy !== 'undefined' && tenancy === 'hub') && (typeof premiumUnlocked === 'undefined' || premiumUnlocked)) { %> 30 30 <p class="user-actions"> 31 31 <a href="<%= siteUrlBase %>/prutter/new?to=<%= encodeURIComponent(author.username) %>" class="btn btn-primary">💬 Send DM</a> -
src/views/partials/bottom-tab.ejs
reef691e r8aa85d0 13 13 const _canPost = !!(user && (typeof canMutate === 'undefined' || canMutate) 14 14 && permissions && permissions.canCreatePost && permissions.canCreatePost(user, site)); 15 const _hasPrutter = !!(user && site && site.enable_prutter && (typeof tenancy !== 'undefined' && tenancy === 'hub') );15 const _hasPrutter = !!(user && site && site.enable_prutter && (typeof tenancy !== 'undefined' && tenancy === 'hub') && (typeof premiumUnlocked === 'undefined' || premiumUnlocked)); 16 16 const _ownProfile = user ? ('/users/' + user.username) : null; 17 17 -
src/views/partials/topnav.ejs
reef691e r8aa85d0 15 15 const _isAdmin = typeof bodyClass !== 'undefined' && bodyClass.indexOf('on-admin') >= 0; 16 16 const _hasSearch = !site || site.show_search === undefined || site.show_search; 17 const _hasPrutter = user && site && site.enable_prutter && (typeof tenancy !== 'undefined' && tenancy === 'hub') ;17 const _hasPrutter = user && site && site.enable_prutter && (typeof tenancy !== 'undefined' && tenancy === 'hub') && (typeof premiumUnlocked === 'undefined' || premiumUnlocked); 18 18 const _canPost = user && (typeof canMutate === 'undefined' || canMutate) 19 19 && permissions && permissions.canCreatePost && permissions.canCreatePost(user, site);
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)