- Timestamp:
- 06/27/2026 08:10:43 AM (2 months ago)
- Branches:
- main
- Children:
- c21197a
- Parents:
- 92f6976
- Location:
- src/views
- Files:
-
- 4 edited
-
pages/post-edit.ejs (modified) (1 diff)
-
pages/post.ejs (modified) (1 diff)
-
partials/post-card.ejs (modified) (1 diff)
-
partials/post-tile.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/post-edit.ejs
r92f6976 rb7d4458 242 242 <span>🔞 <%= t('pedit.nsfw_label') %></span> 243 243 </label> 244 <input type="text" name="content_warning" value="<%= post.content_warning || '' %>" maxlength="200" 245 placeholder="<%= t('pedit.nsfw_cw_ph') %>" 246 style="width:100%;box-sizing:border-box;margin:6px 0 2px;font-size:13px;padding:7px 9px"> 244 247 <% if (typeof premiumUnlocked === 'undefined' || premiumUnlocked) { %> 245 248 <label class="pe-checkbox"> -
src/views/pages/post.ejs
r92f6976 rb7d4458 13 13 <div class="nsfw-banner"> 14 14 <span class="nsfw-banner-icon">🔞</span> 15 <span class="nsfw-banner-text"><%= t('post.nsfw_warning') %></span>15 <span class="nsfw-banner-text"><%= post.content_warning || t('post.nsfw_warning') %></span> 16 16 <button type="button" class="nsfw-banner-btn nsfw-reveal"><%= t('post.nsfw_show') %></button> 17 17 </div> -
src/views/partials/post-card.ejs
r92f6976 rb7d4458 50 50 aria-label="<%= post.title || '(zonder titel)' %>" tabindex="-1"> 51 51 <img src="<%= post.cover_image_url %>" alt="" loading="lazy" decoding="async"> 52 <% if (post.nsfw) { %><span class="nsfw-veil"><span class="nsfw-veil-label">🔞 <%= t('post.nsfw_warning') %></span><span class="nsfw-veil-btn"><%= t('post.nsfw_show') %></span></span><% } %>52 <% if (post.nsfw) { %><span class="nsfw-veil"><span class="nsfw-veil-label">🔞 <%= post.content_warning || t('post.nsfw_warning') %></span><span class="nsfw-veil-btn"><%= t('post.nsfw_show') %></span></span><% } %> 53 53 </a> 54 54 <% } %> -
src/views/partials/post-tile.ejs
r92f6976 rb7d4458 37 37 <% if (_src) { %><span class="grid-tile-gradient-src">van <%= _src %></span><% } %> 38 38 <% } %> 39 <% if (post.nsfw) { %><div class="nsfw-veil"><span class="nsfw-veil-label">🔞 <%= t('post.nsfw_warning') %></span><span class="nsfw-veil-btn"><%= t('post.nsfw_show') %></span></div><% } %>39 <% if (post.nsfw) { %><div class="nsfw-veil"><span class="nsfw-veil-label">🔞 <%= post.content_warning || t('post.nsfw_warning') %></span><span class="nsfw-veil-btn"><%= t('post.nsfw_show') %></span></div><% } %> 40 40 </a>
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)