media view

This commit is contained in:
Kerim 2023-03-24 11:50:21 +05:00
parent 399e111f63
commit 3304be94fc
2 changed files with 8 additions and 3 deletions

View File

@ -86,7 +86,12 @@
]
},
"config": {
"preferred-install": "dist"
"preferred-install": "dist",
"allow-plugins": {
"composer/installers": true,
"wikimedia/composer-merge-plugin": true,
"php-http/discovery": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,

View File

@ -16,9 +16,9 @@
<h4>{{post.published_at|date('d.m.Y')}}</h4>
<span>|</span>
<h4> {{post.published_at|date('H:i')}}</h4>
<span>|</span>
<!-- <span>|</span>
<img src="{{'assets/new/icons/eye.svg'|theme}}" alt="" style="width: 18px;" />
<span id="media_view_{{post.id}}">{% if post.view == null %} 0 {% else %} {{ post.view }} {% endif %}</span>
<span id="media_view_{{post.id}}">{% if post.view == null %} 0 {% else %} {{ post.view }} {% endif %}</span> -->
</div>
<p class="sub-news-left-content-item-date-content-info">
{{post.name}}