Skip to content

Commit 3dd4ef0

Browse files
committed
Adjust some pages
1 parent 2285470 commit 3dd4ef0

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

resources/lang/en/hc.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,11 @@
7373
// topic
7474
// ===================
7575
'create topic' => 'Create topic',
76+
77+
78+
79+
//
80+
// timeline
81+
// ===================
82+
'What\'s news' => 'What\'s news',
7683
];

resources/lang/zh-CN/hc.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,11 @@
7373
// topic
7474
// ===================
7575
'create topic' => '发布话题',
76+
77+
78+
79+
//
80+
// timeline
81+
// ===================
82+
'What\'s news' => '有什么新鲜事',
7683
];

resources/views/timeline/index.blade.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,12 @@
7979
</div>
8080
@endif
8181

82+
{{--
8283
<div class="mb-2 text-right">
8384
<!-- <a class="btn btn-default btn-xs"><i class="fa fa-heart" style="color:red;"></i></a> -->
8485
<a style="font-size:1rem;" class="btn btn-default btn-xs" href="#"><i class="fa fa-comment" style="color:#333"></i></a>
8586
</div>
87+
--}}
8688

8789
<div class="mb-2" style="margin-bottom:1rem !important;">
8890
{!! Form::open(array('url' => '/timeline/store-comment', 'method' => 'POST')) !!}
@@ -106,7 +108,10 @@
106108
<li class="media mb-3">
107109
<img class="media-object d-flex align-self-start mr-3" src="{{ $comment->author->avatar }}">
108110
<div class="media-body">
109-
<strong>{{ $comment->author->nickname }}: </strong>
111+
<div>
112+
<small class="float-right text-muted">{{ $comment->created_at->format('h-d H:i') }}</small>
113+
<strong>{{ $comment->author->nickname }} </strong>
114+
</div>
110115
{{ $comment->content }}
111116
</div>
112117
</li>

0 commit comments

Comments
 (0)