user tags
This commit is contained in:
33
views/tags_user-partial.html
Normal file
33
views/tags_user-partial.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<div class="profile-page-wrapper" style="max-width: 800px; margin: 0 auto; width: 100%; padding: 20px 10px; box-sizing: border-box;">
|
||||
<div class="profile_head" data-banner-user="{{ user.user || '' }}" style="@if(user.banner_file && user_banner_enabled) --author-banner: url('/a/{{ user.banner_file }}'); --author-banner-position: {{ user.banner_position === 'center' ? 'center top' : (user.banner_position || 'center top') }}; --author-banner-size: {{ user.banner_size || 'cover' }}; @endif">
|
||||
@if(user.avatar_file)
|
||||
<div class="profile_head_avatar">
|
||||
<img src="/a/{{ user.avatar_file }}" style="display: grid;width: 55px" />
|
||||
</div>
|
||||
@elseif(user.avatar && user.avatar > 0)
|
||||
<div class="profile_head_avatar">
|
||||
<img src="/t/{{ user.avatar }}.webp" style="display: grid;width: 55px" />
|
||||
</div>
|
||||
@endif
|
||||
<div class="layersoffear">
|
||||
<div class="profile_head_username">
|
||||
<span @if(user.username_color) style="color: {{ user.username_color }}" @endif>{{ user.user }}'s Tags</span>
|
||||
</div>
|
||||
<div class="profile_head_user_stats">
|
||||
<a href="/user/{!! user.user !!}">{{ t('profile.back_to_profile') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="user_content_wrapper" style="display: block;">
|
||||
<div class="tags-grid" id="tags-container">
|
||||
@include(tag-cards)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pagination-container-fluid" @if(typeof hidePagination !=='undefined' && hidePagination) style="display: none;" @endif>
|
||||
<div class="pagination-wrapper bottom-pagination fixed-pagination">
|
||||
@include(snippets/pagination)
|
||||
</div>
|
||||
</div>
|
||||
9
views/tags_user.html
Normal file
9
views/tags_user.html
Normal file
@@ -0,0 +1,9 @@
|
||||
@include(snippets/header)
|
||||
|
||||
<div class="pagewrapper">
|
||||
<div id="main">
|
||||
@include(tags_user-partial)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include(snippets/footer)
|
||||
@@ -105,7 +105,7 @@
|
||||
<div class="stat-joined" tooltip="{{ user.timestamp.timefull }}" data-iso="{{ user.timestamp.timefull }}">{{ t('profile.age_days', { n: user.age_days }) }}</div>
|
||||
@if(!user.is_ghost)
|
||||
<div class="stat-comments">{{ t('profile.stat_comments') }} <a href="/user/{!! user.user !!}/comments">{{ count.comments }}</a></div>
|
||||
<div class="stat-tags">{{ t('profile.stat_tags') }} {{ count.tags }}</div>
|
||||
<div class="stat-tags">{{ t('profile.stat_tags') }} <a href="/user/{!! user.user !!}/tags">{{ count.tags }}</a></div>
|
||||
@if(!user.is_ghost)
|
||||
<div class="stat-halls">{{ t('profile.stat_halls') }} <a href="/user/{!! user.user !!}/halls">{{ count.halls }}</a></div>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user