Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
52759a3c
authored
Jun 05, 2017
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fixed issue
#259
parent
915cf83f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
sails/src/api/controllers/SupervisorController.js
sails/src/assets/scripts/modules/student/views/header.html
sails/src/api/controllers/SupervisorController.js
View file @
52759a3c
...
...
@@ -337,7 +337,7 @@ module.exports = {
phone
:
params
.
phone
||
''
,
lang
:
params
.
lang
||
'es-es'
,
};
if
(
params
.
id_off
)
if
(
params
.
id_off
&&
params
.
role
==
'therapist_office'
)
supData
.
id_off
=
params
.
id_off
;
console
.
log
(
JSON
.
stringify
(
supData
));
...
...
sails/src/assets/scripts/modules/student/views/header.html
View file @
52759a3c
...
...
@@ -20,7 +20,7 @@
</div>
</div>
<div
class=
"col-md-9"
>
<div
style=
"margin-left: 5px"
><h4>
{{studentData.name}} {{studentData.surname}}
ID: {{studentData.supervision}}
</h4></div>
<div
style=
"margin-left: 5px"
><h4>
{{studentData.name}} {{studentData.surname}}
</h4></div>
<div
style=
"margin-left: 5px"
class=
"text-left"
>
<span>
{{studentData.current_instruction | translate}}
</span><br/>
<span
class=
"text-muted"
>
({{studentData.current_method | translate}})
</span>
...
...
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