Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
webprofile-jwg2024
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Siti Aisah
webprofile-jwg2024
Commits
0958ab60
Commit
0958ab60
authored
Jul 12, 2023
by
Siti Aisah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setting post view
parent
88e7809a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
database/seeds/SettingsTableSeeder.php
+10
-0
resources/views/webprofile/front/jollyany/post.blade.php
+2
-0
No files found.
database/seeds/SettingsTableSeeder.php
View file @
0958ab60
...
...
@@ -168,5 +168,15 @@ class SettingsTableSeeder extends Seeder
'userid_created'
=>
'Aan Choesni Herlingga'
,
'userid_updated'
=>
'Aan Choesni Herlingga'
,
]);
// POST VIEWER
DB
::
table
(
'swp_settings'
)
->
insert
([
'id'
=>
Str
::
uuid
()
->
toString
(),
'show_name_setting'
=>
'POST VIEWER'
,
'name_setting'
=>
'post_views'
,
'value_setting'
=>
'1'
,
'userid_created'
=>
'Aan Choesni Herlingga'
,
'userid_updated'
=>
'Aan Choesni Herlingga'
,
]);
}
}
resources/views/webprofile/front/jollyany/post.blade.php
View file @
0958ab60
...
...
@@ -37,7 +37,9 @@
<div class="
blog
-
carousel
-
meta
">
<span><i class="
fa
fa
-
calendar
"></i>
<time title="
{
!!
$data
->
post_data
!!
}
" datetime="
{
!!
$data
->
post_data
!!
}
">{!! InseoHelper::tglbulanindo2(
$data->post_date
) !!}</time> - kategori <a href="
#">{!! $data->rCategory->name !!}</a></span>
@
if
(
!
isset
(
$setting
[
'post_views'
])
||
$setting
[
'post_views'
]
==
1
)
<
span
><
i
class
="
fa
fa
-
eye
"></i> <a href="
#">{!! $data->viewer !!} Views</a></span>
@
endif
{{
--
<
span
><
i
class
="
fa
fa
-
user
"></i> <a href="
#">Redaksi</a></span> --}}
</
div
><!--
end
blog
-
carousel
-
meta
-->
</
div
><!--
end
blog
-
carousel
-
header
-->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment