{content}
{if $article->isDeleted}<span class="badge label red contentItemBadge contentItemBadgeIsDeleted">{lang}wcf.message.status.deleted{/lang}</span>{/if}
{if ARTICLE_ENABLE_VISIT_TRACKING && $article->isNew()}<span class="badge label contentItemBadge contentItemBadgeNew">{lang}wcf.message.new{/lang}</span>{/if}
+
+ {event name='contentItemBadges'}
{/content}
</div>
{/hascontent}
<div class="contentItemMetaContent">
<div class="contentItemMetaAuthor">
{if $article->userID}
- <a href="{$article->getUserProfile()->getLink()}">{$article->getUserProfile()->username}</a>
+ <a href="{$article->getUserProfile()->getLink()}" class="userLink" data-user-id="{@$article->userID}">{$article->getUserProfile()->username}</a>
{else}
{$article->username}
{/if}
flex-direction: column;
margin-bottom: 20px;
max-width: calc(50% - 10px); /* IE 11 */
+ position: relative;
overflow: hidden;
}
position: relative;
}
-.contentItemBadges {
+.contentItemBadges,
+.contentItemOptions {
align-items: flex-start;
display: flex;
flex-direction: column;
- left: 10px;
position: absolute;
top: 10px;
}
-.contentItemBadge {
- border: 1px solid currentColor;
+.contentItemBadges {
+ left: 10px;
+}
+
+.contentItemOptions {
+ right: 10px;
+ z-index: 1;
+}
+
+.contentItemBadge,
+.contentItemOption {
flex: 0 auto;
&:not(:first-child) {
}
}
+.contentItemBadge {
+ border: 1px solid currentColor;
+}
+
.contentItemLabels {
margin-bottom: 5px;
}
margin-top: 10px;
}
+.contentItemContentLinks {
+ padding: 0 10px 10px 10px;
+}
+
.contentItemMeta {
align-items: center;
border-top: 1px solid $wcfContentBorderInner;