From b7915cc7b003dc5cc44ce4e0cc835e41327955c9 Mon Sep 17 00:00:00 2001 From: qianmengnet Date: Mon, 26 Nov 2018 08:47:49 +0800 Subject: [PATCH] Add anchor link to "Created Content" on the "View Profile" Add 3 anchor link to "Created Content" on the "View Profile" page and click to jump to the page section --- resources/views/users/profile.blade.php | 30 +++++++++++++++---------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/resources/views/users/profile.blade.php b/resources/views/users/profile.blade.php index bd63ce938..c4a8f6323 100644 --- a/resources/views/users/profile.blade.php +++ b/resources/views/users/profile.blade.php @@ -37,21 +37,27 @@
{{ trans('entities.profile_created_content') }}
-
- @icon('book') {{ trans_choice('entities.x_books', $assetCounts['books']) }} -
-
- @icon('chapter') {{ trans_choice('entities.x_chapters', $assetCounts['chapters']) }} -
-
- @icon('page') {{ trans_choice('entities.x_pages', $assetCounts['pages']) }} -
+ +
+ @icon('book') {{ trans_choice('entities.x_books', $assetCounts['books']) }} +
+
+ +
+ @icon('chapter') {{ trans_choice('entities.x_chapters', $assetCounts['chapters']) }} +
+
+ +
+ @icon('page') {{ trans_choice('entities.x_pages', $assetCounts['pages']) }} +
+

- +

{{ trans('entities.recently_created_pages') }}

@if (count($recentlyCreated['pages']) > 0) @include('partials/entity-list', ['entities' => $recentlyCreated['pages']]) @@ -60,7 +66,7 @@ @endif
- +

{{ trans('entities.recently_created_chapters') }}

@if (count($recentlyCreated['chapters']) > 0) @include('partials/entity-list', ['entities' => $recentlyCreated['chapters']]) @@ -69,7 +75,7 @@ @endif
- +

{{ trans('entities.recently_created_books') }}

@if (count($recentlyCreated['books']) > 0) @include('partials/entity-list', ['entities' => $recentlyCreated['books']])