Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
2
2018_web_app
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
inutralia
2018_web_app
Commits
59ab4bc4
Commit
59ab4bc4
authored
Dec 05, 2018
by
David Villalba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Añado el name en la Home, no sale ya que esta por defecto vacio en el WS
parent
d7fcdfe3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
index.php
fuel/app/classes/controller/login/index.php
+2
-0
index.twig
fuel/app/views/dashboard/index.twig
+1
-1
No files found.
fuel/app/classes/controller/login/index.php
View file @
59ab4bc4
...
...
@@ -67,6 +67,8 @@ class Controller_Login_Index extends Controller
if
(
!
isset
(
$return
[
'status'
])){
\Session
::
set_flash
(
'name'
,
current
(
$return
)
->
name
);
Response
::
redirect
(
'/dashboard'
);
return
null
;
...
...
fuel/app/views/dashboard/index.twig
View file @
59ab4bc4
...
...
@@ -64,7 +64,7 @@
</div>
</a>
<div
class=
"logout-home-position mt-logout-home"
>
<h2
class=
"text-welcome-home"
>
Bienvenid@
Gema
</h2>
<h2
class=
"text-welcome-home"
>
Bienvenid@
{{
session_get
(
'name'
)
}}
</h2>
<a
href=
"auth/logout"
class=
"btn btn-custom btn-other"
>
Cerrar Sesión
<i
class=
"fa fa-sign-out"
></i>
</a>
</div>
</div>
...
...
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