Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
c4e02e7c
Commit
c4e02e7c
authored
Sep 22, 2014
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding the user first last name to the sidebars
parent
9ce90265
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
7 deletions
+17
-7
sidebar-nav.blade.php
Resources/views/partials/sidebar-nav.blade.php
+6
-2
top-nav.blade.php
Resources/views/partials/top-nav.blade.php
+11
-5
No files found.
Resources/views/partials/sidebar-nav.blade.php
View file @
c4e02e7c
...
...
@@ -5,10 +5,14 @@
<!-- Sidebar user panel -->
<div
class=
"user-panel"
>
<div
class=
"pull-left image"
>
<img
src=
"
#
"
class=
"img-circle"
alt=
"User Image"
/>
<img
src=
"
{{ $user->present()->gravatar() }}
"
class=
"img-circle"
alt=
"User Image"
/>
</div>
<div
class=
"pull-left info"
>
<?php
if
(
$user
->
present
()
->
fullname
()
!=
' '
)
:
?>
<p>
<?=
$user
->
present
()
->
fullname
();
?>
</p>
<?php
else
:
?>
<p><em>
Complete your profile.
</em></p>
<?php
endif
;
?>
<a
href=
"#"
><i
class=
"fa fa-circle text-success"
></i>
Online
</a>
</div>
...
...
Resources/views/partials/top-nav.blade.php
View file @
c4e02e7c
...
...
@@ -14,18 +14,24 @@
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
<i
class=
"glyphicon glyphicon-user"
></i>
<span>
<?php
if
(
$user
->
present
()
->
fullname
()
!=
' '
)
:
?>
<?=
$user
->
present
()
->
fullName
();
?>
<?php
else
:
?>
<em>
Complete your profile.
</em>
<?php
endif
;
?>
<i
class=
"caret"
></i>
</span>
</a>
<ul
class=
"dropdown-menu"
>
<!-- User image -->
<li
class=
"user-header bg-light-blue"
>
<img
src=
""
class=
"img-circle"
alt=
"User Image"
/>
<img
src=
"
{{ $user->present()->gravatar() }}
"
class=
"img-circle"
alt=
"User Image"
/>
<p>
<?php
if
(
$user
->
present
()
->
fullname
()
!=
' '
)
:
?>
<?=
$user
->
present
()
->
fullname
();
?>
<?php
else
:
?>
<em>
Complete your profile.
</em>
<
small>
Member since Nov. 2012
</small
>
<
?php
endif
;
?
>
</p>
</li>
<!-- Menu Footer-->
...
...
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